Try -f follow ? justinp@cerberus:~$ /usr/lib/nagios/plugins/check_http -h |grep -- -f [-b proxy_auth] [-f <ok|warning|critcal|follow|sticky|stickyport>] -f, --onredirect=<ok|warning|critical|follow|sticky|stickyport>
On Fri, Aug 02, 2013 at 03:13:41PM -0400, james wrote: > 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? > > > ------------------------------------------------------------------------------ > 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 > _______________________________________________ > Nagios-users mailing list > Nagios-users@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 ------------------------------------------------------------------------------ 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 _______________________________________________ Nagios-users mailing list Nagios-users@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