[Nagiosplug-help] check_http returns WARNING status on errors
David Schlecht
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 >=
400) die
> > (STATE_WARNING, _("HTTP WARNING: %s\n"), status_line
> >
> > A WARNING state on 404 errors seems, well, wrong. In my feeble
way of
> > thinking, any result that doesn't have the expected string should
be
> > a CRITICAL status.
> So what would be a warning state? Getting a return code at all
means
> 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
metric.
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
mailing list