Hi guys, i'm triyng to check the page: https://www.lbv.org/doar but the output show me CRITICAL error because didnt find the string 'isenta de impostos', but this string exist on that page and also i tried to change the string to another one, but the output is the same. How that is possible?
[root@DOUAI libexec]# ./check_http -H http://www.lbv.org -s "isenta de impostos" -f ok -I 52.5.23.157 -u "/doar" -S -p 443
HTTP CRITICAL: HTTP/1.1 301 Moved Permanently - string 'isenta de impostos' not found on 'https://www.lbv.org:443/doar' - 456 bytes in 0.607 second response time |time=0.606886s;;;0.000000 size=456B;;;0
check_http for HTTPS
Re: check_http for HTTPS
Could you try revising your check command like so:
I suspect the fact that the /doar path is configured for a 301 redirection to /doar/index.php is confusing the check_http plugin.
Code: Select all
./check_http -H www.lbv.org -s "isenta de impostos" -f ok -I 52.5.23.157 -u "/doar/index.php" -S -p 443Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: check_http for HTTPS
mcapra, you are right.
[root@DOUAI libexec]# ./check_http -H www.lbv.org -s "Copyright 2015. LBV – Instituição Isenta de Impostos." -f ok -I 52.5.23.157 -u "/doar/index.php" -S -p 443
HTTP OK: HTTP/1.1 200 OK - 17960 bytes in 0.777 second response time |time=0.777011s;;;0.000000 size=17960B;;;0
Thyou for quick help.
[root@DOUAI libexec]# ./check_http -H www.lbv.org -s "Copyright 2015. LBV – Instituição Isenta de Impostos." -f ok -I 52.5.23.157 -u "/doar/index.php" -S -p 443
HTTP OK: HTTP/1.1 200 OK - 17960 bytes in 0.777 second response time |time=0.777011s;;;0.000000 size=17960B;;;0
Thyou for quick help.
Re: check_http for HTTPS
Glad to be of assistance! Is it ok if I lock this thread and mark the issue as resolved?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/