check_http with regex on redirects
james
james at wintercastle.net
Fri Aug 2 21:13:41 CEST 2013
We were using an old version of check_http, 1.4.10, to look for the regex
'</html>' on our sites using check_http. Recently we upgraded to a
different server (from centos to ubuntu) and re-installed nagios using the
package system. Now we are at version 1.4.15 of check_http and this no
longer returns OK status for sites where the page is redrected or rewritten
i get this instead:
HTTP CRITICAL: HTTP/1.1 301 Moved Permanently - pattern not found - 402
bytes in 0.222 second response time
I'm not sure if it's a platform difference or something that changes in the
plugin. Any advice for getting this check to complete successfully again?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20130802/c9a91ee5/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list