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

Netapp check disk usage

Rating
7 votes
Favoured:
1
Hits
106695
Files:
FileDescription
check_netapp-ducheck_netapp-du

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting ethangalstad.me/nagios. Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

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.