plugin timeout
Posted: Wed Sep 28, 2016 11:01 am
Hi all
I´m using nagiosgraph to view response time of my service checks.
We are using a web browser plugin developed internally in shell script and links.
When this plugin takes too long to terminate, nagios kills it and give me a "Service check timed out after 50.01 seconds" message.
In this situation i can´t receive performance data values and the graph in nagiosgraph got no point on this time.
I tried to solve this problem inside bash script:
i ran the links browser in background and control the timeout in a while loop. If the ackgroung process can´t finish, i kill it and return to nagios the time taken with a timeout message and a exit contition for CRITICAL (2).
But the Nagios can´t survive to this plugin. After some time it´s running, the nagios core stops to proccess results, including the received by nsca.
I can´t see nothing special on nagios logs.
Anyone got some similar behavior?
Anyone can help me with this situation?
Thanks in advance
PS: Sorry my poor english.
I´m using nagiosgraph to view response time of my service checks.
We are using a web browser plugin developed internally in shell script and links.
When this plugin takes too long to terminate, nagios kills it and give me a "Service check timed out after 50.01 seconds" message.
In this situation i can´t receive performance data values and the graph in nagiosgraph got no point on this time.
I tried to solve this problem inside bash script:
i ran the links browser in background and control the timeout in a while loop. If the ackgroung process can´t finish, i kill it and return to nagios the time taken with a timeout message and a exit contition for CRITICAL (2).
But the Nagios can´t survive to this plugin. After some time it´s running, the nagios core stops to proccess results, including the received by nsca.
I can´t see nothing special on nagios logs.
Anyone got some similar behavior?
Anyone can help me with this situation?
Thanks in advance
PS: Sorry my poor english.