Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check virtual machine power status

Rating
0 votes
Favoured:
0
Last Release Date
2021-07-29
Compatible With
  • Nagios 4.x
  • Nagios XI
Hits
3233
Files:
FileDescription
check_vmpower.pycheck_vmpower.py
Nagios CSP

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!
Check virtual machine power status
Check if VMWare virtual machine is powered on or off using https://github.com/vmware/vsphere-automation-sdk-python.

Plugin connects to a vcenter and checks the status of a virtual machine using the VMs id.

IDs can be found with the '-l' flag:

python3 check_vmpower.py -u USERNAME -p 'PASSWORD' -s SERVER_IP -l

Once the ID has been identified then check the status with:

python3 check_vmpower.py -u USERNAME -p 'PASSWORD' -s SERVER_IP -i ID