web content check unexpected behaviour
Posted: Wed Sep 26, 2012 4:47 am
Hi Friends,
Yesterday we observed an unexpected behavior from web page content check service of Nagios website Monitoring:
We were monitoring one of our internet site and were having some web content check on the same, when the site was down we were redirecting the site to some other working site, in this case we were expecting that web content check will fail as the redirected site doesn't contains the searched content.
But the web content service were showing 302 redirects with the Green Status as OK, which failed our test case as the site itself was down.
Similar thing was happening with http check for the same website as it was also showing 302 redirect with status OK, but the actual website was down.
Could you please let me know if we can avoid this situation.
Thanks,
Manish
Yesterday we observed an unexpected behavior from web page content check service of Nagios website Monitoring:
We were monitoring one of our internet site and were having some web content check on the same, when the site was down we were redirecting the site to some other working site, in this case we were expecting that web content check will fail as the redirected site doesn't contains the searched content.
But the web content service were showing 302 redirects with the Green Status as OK, which failed our test case as the site itself was down.
Similar thing was happening with http check for the same website as it was also showing 302 redirect with status OK, but the actual website was down.
Could you please let me know if we can avoid this situation.
Thanks,
Manish