Page 1 of 1

How to add services in JSON Wizard?

Posted: Wed May 05, 2021 9:17 pm
by ALS-Nagios@Support
Hello guys,

Im having a problem in my JSON configuration wizard. After adding the JSON to my services, it only shows OK - Value 'Array' did not match 'true' Do you guys have any idea how to resolve this? and also i cant find any tutorial adding a JSON.

I hope someone can help me
thank you.

Re: How to add services in JSON Wizard?

Posted: Thu May 06, 2021 2:31 pm
by benjaminsmith
Hi ALS-Nagios@Support,

Usually, this is some type of parsing error related to the JSON output. Can you post the full check command and output when you run it from the CLI, so I can view the arguments?

The article below has step-by-step instructions on how to do this.

Nagios XI - How To Test Check Commands From The Command-line

If you happened to have a full sample of the JSON output that would be really helpful as well. Otherwise we can modify the plugin to view that.

Thanks,
Benjamin