Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Exchange 2013 DAG Health Check
1.0
2014-08-30
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
GPL
22895
File | Description |
---|---|
CheckEX2013DAG.ps1 | CheckEX2013DAG.ps1 |
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!
Needs NSClient++ on the Exchange DAG member server that is monitored.
Powershell Script for checking DAG health.
Needs NSClient++ on the Exchange DAG member server that is monitored.
Please copy the script to your server and extend your nsclient.ini like this:
[/settings/external scripts/scripts]
check_ex2013dag=cmd /c echo C:CheckEX2013DAG.ps1; exit($lastexitcode) | powershell.exe -noprofile -nologo -command -
Needs NSClient++ on the Exchange DAG member server that is monitored.
Please copy the script to your server and extend your nsclient.ini like this:
[/settings/external scripts/scripts]
check_ex2013dag=cmd /c echo C:CheckEX2013DAG.ps1; exit($lastexitcode) | powershell.exe -noprofile -nologo -command -
Reviews (2)
bys0rserer, May 15, 2016
It works it just needs to be tweaked.
Copy the powershell script on the target machine in the folder:
C:program files
sclient++scripts
Then in your config ini file add:
[/settings/external scripts/scripts]
check_ex2013dag=cmd /c echo scriptsCheckEX2013DAG.ps1; exit($lastexitcode) | powershell.exe -command -
Then it should work. Keep in mind that in your nagios server give it a higher timeout (I used 60 seconds) because the results will not come back in the default 10.
Copy the powershell script on the target machine in the folder:
C:program files
sclient++scripts
Then in your config ini file add:
[/settings/external scripts/scripts]
check_ex2013dag=cmd /c echo scriptsCheckEX2013DAG.ps1; exit($lastexitcode) | powershell.exe -command -
Then it should work. Keep in mind that in your nagios server give it a higher timeout (I used 60 seconds) because the results will not come back in the default 10.
bytransom324, January 12, 2016
It maybe a rookie error but I can't get it to work.
I keep getting:
(Return code of 127 is out of bounds - plugin may be missing)
I keep getting:
(Return code of 127 is out of bounds - plugin may be missing)