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
Exchange 2016 monitoring
Re: Exchange 2016 monitoring
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?
2. Could you show us the service definitions for these failing checks?
Former Nagios Employee
Re: Exchange 2016 monitoring
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
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
What version of NSClient++ do you have installed? You can grab it from add/remove programs (or programs and features).
Re: Exchange 2016 monitoring
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
https://assets.nagios.com/downloads/nag ... .3-x64.msi
Thank you
Re: Exchange 2016 monitoring
I did as asked and still the same error.
Re: Exchange 2016 monitoring
Please open a powershell console as administrator on your Exchange server and run this command:
Does it return anything?
Code: Select all
get-counter '\SMTP Server(_Total)\Messages Pending Routing'Re: Exchange 2016 monitoring
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
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
To quote a much earlier thread about a similar issue:
See if that helps, and if not let us know so we can try other routes.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
Former Nagios employee