Hi Ton, I have recently updated our Opsview to the 3.3.2 version. We monitor a lot of websites and I noticed that one of them went to critical after the update. Basically, this is what now fails and worked fine before the upgrade: /usr/local/nagios/libexec/check_http *-H* <domain> --onredirect=follow -w 2 -c 5 I noticed that if i remove the -H the plugin returns an Ok: /usr/local/nagios/libexec/check_http <domain> --onredirect=follow -w 2 -c 5 That seemed fine to me, but then I noticed that now the plugin returns an Ok for a Critical state (that's when not using the -H): /usr/local/nagios/libexec/check_http <domain> --onredirect=follow -w 2 -c 5
I've attached a screenshot of Opsview showing the problem: if I remove the -H, the Critical state returns an ok (HTTP AdServer and HTTP AdServer Internal had the -H option removed, so you can see that they're in an ok state but should be critical). I started troubleshooting and found out that the new version of check_http is bigger in size but reports the same version as the old one: New: [mia1-ops-001] reports > ls -la /usr/local/nagios/libexec/check_http -rwxr-xr-x 1 nagios nagios *154124* 2009-10-08 07:29 /usr/local/nagios/libexec/check_http [mia1-ops-001] reports > /usr/local/nagios/libexec/check_http -V check_http v1.4.14 (nagios-plugins 1.4.14) Old (copied from another box): [mia1-ops-001] reports > ls -la /home/vpn-c0115m/check_http_original -rwxr-xr-x 1 vpn-c0115m vpn-c0115m *72472* 2009-11-03 09:51 /home/vpn-c0115m/check_http_original [mia1-ops-001] reports > /home/vpn-c0115m/check_http_original -V check_http v1.4.14 (nagios-plugins 1.4.14) My thinking is that maybe something changed in the way the -H option generates/writes the http header and that's why we noticed it now. That would explain the change to critical after the update, but not why a critical state returns ok to Nagios. Best regards, Rafael Carneiro
<<attachment: TEST.jpg>>
_______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/lists/listinfo/opsview-users
