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


Remember Me

Directory Tree

Current Version
Last Release Date
Compatible With
  • Nagios 2.x
  • Nagios 3.x
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This script allows you to check the vmfs volumes of your VMware ESX environment (akin to check_disk); includes a working pnp4nagios template.

It only works up to ESX 3.5, and hasn't been updated yet. If you want this to work for a newer version of ESX, you have to use a wholly different approach. Leave a note, and I may decide to update the script :-)
== Requirements ==
This script needs a running snmpd on the ESX server you use for checking with the following addition to its snmpd.conf:

exec . vdf /usr/sbin/vdf

A pnp4nagios template can be found at the end of this file!

== Usage examples ==

C:ProgrammeNSClient++scripts>perl -H esxhostname -w 85 -c 90 -s vmfsvolumename -f
OK - vmfs partition '/vmfs/volumes/vmfsvolumename' is at 737/999G (73% in use) | vmfs_vmfsvolumename=772988904;891065777;995868163;0;

C:ProgrammeNSClient++scripts>perl -H esxhostname -w 85 -c 90 -s vmfsvolumename
CRITICAL - vmfs partition '/vmfs/volumes/vmfsvolumename' is at 902/999G (90% in use)

The perfdata problem is now fixed. If you can, please remove this phrase from the final text that is being published, dear Editor(s) :o)
Reviews (1)
byPriyabs, December 5, 2017
1 of 1 people found this review helpful

Is it possible to have similar plugin for ESXi 5.5 ?

Owner's reply

VMware decided to (at least) strip down their ESX image enough so you can't use normal linux software any longer, so no, at this time, there is no way to do something similar to what my script does.

BUT you can use the (kinda bloated and slow, yet powerful) check_vmware_esx by Consol Labs, which is using the Perl API VMware ESX provides, to get similar and more information.