Service Time out
Posted: Mon Sep 02, 2013 7:01 am
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
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