Exchange 2016 monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
CSykes1
Posts: 34
Joined: Wed Mar 05, 2014 2:21 pm

Exchange 2016 monitoring

Post by CSykes1 »

I ran the exchange 2016 configuration wizard and i have some issues.

1. How do I get the OWA HTTP to check https. We don't allow http for OWA. I get the following error Warning HTTP WARNING: HTTP/1.1 403 Forbidden - 175 bytes in 0.005 second response time
2. On Messages Pending Routing and Remote Queue Length I get the following - NSClient - ERROR: No performance data from command: check_pdh
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Exchange 2016 monitoring

Post by rkennedy »

1. You should be able to append -S to the end of your check_command, which will tell it to use SSL. You can do this through the Core Config Manager, and finding the service.
2. Could you show us the service definitions for these failing checks?
Former Nagios Employee
CSykes1
Posts: 34
Joined: Wed Mar 05, 2014 2:21 pm

Re: Exchange 2016 monitoring

Post by CSykes1 »

1. That works.. Thank you!!

2. Is this what you are looking for.
Messages Pending Routing
Check command
check_xi_service_nsclient
Command view
$USER1$/check_nt -H $HOSTADDRESS$ -s "$ARG1$" -p 12489 -v $ARG2$ $ARG3$ $ARG4$
$ARG1$
*******
$ARG2$
COUNTER
$ARG3$
-l "\\SMTP Server(_Total)\\Messages Pending Routing" -w 25 -c 100

Remote Queue Length
Check command
check_xi_service_nsclient
Command view
$USER1$/check_nt -H $HOSTADDRESS$ -s "$ARG1$" -p 12489 -v $ARG2$ $ARG3$ $ARG4$
$ARG1$
*****
$ARG2$
COUNTER
$ARG3$
-l "\\SMTP Server(_Total)\\Remote Queue Length" -w 25 -c 50
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Exchange 2016 monitoring

Post by ssax »

What version of NSClient++ do you have installed? You can grab it from add/remove programs (or programs and features).
CSykes1
Posts: 34
Joined: Wed Mar 05, 2014 2:21 pm

Re: Exchange 2016 monitoring

Post by CSykes1 »

0.5.0.62-x64
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Exchange 2016 monitoring

Post by ssax »

Please try uninstalling the latest and install 0.4.3 to see if that resolves the problem.

https://assets.nagios.com/downloads/nag ... .3-x64.msi


Thank you
CSykes1
Posts: 34
Joined: Wed Mar 05, 2014 2:21 pm

Re: Exchange 2016 monitoring

Post by CSykes1 »

I did as asked and still the same error.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Exchange 2016 monitoring

Post by ssax »

Please open a powershell console as administrator on your Exchange server and run this command:

Code: Select all

get-counter '\SMTP Server(_Total)\Messages Pending Routing'
Does it return anything?
CSykes1
Posts: 34
Joined: Wed Mar 05, 2014 2:21 pm

Re: Exchange 2016 monitoring

Post by CSykes1 »

PS U:\> get-counter '\SMTP Server(_Total)\Messages Pending Routing'
get-counter : The specified object was not found on the computer.
At line:1 char:1
+ get-counter '\SMTP Server(_Total)\Messages Pending Routing'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidResult: (:) [Get-Counter], Exception
+ FullyQualifiedErrorId : CounterApiError,Microsoft.PowerShell.Commands.GetCounterCommand
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Exchange 2016 monitoring

Post by tmcdonald »

To quote a much earlier thread about a similar issue:
yancy wrote:benningtonr,

It seems as if your performance count library may have some corruption.

The following explains how to rebuild performance counter library

http://support.microsoft.com/kb/300956

You'll want to take caution when following the instructions as it does require editing your registry (make a backup).

Regards,

-Yancy
See if that helps, and if not let us know so we can try other routes.
Former Nagios employee
Locked