Where are the NRPE logs?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
yashgt
Posts: 6
Joined: Sat Sep 01, 2012 12:37 am

Where are the NRPE logs?

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Where are the NRPE logs?

Post 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.
Locked