Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
Your review has been submitted and is pending approval.
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
Owner
Nagios Exchange
Compatible With
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 ";
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.
perfect on Data ONTAP Release 7.3 great thanx
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.
You must be logged in to submit a review.
To:
From: