perfmon counter using check_ncpa for Microsoft exchange
Posted: Mon Jul 22, 2019 2:33 pm
Hello,
i am trying to use Check_ncpa.py to collect the performance counters for ms exchange,
./check_ncpa.py -H server-t 'token' -P 5693 -M 'windowscounters/MSExchangeIS/RPC Averaged Latency'
OK: \MSExchangeIS\RPC Averaged Latency was 0 c | '\MSExchangeIS\RPC Averaged Latency'=0c;;;
i always get 0c as a result for any MSExchange while other counters work
./check_ncpa.py -H server-t 'token' -P 5693 -M 'windowscounters/Memory/Available MBytes'
OK: \Memory\Available MBytes was 92087.00 Available MBytes | '\Memory\Available MBytes'=92087.00;;;
We have 2.1.6 of NCPA installed on the server.
So the questions is ,
can NCPA read MSExchange related performance counters? if not what are my options out of box? Or create a powershell script to get the counter value and read it in nagios
error log from ncpa listener log
2019-07-18 14:51:24,665:ERROR:app:Exception on /api/windowscounters/RPC Averaged Latency/ [GET]
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\flask\app.py", line 1817, in wsgi_app
File "C:\Python27\lib\site-packages\flask\app.py", line 1477, in full_dispatch_request
File "C:\Python27\lib\site-packages\flask\app.py", line 1381, in handle_user_exception
File "C:\Python27\lib\site-packages\flask\app.py", line 1475, in full_dispatch_request
File "C:\Python27\lib\site-packages\flask\app.py", line 1461, in dispatch_request
File "C:\ncpa\agent\listener\server.py", line 169, in token_auth_decoration
File "C:\ncpa\agent\listener\server.py", line 929, in api
File "C:\ncpa\agent\listener\windowscounters.py", line 26, in walk
File "C:\ncpa\agent\listener\windowscounters.py", line 95, in get_counter_path
IndexError: list index out of range
Thanks
i am trying to use Check_ncpa.py to collect the performance counters for ms exchange,
./check_ncpa.py -H server-t 'token' -P 5693 -M 'windowscounters/MSExchangeIS/RPC Averaged Latency'
OK: \MSExchangeIS\RPC Averaged Latency was 0 c | '\MSExchangeIS\RPC Averaged Latency'=0c;;;
i always get 0c as a result for any MSExchange while other counters work
./check_ncpa.py -H server-t 'token' -P 5693 -M 'windowscounters/Memory/Available MBytes'
OK: \Memory\Available MBytes was 92087.00 Available MBytes | '\Memory\Available MBytes'=92087.00;;;
We have 2.1.6 of NCPA installed on the server.
So the questions is ,
can NCPA read MSExchange related performance counters? if not what are my options out of box? Or create a powershell script to get the counter value and read it in nagios
error log from ncpa listener log
2019-07-18 14:51:24,665:ERROR:app:Exception on /api/windowscounters/RPC Averaged Latency/ [GET]
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\flask\app.py", line 1817, in wsgi_app
File "C:\Python27\lib\site-packages\flask\app.py", line 1477, in full_dispatch_request
File "C:\Python27\lib\site-packages\flask\app.py", line 1381, in handle_user_exception
File "C:\Python27\lib\site-packages\flask\app.py", line 1475, in full_dispatch_request
File "C:\Python27\lib\site-packages\flask\app.py", line 1461, in dispatch_request
File "C:\ncpa\agent\listener\server.py", line 169, in token_auth_decoration
File "C:\ncpa\agent\listener\server.py", line 929, in api
File "C:\ncpa\agent\listener\windowscounters.py", line 26, in walk
File "C:\ncpa\agent\listener\windowscounters.py", line 95, in get_counter_path
IndexError: list index out of range
Thanks