"Could not Parse Arguments " Following Nagios Update
Posted: Fri Jul 24, 2020 2:42 pm
Hello,
I recently updated Nagios XI to 5.7.1 and now when I run the check_http check command in the GUI, the following error is returned:
But it works fine when I run the check via the command line. Also, this same check works fine in the GUI in our other Nagios environments.
I recently updated Nagios XI to 5.7.1 and now when I run the check_http check command in the GUI, the following error is returned:
Code: Select all
Could Not Compile Regular Expression: Unmatched \{check_http: Could not parse arguments
Usage:
check_http -H <vhost> | -I <IP-address> [-u <uri>] [-p <port>]
[-J <client certificate file>] [-K <private key>]
[-w <warn time>] [-c <critical time>] [-t <timeout>] [-L] [-E] [-a auth]
[-b proxy_auth] [-f <ok|warning|critcal|follow|sticky|stickyport>]
[-e <expect>] [-d string] [-s string] [-l] [-r <regex> | -R <case-insensitive regex>]
[-P string] [-m <min_pg_size>:<max_pg_size>] [-4|-6] [-N] [-M <age>]
[-A string] [-k string] [-S <version>] [--sni] [-C <warn_age>[,<crit_age>]]
[-T <content-type>] [-j method]But it works fine when I run the check via the command line. Also, this same check works fine in the GUI in our other Nagios environments.