Check Successful in Testing But Not Live
Posted: Mon Nov 21, 2016 2:36 pm
When I test the check_website_response.sh plugin in "Test Check Command" and from the command line of the Nagios server, everything is fine, but the live check times out every time.
Test Check Command results in Web GUI:
COMMAND: /usr/local/nagios/libexec/check_website_response.sh -w 1000 -c 1500 -u http://MYURL
OUTPUT: RESPONSE: OK - 15 ms|Response=15ms;1000;1500;0
Command line of server:
[nagios@MYNAGIOSSERVER ~]$ /usr/local/nagios/libexec/check_website_response.sh -w 1000 -c 1500 -u http://MYURL
RESPONSE: OK - 12 ms|Response=12ms;1000;1500;0
On live check (as per attachment):
Critical (Service check timed out after 60.01 seconds) To make matters more confusing, every once in a long while a live check will be successful, but it's 100% successful with the test checking. The live checks were successful for years before they suddenly stopped behaving. No changes were made to the Nagios server.
We're running Nagios XI 2014R2.6. Anyone have any advice for troubleshooting this?
Test Check Command results in Web GUI:
COMMAND: /usr/local/nagios/libexec/check_website_response.sh -w 1000 -c 1500 -u http://MYURL
OUTPUT: RESPONSE: OK - 15 ms|Response=15ms;1000;1500;0
Command line of server:
[nagios@MYNAGIOSSERVER ~]$ /usr/local/nagios/libexec/check_website_response.sh -w 1000 -c 1500 -u http://MYURL
RESPONSE: OK - 12 ms|Response=12ms;1000;1500;0
On live check (as per attachment):
Critical (Service check timed out after 60.01 seconds) To make matters more confusing, every once in a long while a live check will be successful, but it's 100% successful with the test checking. The live checks were successful for years before they suddenly stopped behaving. No changes were made to the Nagios server.
We're running Nagios XI 2014R2.6. Anyone have any advice for troubleshooting this?