URL monitoring in Nagios cor from command prompt
Posted: Thu Aug 31, 2017 5:59 am
Hi Team,
I am new to Nagios core. And want to monitor urls I have created service like below on nagios server
define service {
host_name DMSAPS01
service_description URL: http://10.0.1.8:9500/dsearch
check_command check_http!http://10.0.1.8:9500/dsearch
}
When I run check_http I get below command. Please help me on it
[root@DMSAMON01 libexec]# ./check_http -H 10.0.0.8 -u http://10.0.0.8:9500/dsearch
connect to address 10.0.0.8 and port 80: Connection refused
HTTP CRITICAL - Unable to open TCP socket
Thanks.
I am new to Nagios core. And want to monitor urls I have created service like below on nagios server
define service {
host_name DMSAPS01
service_description URL: http://10.0.1.8:9500/dsearch
check_command check_http!http://10.0.1.8:9500/dsearch
}
When I run check_http I get below command. Please help me on it
[root@DMSAMON01 libexec]# ./check_http -H 10.0.0.8 -u http://10.0.0.8:9500/dsearch
connect to address 10.0.0.8 and port 80: Connection refused
HTTP CRITICAL - Unable to open TCP socket
Thanks.