Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Exchange 2013 ServerComponentState Health
1.0
2014-08-30
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
GPL
22718
File | Description |
---|---|
CheckEX2013ServerComponentState.ps1 | Powershell Script |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
Powershell Script for checking Exchange Server's ServerComponentState. ServerComponentState is an indicator for the overall health of your Exchange Server and all its components like OWA, RPC, ActiveSync, etc.
Needs NSClient++ on the Exchange server that is monitored.
Please copy the script to your server and extend your nsclient.ini like this:
[/settings/external scripts/scripts]
check_ex2013servercomponentstate=cmd /c echo C:CheckEX2013ServerComponentState.ps1; exit($lastexitcode) | powershell.exe -noprofile -nologo -command -
Needs NSClient++ on the Exchange server that is monitored.
Please copy the script to your server and extend your nsclient.ini like this:
[/settings/external scripts/scripts]
check_ex2013servercomponentstate=cmd /c echo C:CheckEX2013ServerComponentState.ps1; exit($lastexitcode) | powershell.exe -noprofile -nologo -command -
Reviews (1)
byjkiley, June 24, 2016
You will need to have a check_nrpe command written.
# 'check_nrpe'
define command{
command_name check_nrpe
command_line $USER1$/check_nrpe -H '$HOSTADDRESS$' -c $ARG1$
}
Example Service (applied to a hostgroup)
define service{
use generic-service
hostgroup_name exchangeservers
service_description Component Health Check
check_command check_nrpe!check_ex2013servercomponentstate
}
# 'check_nrpe'
define command{
command_name check_nrpe
command_line $USER1$/check_nrpe -H '$HOSTADDRESS$' -c $ARG1$
}
Example Service (applied to a hostgroup)
define service{
use generic-service
hostgroup_name exchangeservers
service_description Component Health Check
check_command check_nrpe!check_ex2013servercomponentstate
}