NCPA / Exchange Queue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
rkane
Posts: 114
Joined: Wed Aug 15, 2018 3:56 pm

NCPA / Exchange Queue

Post by rkane »

I would like to get Messages Pending Routing and Remote Queue Length performance counters from our Exchange environment. Is this available through NCPA?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NCPA / Exchange Queue

Post by lmiltchev »

NCPA should be able to monitor any performance counter that is available on your system. Open the CMD prompt, and type the command below to view the performance counters that are available on your system:

Code: Select all

TypePerf.exe -q
Example (in a browser):
example01.PNG
Example (in the CLI):

Code: Select all

# ./check_ncpa.py -H 192.168.x.x -t 'mytoken' -M 'windowscounters/Processor Performance(*)/Processor Frequency'
OK: \Processor Performance(*)\Processor Frequency was 3601.00 Processor Frequency | '\Processor Performance(*)\Processor Frequency'=3601.00;;;
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
rkane
Posts: 114
Joined: Wed Aug 15, 2018 3:56 pm

Re: NCPA / Exchange Queue

Post by rkane »

I was able to get some output!
Need to find the right one for the queue now...how do I format the following to simply give me the result?

Code: Select all

OK: \MSExchangeTransport SmtpSend(*)\Average time per message (ms) last 10 minutes was 124.00 Average time per message (ms) last 10 minutes | '\MSExchangeTransport SmtpSend(*)\Average time per message (ms) last 10 minutes'=124.00;;;
I'd like to just see the return be "124ms"
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NCPA / Exchange Queue

Post by lmiltchev »

You can't change the output directly in NCPA. You would have to use some kind of wrapper script to do so.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked