Hi I'm new to Nagios and looking at monitoring the Remote Queue Length and Messages Pending Routing I have used the Nagios xi exchange wizard and currently get the below errors logged in nsclient ++
2016-03-10 10:42:28: error:c:\source\nscp\modules\CheckSystem\check_pdh.cpp:250: Exception in Failed to poll counter: \SMTP Server(_Total)\Messages Pending Routing PdhAddCounter failed: c0000bb8: The specified object was not found on the computer. I get this on our DAG and on our cas server as well as the individual servers any ideas would be appreciated on the best way to monitor exchange 2013.
exchange 2013 message queue monitoring
Re: exchange 2013 message queue monitoring
What version of NSClient is this?
Former Nagios Employee.
me.
me.
Re: exchange 2013 message queue monitoring
I have downgraded the nsclient to version 3.9.328 and now get an ok and a message count of 0 for Messages Pending Routing and Remote Queue Length
if I use the command get-transportservice | Get-Queue -Filter {MessageCount -gt 5} on exchange I see the following message count
DeliveryType Status MessageCount
ShadowRedundancy Ready 6074
ShadowRedundancy Ready 6001
ShadowRedundancy Ready 5971
the command in Nagios to check this is
check_xi_service_nsclient!Password!COUNTER!-l "\\SMTP Server(_Total)\\Remote Queue Length" -w 25 -c 50
I would expect to see an actual count rather than it saying ok 0
if I use the command get-transportservice | Get-Queue -Filter {MessageCount -gt 5} on exchange I see the following message count
DeliveryType Status MessageCount
ShadowRedundancy Ready 6074
ShadowRedundancy Ready 6001
ShadowRedundancy Ready 5971
the command in Nagios to check this is
check_xi_service_nsclient!Password!COUNTER!-l "\\SMTP Server(_Total)\\Remote Queue Length" -w 25 -c 50
I would expect to see an actual count rather than it saying ok 0
Re: exchange 2013 message queue monitoring
Can you post your NSClient++ configuration file for us to look at?
Former Nagios Employee
Re: exchange 2013 message queue monitoring
Yes will post on Monday when back in office
Re: exchange 2013 message queue monitoring
please find attached my nsclient++
the command im using is check_xi_service_nsclient!Pukka118!COUNTER!-l -p 12849 "\\SMTP Server(_Total)\\Messages Pending Routing" -w 25 -c 100
the command im using is check_xi_service_nsclient!Pukka118!COUNTER!-l -p 12849 "\\SMTP Server(_Total)\\Messages Pending Routing" -w 25 -c 100
You do not have the required permissions to view the files attached to this post.
Re: exchange 2013 message queue monitoring
Can you expand out the SMTP Server(_Total)\\Messages Pending Routing perf counter in perfmon and show us a screenshot? It may not match up with exactly what the wizard is looking for, in which case we'll need to edit it.
Former Nagios Employee.
me.
me.
Re: exchange 2013 message queue monitoring
Hi,
It seems the counters have changed in ms Exchange 2013 so your right that the counters may be incorrect I have found a list of counters on TechNet so will probably need to just amend to look at the new counters.
It seems the counters have changed in ms Exchange 2013 so your right that the counters may be incorrect I have found a list of counters on TechNet so will probably need to just amend to look at the new counters.
Last edited by bladezz on Tue May 10, 2016 10:39 am, edited 1 time in total.
Re: exchange 2013 message queue monitoring
Were you able to get it working with the new counter names?
Former Nagios Employee