Page 1 of 1

I can't monitoring Exchange performance counter

Posted: Mon Feb 17, 2020 6:43 am
by Ponashish
Hi all,
according to this article: https://docs.microsoft.com/en-us/exchan ... -2013-help
I want to monitor Exchange performance counters but i have some issues:

Example 1:
Memory\Available Mbytes Performance Counter

Example 1 works correctly:
On my Exchange server from Powershell get-counters "\Memory\Available Mbytes" is OK
On my Nagios server check_nt -H xxx -p xxx-s xxx -v COUNTER -l "\\Memory\Available Mbytes" same OK

Example 2:
MSExchange Database ==> Instances(*)\I/O Database Reads (Attached) Average Latency

In this case from PowerShell I receive the value but from Nagios no:
NSClient - ERROR: No performance data from command: check_pdh

This happens with a lot of counters and seems that is relative to the specific counters of Exchange.
How I can provide to solve that?
Thanks

Re: I can't monitoring Exchange performance counter

Posted: Mon Feb 17, 2020 7:56 pm
by Box293
It might be worthwhile visiting these performance counter articles as they get into the specifics about how to reference the counters, sometimes escaping special characters is required.

https://support.nagios.com/kb/article/n ... r-126.html
https://support.nagios.com/kb/article/n ... a-491.html
https://support.nagios.com/kb/article/n ... t-127.html