Yum Update Service check timed out after 60.01 Oracle Linux

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vendor-support
Posts: 9
Joined: Thu Feb 13, 2014 6:00 pm
Location: Los Angeles
Contact:

Yum Update Service check timed out after 60.01 Oracle Linux

Post by vendor-support »

I need some help with the above error on our Oracle Linux servers (OEL5 and 6) using the latest Nagios XI version (2014R1.5). Following the troubleshooting docs, I have adjusted the nrpe timeout to 300 seconds, but I still get the same error:

Yum Updates Critical (Service check timed out after 60.01 seconds)

I don't understand why the increased timeout value isn't helping and not sure where to go from here.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Yum Update Service check timed out after 60.01 Oracle Li

Post by tmcdonald »

You'll need to adjust the timeouts on the check_nrpe that gets run by your Nagios server, as well as the yum check plugin being run on the remote machine.
Former Nagios employee
vendor-support
Posts: 9
Joined: Thu Feb 13, 2014 6:00 pm
Location: Los Angeles
Contact:

Re: Yum Update Service check timed out after 60.01 Oracle Li

Post by vendor-support »

tmcdonald wrote:You'll need to adjust the timeouts on the check_nrpe that gets run by your Nagios server, as well as the yum check plugin being run on the remote machine.
Hi thanks for the response, but I don't understand what I need to change. I already increased the timeout for the check_nrpe command on the nagios server... By default it's 30 seconds which would timeout on all our linux servers, but when I changed it, everything worked except for the Oracle. I tried to edit check_nrpe but it's garbled like a binary.

Can you tell me what I need to change specifically?
jwelch
Posts: 225
Joined: Wed Sep 05, 2012 12:49 pm

Re: Yum Update Service check timed out after 60.01 Oracle Li

Post by jwelch »

What does the commandline for this check look like when it's run?
check_nrpe has an optional timeout parameter, but what plugin is being run
on the client side? If it has a timeout parameter you might have to pass that along
as part of the command to be run.
I see one plugin on Nagios Exchange called check_yum. It does support a timeout
using '-t <seconds>' or '--timeout=<seconds>'.
I guess you would use -t 300 in this case to match the check_nrpe setting.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Yum Update Service check timed out after 60.01 Oracle Li

Post by tmcdonald »

To add on to jwelch's post, the -t option will either need to be passed along with the check_nrpe command (if you have arguments allowed) or changed on the remote host itself in the nrpe.cfg file.
Former Nagios employee
vendor-support
Posts: 9
Joined: Thu Feb 13, 2014 6:00 pm
Location: Los Angeles
Contact:

Re: Yum Update Service check timed out after 60.01 Oracle Li

Post by vendor-support »

Ok got it, thanks for the help!

To update... The Nagios side was fine, I had to change the timeout in nrpe.cfg on the hosts I wanted to monitor.

Thanks again!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Yum Update Service check timed out after 60.01 Oracle Li

Post by tmcdonald »

Awesome! I'll go ahead and close this now, but feel free to open another if you need to.
Former Nagios employee
Locked