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

Netapp check disk usage

Rating
7 votes
Favoured:
1
Hits
112155
Files:
FileDescription
check_netapp-ducheck_netapp-du
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 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.
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)
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
";
bycluckinchicken, February 21, 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.
bygds, January 16, 2012
perfect on Data ONTAP Release 7.3
great thanx
bySpad, February 15, 2011
1 of 1 people found this review helpful
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.