Nagios Server: CentOS 6.4 (64-bit) running a manual install of 2012R2.4 then upgraded to Nagios 2012R2.5 with the latest OS updates
Target Servers: CentOS 6.4 (64-bit) running the Nagios 2012R2.4 NRPE agent with the latest OS updates
I have configured the NRPE check_yum service and all installed well. Suddenly, it times out for this service, but other NRPE services (check_disk, check_load, etc) work fine. It times out from the Nagios server as well as from the target server connecting over localhost.
The only fix I have found is to run /usr/local/nagios/libexec/check_yum interactively (running through crond does not suffice). After running from an interactive shell, NRPE check_yum works again.
Restarting xinetd does not correct the issue nor does running check_yum on the target server from crond.
Anyone experiencing this?
NRPE check_yum works, then eventually times out
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: NRPE check_yum works, then eventually times out
By running through crond I think you mean checking from the nagios XI ui??
So running the command manually from the command line returns the expected output, but checking through the interface results in a time-out? Is this every time or after a while? Are you able to check other server's yum update status without timing out?
So running the command manually from the command line returns the expected output, but checking through the interface results in a time-out? Is this every time or after a while? Are you able to check other server's yum update status without timing out?