Service Check Timeout

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
chrisbooth
Posts: 43
Joined: Thu Dec 01, 2016 10:09 am

Service Check Timeout

Post by chrisbooth »

Is there a way to change the timeout to say 90 seconds for only a few services rather than system wide.

(Service check timed out after 60.01 seconds)

i'm getting the above for a couple of checks
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Service Check Timeout

Post by bwallace »

Please let us know which plugin you are using to make this check - most plugins have a 'timeout' argument that can be set - '-t 120' or similar, it may be as simple as adding that to the end of your check. We need to know the plugin name to tell you for certain.

You can check this from the CLI by accessing the plugin's help page by using '--help' like so
First navigate to/usr/local/nagios/libexec
then run --h against the plugin in question. I'll use check_nrpe as an example.

[root@XIcent7 libexec]#./check_nrpe --help

*Also, consider the global timeout will always override the timeout settings for a plugin.
Be sure to check out the Knowledgebase for helpful articles and solutions!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Service Check Timeout

Post by tmcdonald »

Just checking in since we have not heard from you in a while. Did @bwallace's post clear things up or has the issue otherwise been resolved?
Former Nagios employee
Locked