"Could not Parse Arguments " Following Nagios Update

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
hixavier
Posts: 12
Joined: Tue Jul 30, 2019 6:57 am

"Could not Parse Arguments " Following Nagios Update

Post by hixavier »

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:

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.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: "Could not Parse Arguments " Following Nagios Update

Post by benjaminsmith »

Hi @hixavier,

It could be an escaping issue with the arguments being passed, can you post the full check command to the thread for us to review? Thanks, Benjamin

Also, I would highly recommend upgrading to 5.7.2, there are some important bug fixes in this release.

Upgrading Nagios XI
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked