Page 1 of 2

Exchange 2016 monitoring

Posted: Wed Oct 26, 2016 5:13 pm
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

Re: Exchange 2016 monitoring

Posted: Thu Oct 27, 2016 10:39 am
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?

Re: Exchange 2016 monitoring

Posted: Thu Oct 27, 2016 5:10 pm
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

Re: Exchange 2016 monitoring

Posted: Fri Oct 28, 2016 1:50 pm
by ssax
What version of NSClient++ do you have installed? You can grab it from add/remove programs (or programs and features).

Re: Exchange 2016 monitoring

Posted: Mon Oct 31, 2016 1:25 pm
by CSykes1
0.5.0.62-x64

Re: Exchange 2016 monitoring

Posted: Mon Oct 31, 2016 5:05 pm
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

Re: Exchange 2016 monitoring

Posted: Mon Oct 31, 2016 5:39 pm
by CSykes1
I did as asked and still the same error.

Re: Exchange 2016 monitoring

Posted: Tue Nov 01, 2016 10:19 am
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?

Re: Exchange 2016 monitoring

Posted: Tue Nov 01, 2016 11:10 am
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

Re: Exchange 2016 monitoring

Posted: Tue Nov 01, 2016 4:43 pm
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.