Microsoft Exchange

Exchange 2013 DAG Health Check

Description:

Powershell Script for checking DAG health.
Needs NSClient++ on the Exchange DAG member server that is monitored.

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

License

GPL


Project Files
Project Notes
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 -
Reviews (2) Add a Review
Works, just needs some additional instruction
by s0rserer, May 31, 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.



Can't get it to work
by transom324, January 31, 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)



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
2.5 (2)
Favorites
0
Views
22,917