Windows 2003 Performance Counters with NCPA are not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
senthilc
Posts: 11
Joined: Wed Oct 04, 2017 2:50 pm

Windows 2003 Performance Counters with NCPA are not working

Post by senthilc »

Hi,

Windows 2003 Performance Counters with NCPA are not working. It only returns the result as 0c instead of the actual value. The NCPA agent version is 1.8.1.

The same check works fine on Windows 2008+ servers.

Please see the example of check results on Windows 2003 servers.

[nxi01 libexec]# ./check_ncpa.py -H 10.0.0.1 -t 'token' -P 5693 -M 'windowscounters/Memory/AvailableMbytes' -w 200: -c 100:
CRITICAL: \Memory\AvailableMbytes was 0c | '\Memory\AvailableMbytes_0'=0c;200:;100:;

[nxi01 libexec]# ./check_ncpa.py -H 10.0.0.1 -t 'token' -P 5693 -M 'windowscounters/Memory/Available Mbytes' -w 200: -c 100:
CRITICAL: \Memory\Available Mbytes was 0c | '\Memory\Available Mbytes_0'=0c;200:;100:;

[nxi01 libexec]# ./check_ncpa.py -H 10.0.0.1 -t 'token' -P 5693 -M 'windowscounters/Memory/Available%20Mbytes' -w 200: -c 100:
CRITICAL: \Memory\Available%20Mbytes was 0c | '\Memory\Available%20Mbytes_0'=0c;200:;100:;

Thanks,
Senthil
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Windows 2003 Performance Counters with NCPA are not work

Post by scottwilkerson »

Locking thread, this is already being discussed here
https://github.com/NagiosEnterprises/ncpa/issues/469
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked