Page 2 of 2

Re: JSON Wizard documentation

Posted: Fri Jul 30, 2021 6:35 am
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.

Re: JSON Wizard documentation

Posted: Fri Jul 30, 2021 4:41 pm
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.

Re: JSON Wizard documentation

Posted: Tue Aug 03, 2021 9:57 am
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.

Re: JSON Wizard documentation

Posted: Wed Aug 04, 2021 9:31 am
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

Re: JSON Wizard documentation

Posted: Wed Aug 04, 2021 10:34 am
by gaguilard
Hi benjaminsmith.

If you like you can close this thread.

Thank you