Hi Team,
We have got a shell script configured on Linux box having a query which checks for count of records in a DB table as per some given condition. The query takes more than 2 mins to return response when we ran it in DB2 console.
The response from the script is then feed to Nagios so that it can show the the status of response i.e. say if the count is less than 100, show OK, if the count is 100<count<1000, show Warning, if count>2000, show critical.
It appears that Nagios service doesn't wait for 2 mins or more for script to respond. It started showing us Critical status after 3 attempts stating 'no response'.
May I know if we can configure a service at Nagios (URL probably) to wait it for some given time so that it can receive the script output?
Regards,
Sumit Sharma
Service Time out
Re: Service Time out
NRDP does exactly this, it's a web services interface for Nagios that you can use to submit passive check input... and it waits for an indefinite amount of time 
http://exchange.nagios.org/directory/Ad ... or/details
Alternatively you can use NSCA it's harder to set up but it is more secure if that's a concern.
http://exchange.nagios.org/directory/Ad ... or/details
Alternatively you can use NSCA it's harder to set up but it is more secure if that's a concern.
Re: Service Time out
Thanks jsmurphy.
I will read the link and other online details available on this.
Regards,
Sumit Sharma
I will read the link and other online details available on this.
Regards,
Sumit Sharma
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Service Time out
Let us know if you need help!