vm-tools
Description
This command reports any VMs that have VMware Tools not running. If it finds any the check result is CRITICAL.
Options
Besides the general options this command supports the following options:
options | description |
---|---|
--allowed REGEX |
(optional) REGEX is checked against <name of VirtualMachine> , if REGEX doesn’t match the vm is ignored |
--banned REGEX |
(optional) REGEX is checked against <name of VirtualMachine> , if REGEX does match the vm is ignored |
--not-installed |
tools not installed is ignored by default, make them critical |
-E EXCLUDE_GUEST_ID , --exclude-guest-id EXCLUDE_GUEST_ID |
if config.guestId matches, VM is ignored |
Examples
check_vsphere vm-tools -nossl \
-s vcenter.example.com \
-u naemon@vsphere.local \
--not-installed \
-E otherGuest