JSON Wizard documentation

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
gaguilard
Posts: 35
Joined: Tue Sep 03, 2019 2:39 am

Re: JSON Wizard documentation

Post by gaguilard »

Hi ssax:
Thanks again for your answer.

Tested as you recomend and the command line bring the results with proxy disabled, after that, I restore the proxy configuration and stop to work. Then, there is a problem with the proxy that filter some trafic.

But, in the Nagios GUI the values do not be retrieved from the clients, instead with the proxy disabled. I desabled it in the GUI but there is in use only for updates.

The results with longs time out settings continue being negative.

Thanks again ssax.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: JSON Wizard documentation

Post by ssax »

Go to Configure > Core Config Manager > Commands:
- Copy this command: check_xi_ncpa
- Name it something else and change the Command Line of it to this:

Code: Select all

unset http_proxy && unset https_proxy && $USER1$/check_ncpa.py -H $HOSTADDRESS$ $ARG1$
Then change one of the failing services to use that and see if that allows the service to work.
gaguilard
Posts: 35
Joined: Tue Sep 03, 2019 2:39 am

Re: JSON Wizard documentation

Post by gaguilard »

Hi ssax:
I made as you recomend me and I copied the the check_xi_ncpa to another command. I applied the newest one to a copy of a service check but it doesn't work.
I noticed that the "\Procces(xxx)\% Proccesor time" works with other services then I decided to check and I copied it to a new check and I changed it to "\Procces(xxx)\Private Bytes" and it works. Then, I made the same for the rest of service checks and now all are working well.

I can´t conclude about what is or where is the problem... but it currently is working and well.

Thanks ssax for your help.

Gastón.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: JSON Wizard documentation

Post by benjaminsmith »

Hi Gastón,

Good to hear that those checks are working now.

Shall we mark this one as resolved, or did you want to leave it open for few more days? Let us know when you have a moment.

Benjamin
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!
gaguilard
Posts: 35
Joined: Tue Sep 03, 2019 2:39 am

Re: JSON Wizard documentation

Post by gaguilard »

Hi benjaminsmith.

If you like you can close this thread.

Thank you
Locked