Skip to content

check_vmware_running_vms is a Nagios plugin to check number of running VMs on VMware environment

License

Notifications You must be signed in to change notification settings

mnheia/check_vmware_running_vms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Copyright (c) 2019, Mnheia [email protected]

Contributors: Danilo Godec

check_vmware_running_vms

A Nagios plugin to check number of running VMs on VMWare environment

Example

Server Side

You will need to define command:

define command {
        command_name            check_vmware_running_vms
        command_line            sshpass -p $_MONITORING_PASSWORD$ $USER1$/check_running_vms_vmware.sh $ARG1$ $ARG2$ $ARG3$
}

You will need to define service:

define service {
        service_description     RUNNING_VMS
        host_name               hostname
        use                     service-name
        check_command           check_vmware_running_vms!$_MONITORING_USER$!$HOSTADDRESS$!1
}

Where number of running VMs on SERVICE should be 1 - replace number with the number of VMs that should be running.

You will need to add a custom argument on 'host' definition:

monitoring_user       username
monitoring_password   password

Client Side

Requirements

  • user for monitoring on VMWare side that is allowed of doing SSH
  • ssh connection from monitoring server to ESXi server

Bugs

Please report any bugs or feature requests through the web interface at https://github.com/mnheia/check_vmware_running_vms/issues

About

check_vmware_running_vms is a Nagios plugin to check number of running VMs on VMware environment

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages