How to monitor URL availability in nagios
Posted: Wed Apr 26, 2017 9:57 am
Hi Team,
Can you please help on to monitor the below url in Nagios:
[root@dalpXXXX libexec]# ./check_http -H www.google.com
HTTP OK: HTTP/1.1 200 OK - 12369 bytes in 0.360 second response time |time=0.359727s;;;0.000000 size=12369B;;;0
[root@dalpXXXX libexec]# ./check_http -H http://172.26.8.54/monitoring/keepalive.asp
Name or service not known
HTTP CRITICAL - Unable to open TCP socket
Can you please help on to monitor the below url in Nagios:
[root@dalpXXXX libexec]# ./check_http -H www.google.com
HTTP OK: HTTP/1.1 200 OK - 12369 bytes in 0.360 second response time |time=0.359727s;;;0.000000 size=12369B;;;0
[root@dalpXXXX libexec]# ./check_http -H http://172.26.8.54/monitoring/keepalive.asp
Name or service not known
HTTP CRITICAL - Unable to open TCP socket