Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check vSphere HA Agent Status
1.0
2011-12-23
- Nagios 3.x
- Nagios XI
GPL
84918
File | Description |
---|---|
Check_HA_Agent_Status.ps1 | Check_HA_Agent_Status.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!
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. ;-)
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)
Be the first to review this listing!