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
Current Version
1.0
Last Release Date
2014-08-30
Compatible With
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
Owner
License
GPL
Hits
21626
Files:
File | Description |
---|---|
CheckEX2013ServerComponentState.ps1 | Powershell Script |
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
}