check_esx3 (Visit this link)

rating4 from 1 votes
Nagios plugin made by www.op5.com which is compatible with ESX 3.5 which uses the VMWare API (via HTTPS) to do a wide variety of checks. You can check out the latest version with GIT from their repository at git://git.op5.org/nagios/op5plugins.git Requires the Nagios::Plugin CPAN module as well as the "VMware Infrastructure (VI) Perl Toolkit Packages" available from http://www.vmware.com/download/sdk/ See http://www.op5.com/support/documentation/how-to/400-monitoring-vmware-esx-3x-and-vmware-esxi for Nagios Command definitions, although the latest version of the script supports additional checks which aren't listed on that webpage yet, so you'll probably need to make a few more up.
./check_esx3 --help
check_esx3 0.1.0

This nagios plugin is free software, and comes with ABSOLUTELY NO WARRANTY.
It may be used, redistributed and/or modified under the terms of the GNU
General Public Licence (see http://www.fsf.org/licensing/licenses/gpl.txt).

VMWare Infrastructure plugin

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
+ mem - allocated mem in MB
+ 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

Submitted by: Sadus
Hits: 5881
Overall downloads: 1725
Added: 2008-12-09 00:00:00
Last Modified: 2009-12-16 16:45:16

Filename Preview Size Description DL
check_esx3 69 kb Unknown Tag: 'FileDesc1' 4800
check_esx3.pl Preview 8 kb Unknown Tag: 'FileDesc1' 1361

Comments


Leave a reply

If you just want to rate the project leave the other field empty.
Even though it would be nice if you would drop a line.

Allowed tags: blockquote, strong, a, b, i, u, code

Captcha Reload Image


  • Check hardware running VMware ESXi

    rating3 from 3 votes
    Python script which permits you to check your hardware's health when it runs VMware (free) ESXi appliance.
  • check_esx

    rating2 from 4 votes
    Check CPU, Memory, Network, and VM Status on a VMWare ESX virtual server, via SNMP. Also support for MRTG querying, and listing VMs/interfaces. V2.3 fixes minor problems triggered by the Nagios 2 embedded perl compiler. Now superceeded by check_vmware which uses VC API instead of SNMP: http://www.steveshipway.org/forum/viewtopic.php?f=28&t=1648
  • check_vmware3.pl

    rating5 from 1 votes
    A nagios check plugin for VMware ESX Server based on the perl API.
    You need the VMware perl API to use it. (And you need to patch that API to get rid of a bug in it)
    Including the Netways NagiosGrapherV1 templates to get nice graphs.
    look at it on http://nagioswiki.org/wiki/Plugin:check_vmware3.pl
  • check_esxvm

    rating from 0 votes
    This perl script check the state of the Virtual Machines defined on an ESX server.
  • VMWare ESX guest status checks

    rating1 from 1 votes
    Check some aspects of VMWare ESX guests (cpu, memorry, netio, kernel and status)
  • check_vmware_server_1.x

    rating1 from 2 votes
    Used to list Vmvare Server 1.x
    1) Inventory
    2) HOST RAM (total, not assigned, not used by Guest Machine)
    3) GUEST RAM ( assigned and used by Guest Machine
    4) Path file of Guest Machine on the File System
    
  • ESX CPU Monitoring

    rating from 0 votes
  • check esx datastores aka VMFS filesystems using Python and CIM

    rating from 0 votes
    Good Afternoon guys, here I created another Python Script. This script will check your DataStores aka VMFS. I built this script so that it can be used with Nagios and or Zenoss. The purpose of this script is so that you can monitor thresholds on a per DataStore/VMFS. You will need to download and install Pywbem in order to use this script. Script is available here http://www.linuxdynasty.org/check-esx-datastores-using-python-and-cim.html
  • VM-Ware ESX snapshot check

    rating4 from 2 votes
    This shell script uses the output of the "find" command (published via snmp to avoid check_by_ssh or NRPE) to determine the existance of any snapshot files in a directory an its subdirectories within VM-Ware ESX servers.
  • check_snmp_vmfs.sh

    rating4.5 from 2 votes
    This shell script uses the output of the "vdf" command (published via snmp to avoid check_by_ssh or NRPE) to determine the free space of a given vmfs volume as measured in GB.
Catalot 1.3.0 (appkit/v0.9.0-dev, Agavi/1.0.0) | www.netways.de | Legal
© 2009 NETWAYS GmbH. The Program is provided AS IS, without warranty. Licensed under GPLv3.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3.