check_esx3

check_esx3

VMWare Infrastructure plugin

Help:

./check_esx3 --help

Usage:

check_esx3 -D  | -H  | -N  [ -t  ]
 -u  -p  [ -w  ] [ -c  ]
 [ -l  ] [ -s  ]
 [ -V ] [ -v ] [ -h ]

 -?, --usage
 Print usage information
 -h, --help
 Print detailed help screen
 -V, --version
 Print version information
 --extra-opts=[[@]]
 Section and/or config\_file from which to load extra options (may repeat)
 -H, --host=
 ESX or ESXi hostname.
 -D, --datacenter=
 Datacenter hostname.
 -N, --name=
 Virtual machine name.
 -u, --username=
 Username to connect with.
 -p, --password=
 Password to use with the username.
 -f, --authfile=
 Authentication file with login and password. File syntax :
 username=
 password=
 -w, --warning=THRESHOLD
 Warning threshold. See
 http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT
 for the threshold format.
 -c, --critical=THRESHOLD
 Critical threshold. See
 http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT
 for the threshold format.
 -l, --command=COMMAND
 Specify command type (CPU, MEM, NET, IO, VMFS, RUNTIME, ...)
 -s, --subcommand=SUBCOMMAND
 Specify subcommand
 -t, --timeout=INTEGER
 Seconds before plugin times out (default: 30)
 -v, --verbose
 Show details for command-line debugging (can repeat up to 3 times)

 Supported commands(`^` means blank or not specified parameter) :
 Common options for VM, Host and DC :
 * cpu - shows cpu info
 + usage - CPU usage in percentage
 + usagemhz - CPU usage in MHz
 ^ all cpu info
 * mem - shows mem info
 + usage - mem usage in percentage
 + usagemb - mem usage in MB
 + swap - swap mem usage in MB
 + overhead - additional mem used by VM Server in MB
 + overall - overall mem used by VM Server in MB
 ^ all mem info
 * net - shows net info
 + usage - overall network usage in KB/s
 + receive - receive in KB/s
 + send - send in KB/s
 ^ all net info
 * io - shows disk io info
 + read - read latency in ms
 + write - write latency in ms
 ^ all disk io info
 * runtime - shows runtime info
 + status - overall host status (gray/green/red/yellow)
 + issues - all issues for the host
 ^ all runtime info

 VM specific :
 * cpu - shows cpu info
 + wait - CPU wait in ms
 * mem - shows mem info
 + swapin - swapin mem usage in MB
 + swapout - swapout mem usage in MB
 + active - active mem usage in MB
 * io - shows disk I/O info
 + usage - overall disk usage in MB/s
 * runtime - shows runtime info
 + con - connection state
 + cpu - allocated CPU in MHz
 + state - virtual machine state (UP, DOWN, SUSPENDED)
 + consoleconnections - console connections to VM
 + guest - guest OS status, needs VMware Tools
 + tools - VMWare Tools status
         - 
 Host specific :
 * io - shows disk io info
 + aborted - aborted commands count
 + resets - bus resets count
 + kernel - kernel latency in ms
 + device - device latency in ms
 + queue - queue latency in ms
 * vmfs - shows Datastore info
 + (name) - info for datastore with name (name)
 ^ all datastore info
 * runtime - shows runtime info
 + con - connection state
 + maintenance - shows whether host is in maintenance mode
 + list - list of VMWare machines and their statuses
 * service - shows Host service info
 + (names) - check the state of one or several services specified by (names), syntax for (names):,,...,
 ^ show all services

 DC specific :
 * io - shows disk io info
 + aborted - aborted commands count
 + resets - bus resets count
 + kernel - kernel latency in ms
 + device - device latency in ms
 + queue - queue latency in ms
 * vmfs - shows Datastore info
 + (name) - info for datastore with name (name)
 ^ all datastore info
 * runtime - shows runtime info
 + list - list of VMWare machines and their statuses
 * recomendations - shows recomendations for cluster
 + (name) - recomendations for cluster with name (name)
 ^ all clusters recomendations