Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

check_snmp_vmfs.sh

Rating
1 vote
Favoured:
0
Hits
94150
Files:
FileDescription
check_snmp_vmfs.shcheck_snmp_vmfs.sh
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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.
Usage:

./check_snmp_vmfs.sh

You will need to put the following in your /etc/snmp/snmpd.conf file on your ESX server then restart snmpd:
exec .1.3.6.1.4.1.6876.99999.1 vdf /usr/sbin/vdf -h

I have tested this and use it in production and you may use it at your own risk.
Reviews (1)
bytazinblack, April 27, 2010
0 of 1 people found this review helpful
Sorry, does not work together with the standard configuration of the snmpd on esx4.
Maybe someone can post here how to use it there.