Page 1 of 1

Where are the NRPE logs?

Posted: Tue Sep 03, 2013 5:45 am
by yashgt
I am using NRPE plugin to monitor a remote host. Nagios shows (Return code of 127 is out of bounds - plugin may be missing) .

The command that NRPE sends, works fine on the command prompt.
../libexec/check_nrpe -H myhost -t 30 -c check_load -a 0.10 2
gives the correct output.

I would like to see what exactly reaches the NRPE daemon on the remote host.

There is no /var/log/messages. Also /var/log/syslog does not have any messages from NRPE.
In nrpe.cfg we have:
log_facility=daemon
debug=1

Where do I find the logs on the remote host?

Thanks,
Yash

Re: Where are the NRPE logs?

Posted: Tue Sep 03, 2013 9:36 am
by slansing
They are usually in the remote host's system log. But you will not get much more information than what you have already received which is giving you a nudge to go look at the plugin that check is using, and make sure it has correct permissions and is in the correct location.