Page 2 of 2

Re: NCPA 2.1.6 windowscounters API ignores -u parameter

Posted: Wed Mar 20, 2019 12:56 pm
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?

Re: NCPA 2.1.6 windowscounters API ignores -u parameter

Posted: Mon Mar 25, 2019 9:57 am
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.

Re: NCPA 2.1.6 windowscounters API ignores -u parameter

Posted: Mon Mar 25, 2019 11:02 am
by lmiltchev
I am glad I could help! :)