vmware_monitor
v1.0

Steve Shipway 2005

This will obtain data about a VMWare server for display via routers2.

Required: UNIX, Perl, routers2, VMWare server

# Usage:
# vmware_monitor -d rrddirectory [-c cachefile] -m mrtgcfgfile
#                -H vmwarehost [-C community]
# default rrddir is .
# default cachefile is <rrddir>/cache
# default mrtg file is <rrddir>/vmware.cfg
# default community is public
# default hostname is localhost

This script should be run every 5 minutes via cron.

It will create rrd files in rrddirectory, and will create a .cfg file which
can be understood by routers2.  This .cfg file should NOT be given to MRTG, it
is for routers2 only.  This script takes care of retrieving the numbers, so
MRTG is not required.

vmware_monitor2 is a better version that produces much more, but it requires
you to install the vmware-stats SNMP extension on the ESX server.  For details
in how to do this, collect the check_esx plugin from www.nagiosexchange.org

