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
How to monitor URL availability in nagios
How to monitor URL availability in nagios
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: How to monitor URL availability in nagios
From Nagios, what's the output of
Code: Select all
traceroute 172.26.8.54
nmap 172.26.8.43 -p 80
nmap 172.26.8.43 -p 443
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: How to monitor URL availability in nagios
what happens if you run it without the http://?
to me, the error message indicates an error on parsing or resolving.
Code: Select all
./check_http -H 172.26.8.54/monitoring/keepalive.asp
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: How to monitor URL availability in nagios
./check_http -H 172.26.8.54/monitoring/keepalive.asp
CRITICAL - Socket timeout after 10 seconds
CRITICAL - Socket timeout after 10 seconds
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: How to monitor URL availability in nagios
From Nagios, what's the output of
Code: Select all
traceroute 172.26.8.54
nmap 172.26.8.43 -p 80
nmap 172.26.8.43 -p 443