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

vmware_check by Ryan Wilgoss

Rating
0 votes
Favoured:
0
Current Version
1
Last Release Date
2010-07-30
Compatible With
  • Nagios 3.x
Hits
101252
Files:
FileDescription
vmware_checkvmware_check
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!
A Perl Plugin To Check A Virtual Server Running on VMware Host Server On A Linux Platform.
Using the vmware-cmd (located on the target virtual server) the /path_to/target-server.vmx file and getstate to check 1 of 4 available states which are on, off, suspended, stuck.
Any result other than on will return a CRITICAL state.

vhost = Virtual Host (Server Running VMware)

vserver = Path To Virtual Server .vmx file (Running On The Virtual Host)

To avoid authentication requirements of SSH, use pre shared encrypted keys on the nagios user both on the Nagios server and the target vserver.

Command Line Usage - ./vmware_check vhost /path/to/.vmx


Nagios Service Example Usage -

# Service to check VMware on a remote machine.
define service{
use local-service ; Name of service template to use
host_name vhost
service_description VMware
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
notification_interval 120
check_command vmware_check!vhost!/path/to/.vmx
}