Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

I came up with this check in commands.cfg:

 

Code Block
themeMidnight
languageperl
define command{
        command_name    check_unparsed_php
        command_line    /usr/lib/nagios/plugins/check_http -I $HOSTADDRESS$ -H $ARG1$ -u $ARG2$ --invert-regex -r '^\s*<\?(php)?\s+'
}

...