VMWare

Check vSphere HA Agent Status

Description:

A Powershell script that checks the status of the HA Agents of all hosts within a vSphere VirtualCenter environment.

Current Version

1.0

Last Release Date

2011-12-23

Compatible With

  • Nagios 3.x
  • Nagios XI

Owner

License

GPL


Project Files
Project Notes
A Powershell script that checks the status of the HA Agents of all hosts within a vSphere VirtualCenter environment. When one or more hosts report a non-"running" state, the plugin gives a CRITICAL. Script uses an secure way of reading out the password for the used account (that provides access to vc). Read the first section for all the info you need. Script calls the VMWare-snapin without powershell so no need to start powershell with the -PSConsoleFile option. Prerequisites: # Windows machine to run the script # Powershell installed # VMWare vSphere PowerCLI 4 or later installed # Account with access to Virtual Center PS: This is one of my first Powershell-scripts so I think it could be much better or more efficient, but it does the job. ;-)
Reviews (0) Add a Review
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
0 (0)
Favorites
1
Views
84,837