Hi
Some more points: Does the user nagios have rights to nrpe binary and config file? Check nrpe.cfg for nrpe_user=nagios and nrpe_group=nagios.
To activate logging: As default, nrpe log to syslog BUT you have to add daemon.debug to /etc/rsyslog.conf : **.info;mail.none;authpriv.none;cron.none;daemon.debug /var/log/messages* And set debug=1 in nrpe.cfg service rsyslog restart service nrpe restart
Regards, Eric
2015-05-03 6:37 GMT+02:00 Jonathan Billings billings@negate.org:
On Sat, May 02, 2015 at 06:26:47PM -0400, Tim Dunphy wrote:
Not just /var/log/messages. Doesn't nrpe have a log file? Maybe even secure.
Hmmm I don't find any log specific to nrpe. In other words I don't see /var/log/nrpe.log or whatever. :)
And when I tail -f /var/log/secure or /var/log/messages I don't see any entries turning up in them when I hit the client with check_nrpe. I was checking the logs on the client itself.
Are xinetd log entries written when you connect from localhost?
Jonathan Billings billings@negate.org _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos