NetApp

Netapp check disk usage

Description:

This check will monitor the disk usage on a netapp volume. This script does not need a volume id, but will check on volume name. So if volumes are added or adjusted not all the checks need to be reconfigured.

Current Version

Last Release Date

January 29, 2010

Compatible With


Project Files
Project Notes
This check will monitor the disk usage on a netapp volume. This script does not need a volume id, but will check on volume name. So if volumes are added or adjusted not all the checks need to be reconfigured.
Reviews (4) Add a Review
Sum up of changes
by svindler, May 31, 2012

The following changes made it work for me on an ubuntu installation. I had the same problems as specified by other reviewers: 7c7 use lib "/usr/lib/nagios/plugins/" ; 56,58c56,58 $dfBU=`/usr/bin/snmpget -v 2c -c $opt_C $host SNMPv2-SMI::enterprises.789.1.5.4.1.30.$nr`; 60c60 my @dfbt=split(/Counter64:/,$dfBT); 65c65 my @dfbu=split(/Counter64:/,$dfBU); 95c95 print "Usage: $PROGNAME -H [-C community] -v -w -c ";



Problem in v3.3.1
by cluckinchicken, February 29, 2012

I get this when I try to run it. Any ideas? sh: /bin/awk: not found sh: /bin/awk: not found SNMPv2-SMI::enterprises.789.1.5.4.1.3.: Unknown Object Identifier (Sub-id not found: enterprises -> ) SNMPv2-SMI::enterprises.789.1.5.4.1.4.: Unknown Object Identifier (Sub-id not found: enterprises -> ) Use of uninitialized value $dfBT in division (/) at ./check_netapp-du line 62. Use of uninitialized value $dfBU in division (/) at ./check_netapp-du line 67. Illegal division by zero at ./check_netapp-du line 70.



works great
by gds, January 31, 2012

perfect on Data ONTAP Release 7.3 great thanx



Works Well, But...
by Spad, February 28, 2011

Works well, but can't handle volumes that exceed the 32-bit integer limit. This can easily be fixed for newer versions of DATA ONTAP by substituting in .1.3.6.1.4.1.789.1.5.4.1.29 and .1.3.6.1.4.1.789.1.5.4.1.30 for the disk total (dfBT) and disk used (dfBU) SNMP OIDs respectively. These return 64-bit integers, which should cover all those pesky large volumes.



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4.1 (7)
Favorites
1
Views
112,081