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

Directory Tree

check_snmp_vmfs.sh

Rating
1 vote
Favoured:
0
Hits
98442
Files:
FileDescription
check_snmp_vmfs.shcheck_snmp_vmfs.sh
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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.