NRPE check_yum works, then eventually times out

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
belvdr
Posts: 81
Joined: Tue Oct 08, 2013 9:17 pm

NRPE check_yum works, then eventually times out

Post by belvdr »

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?
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

Post by slansing »

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?
Locked