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
Where are the NRPE logs?
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Where are the NRPE logs?
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.