exchange 2013 message queue monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bladezz
Posts: 19
Joined: Thu Mar 10, 2016 11:28 am

exchange 2013 message queue monitoring

Post by bladezz »

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.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: exchange 2013 message queue monitoring

Post by hsmith »

What version of NSClient is this?
Former Nagios Employee.
me.
bladezz
Posts: 19
Joined: Thu Mar 10, 2016 11:28 am

Re: exchange 2013 message queue monitoring

Post by bladezz »

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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: exchange 2013 message queue monitoring

Post by rkennedy »

Can you post your NSClient++ configuration file for us to look at?
Former Nagios Employee
bladezz
Posts: 19
Joined: Thu Mar 10, 2016 11:28 am

Re: exchange 2013 message queue monitoring

Post by bladezz »

Yes will post on Monday when back in office
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: exchange 2013 message queue monitoring

Post by hsmith »

Thank you.
Former Nagios Employee.
me.
bladezz
Posts: 19
Joined: Thu Mar 10, 2016 11:28 am

Re: exchange 2013 message queue monitoring

Post by bladezz »

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
You do not have the required permissions to view the files attached to this post.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: exchange 2013 message queue monitoring

Post by hsmith »

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.
bladezz
Posts: 19
Joined: Thu Mar 10, 2016 11:28 am

Re: exchange 2013 message queue monitoring

Post by bladezz »

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.
Last edited by bladezz on Tue May 10, 2016 10:39 am, edited 1 time in total.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: exchange 2013 message queue monitoring

Post by rkennedy »

Were you able to get it working with the new counter names?
Former Nagios Employee
Locked