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

check_netapp-du

Current Version
2.3a
Last Release Date
2015-01-23
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
  • Nagios Fusion
License
GPL
Hits
68455
Files:
FileDescription
check_netapp-duPlugin code
netapp-shares.mapShare to volume mapping file
netapp-gencacheCache generation
NETWORK-APPLIANCE-MIB.txtNetApp MIBs
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!
A very fast SNMP based disk space checker for NetApp NAS filers, which supports both Volumes and QTrees, also over 2TB.
This is a disk space checker for NetApp filers, based on an older plugin by Rob Hassing. The plugin interrogates the NAS via SNMP and supports both Volumes and subdirectories with user quota aka QTrees, also ones larger than 2TB.

The plugin uses a map file (netapp-shares.map) and some basic heuristics to translate Windows share names to volume/Qtree names (CIFS share names are not exposed via SNMP).

Usage:

check_netapp-du.pl -H -v [-C community] -w -c [-e] [-f files-warn] [-F files-crit] [--force-gencache] [--prefix=/vol] [--debug]

For performance reasons, the SNMP Volume and QTree IDs are looked up from a local cache file rather than retrieved from the NetApp filer every time. It will be necessary to regenerate this cache regularly, as volumes are added or changed on the NAS.

Since the running time of this cache generation may be too long for Nagios (depending on the global service check time-out), it is recommended to do this only from an interactive shell or a cron job. Run a check on any volume adding the "-–force-gencache" parameter to regenerate the volume ID cache. A sample script is provided which can be run from cron, provided you are running Opsview, and provided all NetApp filers are in the same host group.
Reviews (1)
Hi,

I have used this plugin got the below error message,
print() on closed filehandle LOCKFILE at ./check_netapp-d line 140
sh: /data/scripts/nagios/NAS/.netapp-oidcache.10.65.5.4: No such file or directory
CRITICAL: Could not cache list of shares: error 1

found that there is a folder should be created in this path to generate a cron job script for specific settings. So i created manually to resolve this. After that, its working fine...