Page 1 of 2

Monitoring Exchange Performance Data

Posted: Tue Nov 27, 2018 4:59 pm
by REFan
We are looking to move our old Exchange monitoring out of PRTG and into Nagios. In PRTG we are monitoring values like RPC Client Access: Active User Count. Anyone have any recommendations for setting this up in Nagios?
I tried the scripts here as well as others but could not get them to work yet:
https://exchange.nagios.org/directory/P ... rs/details

It is hard to find Microsoft Exchange scripts because the results are usually just Nagios Exchange links.

Any tips are appreciated.

Re: Monitoring Exchange Performance Data

Posted: Wed Nov 28, 2018 5:07 pm
by benjaminsmith
Hi @REFan,

Appreciate the interest in Nagios XI for monitoring. Nagios XI has a configuration wizard for monitoring Exchange Servers. I would suggest starting with that as it will be the easiest to setup.

Go to Configure > Select the Microsoft icon and then select the Exchange Server wizard.

Understanding and Using Configuration Wizards
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Please let me know if you have any other questions.

Re: Monitoring Exchange Performance Data

Posted: Thu Nov 29, 2018 10:50 am
by REFan
Thank you. I did not think about that wizard. I will test this.

Re: Monitoring Exchange Performance Data

Posted: Thu Nov 29, 2018 12:04 pm
by benjaminsmith
Sounds good. Let me know if you have any other questions.

Re: Monitoring Exchange Performance Data

Posted: Fri Nov 30, 2018 8:19 am
by REFan
So the built in Exchange wizard created a couple of performance monitors but not the ones I needed. I was able to adjust those pre made services to monitor what i was looking for in these links:

https://docs.microsoft.com/en-us/exchan ... -2013-help

https://www.activexperts.com/admin/exch ... ue-length/

Re: Monitoring Exchange Performance Data

Posted: Fri Nov 30, 2018 8:29 am
by REFan
One question though. How can I set the service to keep the history of data? For example I am monitoring MSExchange RPC Client Access: Active User Count. The check command is check_xi_service_nsclient but comparing to a monitor like a disk drive I dont see a difference in what tells it to keep the history. Any advice?
@benjaminsmith

Re: Monitoring Exchange Performance Data

Posted: Fri Nov 30, 2018 12:31 pm
by benjaminsmith
Hi @REFan,

A couple things to verify. One is to check your nsclient.ini file to make sure performance data is enabled.

Code: Select all

[/settings/NSClient/server]
; PERFORMANCE DATA - Send performance data back to Nagios (set this to 0 to remove all performance data).
performance data = 1
Reference:
https://docs.nsclient.org/reference/win ... entServer/

Next, is performance data being returned by the check? Go to Home > Service Status > Active User Count > Advanced and check the following.

Re: Monitoring Exchange Performance Data

Posted: Fri Nov 30, 2018 1:46 pm
by REFan
Thanks. The nsclient.ini has that value set to 1 but the performance data in the advanced tab is blank.

Re: Monitoring Exchange Performance Data

Posted: Fri Nov 30, 2018 4:24 pm
by benjaminsmith
Hi @REFan,

Would you be able to PM me your system profile along with your nsclient.ini file for us to review?

To send us your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and upload it to a cloud storage of your choice. You can share a link with me in a personal message.
After you upload the profile please post something in this thread to bring it up in the support queue.

Thanks.

Re: Monitoring Exchange Performance Data

Posted: Fri Nov 30, 2018 4:36 pm
by REFan
Thank you for the help. I just sent you a PM with the profile.