Problem with check_nrpe



I’ve got Nagios up and running well, except I’m having problems with the check_nrpe command.

I have a command set up to send the following:

check_nrpe -H $HOSTADDRESS$ - c checkEventLog -a filter=new file=application MaxWarn=1 MaxCrit=1 filter=in filter-generated=>1d filter+eventID==34113

If I execute this command directly from the shell it returns the expected result.

However, within Nagios it always reports the state as WARNING and the Status Information is always (null).

Any ideas?