Page 1 of 1
Yum Update Service check timed out after 60.01 Oracle Linux
Posted: Tue Oct 14, 2014 1:41 pm
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.
Re: Yum Update Service check timed out after 60.01 Oracle Li
Posted: Tue Oct 14, 2014 2:20 pm
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.
Re: Yum Update Service check timed out after 60.01 Oracle Li
Posted: Tue Oct 14, 2014 2:51 pm
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?
Re: Yum Update Service check timed out after 60.01 Oracle Li
Posted: Tue Oct 14, 2014 3:31 pm
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.
Re: Yum Update Service check timed out after 60.01 Oracle Li
Posted: Tue Oct 14, 2014 3:41 pm
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.
Re: Yum Update Service check timed out after 60.01 Oracle Li
Posted: Tue Oct 14, 2014 4:51 pm
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!
Re: Yum Update Service check timed out after 60.01 Oracle Li
Posted: Tue Oct 14, 2014 10:31 pm
by tmcdonald
Awesome! I'll go ahead and close this now, but feel free to open another if you need to.