Displaying 1 result from an estimated 1 matches for "check_http2".
Did you mean:
check_http
2009 Feb 13
10
Nagios: Error: Service check command ... not defined anywhere!
...e
entries from /etc/nagios/objects/localhost.cfg
But now I''m trying to add 2 more things:
1) monitoring Squid
2) monitoring Apache at ports 8080 and 8090
I have found the following 3 lines:
command[check_http]=/usr/lib/nagios/plugins/check_http -H
$HOSTADDRESS$ -I $HOSTADDRESS$
command[check_http2]=/usr/lib/nagios/plugins/check_http -H $ARG1$ -I
$HOSTADDRESS$ -w $ARG2$ -c $ARG3$
.......
command[check_squid]=/usr/lib/nagios/plugins/check_http -H
$HOSTADDRESS$ -p $ARG1$ -u $ARG2$ -e ''HTTP/1.0 200 OK''
in the file /etc/nagios/command-plugins.cfg
and have added 1 more line:...