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.
Yum Update Service check timed out after 60.01 Oracle Linux
-
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
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
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.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.
Can you tell me what I need to change specifically?
Re: Yum Update Service check timed out after 60.01 Oracle Li
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.
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
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
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!
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
Awesome! I'll go ahead and close this now, but feel free to open another if you need to.
Former Nagios employee