Clustering and High-Availability

Check Hyper-V Replica Status

Description:

A PowerShell Nagios script to check the health of Hyper-V replicas. Using the Hyper-V module we can check for VM’s that are primary replicas and check their replication health. If they are not normal then we report back warning or critical depending on the replication health status.

Update v1.3: Minor adjustments to improve efficiency.

Updated: Now includes detailed replication health details in alert.

Current Version

1.3

Last Release Date

2015-12-06

Compatible With

  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI

Owner


Project Notes
Reviews (1) Add a Review
Works well, one small change
by GldRush98, November 30, 2017

The script works well out of the box. The only change I made was that the final return line is a case in which there were no VM's found on the machine. IMO, this should be at least an Unknown state, and not an Ok state, because the HyperV server should always have VM's on it. I modified this final line to more accurately reflect this condition when hit. Otherwise it seems to work well from my testing.



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
4 (2)
Favorites
2
Views
15,046