Monitoring Exchange 2016

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Monitoring Exchange 2016

Post by ssax »

On your service you would use:

Check command: check_xi_service_nsclient
$ARG1$: password
$ARG2$: COUNTER
$ARG3$: -l "\\SMTP Server(_Total)\\Remote Queue Length" -w 15 -c 50

For testing from the command line:

Code: Select all

/usr/local/nagios/libexec/check_nt -H X.X.X.X -s "password" -p 12489 -v COUNTER -l "\\SMTP Server(_Total)\\Remote Queue Length" -w 15 -c 50
Kxfrancois
Posts: 48
Joined: Mon Nov 19, 2018 9:38 am

Re: Monitoring Exchange 2016

Post by Kxfrancois »

I have tried to use counter in the past and it does not work. I am now using NPRE. Is there a way to convert the syntax you sent me to work with NRPE?
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Monitoring Exchange 2016

Post by npolovenko »

@Kxfrancois, If the counter doesn't work that means your server likely doesn't support it. But here's the NRPE syntax:
./check_nrpe -H X.X.X.X -c check_pdh -a "counter=\\SMTP Server(_Total)\\Remote Queue Length" 'warn=value<1000' 'crit=value<500' 'perf-config=*(suffix:none)'
https://support.nagios.com/kb/article/p ... s-779.html
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Kxfrancois
Posts: 48
Joined: Mon Nov 19, 2018 9:38 am

Re: Monitoring Exchange 2016

Post by Kxfrancois »

/usr/local/nagios/libexec/check_nrpe -H burexc002 -t 30 -c check_pdh -a "counter=\\SMTP Server(_Total)\\Remote Queue Length" 'warn=value<1000' 'crit=value<500' 'perf-config=*(suffix:none)'

Failed to poll counter: \SMTP Server(_Total)\Remote Queue Length PdhAddCounter failed: c0000bb8: The specified object was not found on the computer.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Monitoring Exchange 2016

Post by npolovenko »

@Kxfrancois, You need to contact the manufacturer or refer to the Exchange 2016 manual to see the list of supported counters on your server. Unfortunately, I don't have the Exchange 2016 in the lab to test this command against.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Kxfrancois
Posts: 48
Joined: Mon Nov 19, 2018 9:38 am

Re: Monitoring Exchange 2016

Post by Kxfrancois »

I have been looking every where to try to find the exchange 2016 counter check for remote queue length.

The old command that no longer works is -l "\\SMTP Server(_Total)\\Remote Queue Length" -w 15 -c 30.

Does anyone have the correct check for exchange 2016?

thanks
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitoring Exchange 2016

Post by scottwilkerson »

You would need to see what counters are available on your server, something like this may find what you are looking for

Run the following from Windows cmd.exe to get a list of counters that contain "SMTP"

Code: Select all

typeperf.exe -q |findstr "SMTP"
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked