[Nagiosplug-help] check_http returns WARNING status on errors
dschlecht at doit.nv.gov
Mon Nov 21 09:38:07 CET 2005
Hi and thanks for the reply.
> > errors result in a warning state */ else if (http_status >=
> > (STATE_WARNING, _("HTTP WARNING: %s\n"), status_line
> > A WARNING state on 404 errors seems, well, wrong. In my feeble
> > thinking, any result that doesn't have the expected string should
> > a CRITICAL status.
> So what would be a warning state? Getting a return code at all
> that the server responds (i.e. isn't down or overloaded enough
for us to
> time out), but the response prevents us from getting a proper
It seems to me that anything other than latency and expected redirects
is critical. Is that too restrictive? What am I overlooking?
I agree, a return-code matrix would be handy, but probably over-kill.
Again, thanks for your reply.
More information about the Help