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


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!
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
";
Helpful? Yes  No 
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.
Helpful? Yes  No 
works great
by gds, January 31, 2012
perfect on Data ONTAP Release 7.3
great thanx
Helpful? Yes  No 
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.
1 of 1 found this review helpful.
Helpful? Yes 1 No 0
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,056