General Options
option | description |
---|---|
-s HOST, --host HOST | vSphere service address to connect to |
-o PORT, --port PORT | Port to connect on |
-u USER, --user USER | User name to use when connecting to host |
-p PASSWORD, --password | Password to use when connecting to host, can also be set by env VSPHERE_PASS |
-nossl, --disable-ssl-verification | Disable ssl host certificate verification |
--sessionfile FILE | it caches sessionId in FILE to avoid logging in and out so much |
Common Options
option | description |
---|---|
--vihost VIHOST | name of the ESXi Host as seen by the vCenter |
--vimtype VIMTYPE | the object type to check, it’s a managed entity like: HostSystem, Datacenter or VirtualMachine |
--vimname VIMNAME | the name of the ManagedEntity of vimtype |
--warning WARNING | warning threshold |
--critical CRITICAL | critical threshold |
Environment Variables
var | description |
---|---|
CONNECT_NOFAIL | if set a connection error exits with status OK |
TIMEOUT | Global timeout of the plugin in seconds, defaults to 30 |
VSPHERE_PASS | default value for --password option |