NCPA 2.1.6 windowscounters API ignores -u parameter

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NCPA 2.1.6 windowscounters API ignores -u parameter

Post by lmiltchev »

Because of the changes in NCPA, now you would need to specify a unit (-n) in addition to "-u", so that the math could be done. Try running this:

Code: Select all

/usr/local/nagios/libexec/check_ncpa_115.py -H IMPSHPPNDS1120V.TVLPORT.NET -t wspwebfarm -M 'windowscounters/Process(javaservice)/Working Set' -c 150000:1250000 -u M -n b 
Did this work for you?
Be sure to check out our Knowledgebase for helpful articles and solutions!
corkyman
Posts: 120
Joined: Wed Jul 13, 2016 12:58 pm

Re: NCPA 2.1.6 windowscounters API ignores -u parameter

Post by corkyman »

My apologies--I did not see the second page that had your reply. Yes, it is working now very nicely. It makes sense now when you say the -n is a required parameter now. Please close this case. Thank you for your help.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NCPA 2.1.6 windowscounters API ignores -u parameter

Post by lmiltchev »

I am glad I could help! :)
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked