Basically I have 2 services I'm doing a check_http on
$USER1$/check_http -t 60 -H $HOSTADDRESS$ $ARG1$
$ARG1$ -s "UA-1457754-9" -f ok -I 10.1.2.210 -u "/" -p 80
and
-s "UA-1457754-9" -f ok -I 10.1.2.224 -u "/" -p 80
this check results in this:
Code: Select all
HTTP CRITICAL: HTTP/1.1 301 Moved Permanently - string 'UA-1457754-9' not found on 'http://10.1.2.100:80/' - 303 bytes in 0.006 second response timeNow, I can add the -S option, but it still does not work because I'm checking local IP addresses for the services and not the external domain name.
this results in:
Code: Select all
COMMAND: /usr/local/nagios/libexec/check_http -t 60 -H 10.1.2.224 -s "UA-1457754-9" -f ok -I 10.1.2.224 -S -u "/" -p 80
OUTPUT: CRITICAL - Cannot make SSL connection.Thanks.