[Nagiosplug-help] check_http and --invert-regex

Architecture Mercenary itarchmerc at archmerc.com
Fri Oct 8 17:04:29 CEST 2010


I was writing a check using check_http with the --invert-regex option.  It
works perfectly from the command line, but fails when running through
Nagios.  I looked at the expanded command definition and it looks correct,
but I get an UNKNOWN status from the plugin via Nagios.  When I take the
--invert-regex option out of the check, it succeeds.  Is that option
deprecated, or is it an issue with Nagios?  For now, I wrapped the check in
negate and it is working.  If that option doesn't work, can it be removed
from the help section of the plugin?  Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20101008/3ff92dd0/attachment.html>


More information about the Help mailing list