2006-11-20 Jason Schoonover Initial Netapp support was added in 1.0.2 Additional MIB's added in 1.0.7 1. Introduction 2. Configuration 3. Display Network Appliance OnTap 7.x plugin 1. Introduction This plugin can be used for a Network Appliance Filer. It will monitor and graph disk usage, and will print traffic graphs as well. It does not send out any alerts, however, because the Netapp's themselves are unbelievable redundant and will send out alerts when it has problems. It has been tested on an FAS270 and a FAS3020, I have never tested this against a netapp filer cluster, or anything of that nature, so I have no idea what that would look like (although I would love to hear about success / failure). 2. Configuration The way to configure an netapp is with the 'host' directive in the unnoc.conf file. See the README.hosts file for proper syntax, here is an example config: host { hostname = netapp-1 community = public type = netapp } You can specify a different interval with the 'interval' directive. If you would like to check the up/down status via 'ping' then specify the 'updown' directive as 'ping'. The default value of 'updown' is 'snmp' -- this means that if it does not get a response via snmp, then it will consider it down, or will wait until 'fuzz' attempts before it considers it down (if fuzz is defined). You can also specify the 'warn_disk_space' directive which will change the amount of disk percentage usage that is considered a warning globally. New to 1.0.7, you can now specify warning and hard limits on a per partition basis. This will allow you to set warnings/limits if your version of ONTAP does not support setting this value via SNMP. The proper syntax for this is: host { hostname = ... community = ... disk { partition = /vol/partition/name/ warn_usage = 80% high_usage = 95% } disk { partition = /vol/other/partition/name/ high_usage = 10500000 } ... } NOTE: you can also specify a kilobyte value, but the percentage method is preferred. The value of warn_usage and high_usage are percentage USED. That means that if warn_usage is set to 90%, then that means that it will set a warning when free disk usage is 10% or less. 3. Display To display a link on the main index page, use the print_href functions, the valid argument for print_href_type is 'netapp', like this: print_href_type ('netapp'); You can also just use a simple link, like this: display.php?host=netapp-1 4. MIB's read Below is the MIB information that is used to collect all of the statistics from the Netapp ## version and model NETWORK-APPLIANCE-MIB::productVersion.0 - .1.3.6.1.4.1.789.1.1.2.0 NETWORK-APPLIANCE-MIB::productModel.0 - .1.3.6.1.4.1.789.1.1.5.0 ## global status NETWORK-APPLIANCE-MIB::miscGlobalStatus.0 - .1.3.6.1.4.1.789.1.2.2.4.0 NETWORK-APPLIANCE-MIB::miscGlobalStatusMessage.0 - .1.3.6.1.4.1.789.1.2.2.25.0 ## CPU statistics - 3 - Cpu Count, Busy, Idle NETWORK-APPLIANCE-MIB::cpuBusyTime.0 - .1.3.6.1.4.1.789.1.2.1.2.0 NETWORK-APPLIANCE-MIB::cpuBusyTimePerCent.0 - .1.3.6.1.4.1.789.1.2.1.3.0 NETWORK-APPLIANCE-MIB::cpuIdleTime.0 - .1.3.6.1.4.1.789.1.2.1.4.0 NETWORK-APPLIANCE-MIB::cpuIdleTimePerCent.0 - .1.3.6.1.4.1.789.1.2.1.5.0 NETWORK-APPLIANCE-MIB::cpuCount.0 - .1.3.6.1.4.1.789.1.2.1.6.0 ## not used right now #### NETWORK-APPLIANCE-MIB::cpuSwitchInvocations.0 - .1.3.6.1.4.1.789.1.2.1.7.0 #### NETWORK-APPLIANCE-MIB::cpuContextSwitches.0 = .1.3.6.1.4.1.789.1.2.1.8.0 #### NETWORK-APPLIANCE-MIB::cpuNonCPInterrupts.0 - .1.3.6.1.4.1.789.1.2.1.10.0 #### NETWORK-APPLIANCE-MIB::cpuCPInterruptPercent.0 - .1.3.6.1.4.1.789.1.2.1.11.0 #### NETWORK-APPLIANCE-MIB::cpuNonCPInterruptPercent.0 - .1.3.6.1.4.1.789.1.2.1.12.0 #### NETWORK-APPLIANCE-MIB::cpuTotalDomainSwitches.0 - .1.3.6.1.4.1.789.1.2.1.13.0 ## Network interface statistics - 2 - Received, Sent NETWORK-APPLIANCE-MIB::miscHighNetRcvdBytes.0 - .1.3.6.1.4.1.789.1.2.2.11.0 NETWORK-APPLIANCE-MIB::miscLowNetRcvdBytes.0 - .1.3.6.1.4.1.789.1.2.2.12.0 NETWORK-APPLIANCE-MIB::miscHighNetSentBytes.0 - .1.3.6.1.4.1.789.1.2.2.13.0 NETWORK-APPLIANCE-MIB::miscLowNetSentBytes.0 - .1.3.6.1.4.1.789.1.2.2.14.0 ## Disk statistics - 2 - Read, Write NETWORK-APPLIANCE-MIB::miscHighDiskReadBytes.0 - .1.3.6.1.4.1.789.1.2.2.15.0 NETWORK-APPLIANCE-MIB::miscLowDiskReadBytes.0 - .1.3.6.1.4.1.789.1.2.2.16.0 NETWORK-APPLIANCE-MIB::miscHighDiskWriteBytes.0 - .1.3.6.1.4.1.789.1.2.2.17.0 NETWORK-APPLIANCE-MIB::miscLowDiskWriteBytes.0 - .1.3.6.1.4.1.789.1.2.2.18.0 ## NFS statistics - 1 - Ops NETWORK-APPLIANCE-MIB::nfsIsLicensed.0 - .1.3.6.1.4.1.789.1.3.3.1.0 NETWORK-APPLIANCE-MIB::miscHighNfsOps.0 - .1.3.6.1.4.1.789.1.2.2.5.0 NETWORK-APPLIANCE-MIB::miscLowNfsOps.0 - .1.3.6.1.4.1.789.1.2.2.6.0 ## not used right now ######################### ### NETWORK-APPLIANCE-MIB::rpcCalls.0 - .1.3.6.1.4.1.789.1.3.1.1.1.0 ### NETWORK-APPLIANCE-MIB::rcpTcpCalls.0 - .1.3.6.1.4.1.789.1.3.1.1.7.0 ### NETWORK-APPLIANCE-MIB::rpcUdpCalls.0 - .1.3.6.1.4.1.789.1.3.1.1.11.0 ######################### ## CIFS statistics - 1 - Ops NETWORK-APPLIANCE-MIB::cifsIsLicensed.0 - .1.3.6.1.4.1.789.1.7.1.21.0 NETWORK-APPLIANCE-MIB::cifsIsEnabled.0 - .1.3.6.1.4.1.789.1.7.1.1.0 NETWORK-APPLIANCE-MIB::miscHighCifsOps.0 - .1.3.6.1.4.1.789.1.2.2.7.0 NETWORK-APPLIANCE-MIB::miscLowCifsOps.0 - .1.3.6.1.4.1.789.1.2.2.8.0 ## FC statistics - 3 - Read, Write, Ops NETWORK-APPLIANCE-MIB::fcpIsLicensed.0 - .1.3.6.1.4.1.789.1.17.1.0 NETWORK-APPLIANCE-MIB::fcpLowReadBytes.0 - .1.3.6.1.4.1.789.1.17.3.0 NETWORK-APPLIANCE-MIB::fcpHighReadBytes.0 - .1.3.6.1.4.1.789.1.17.4.0 NETWORK-APPLIANCE-MIB::fcpLowWriteBytes.0 - .1.3.6.1.4.1.789.1.17.5.0 NETWORK-APPLIANCE-MIB::fcpHighWriteBytes.0 - .1.3.6.1.4.1.789.1.17.6.0 NETWORK-APPLIANCE-MIB::fcpHighOps.0 - .1.3.6.1.4.1.789.1.17.13.0 NETWORK-APPLIANCE-MIB::fcpLowOps.0 - .1.3.6.1.4.1.789.1.17.14.0 ## iSCSI statistics - 3 - Read, Write, Ops NETWORK-APPLIANCE-MIB::iscsiIsLicensed.0 - .1.3.6.1.4.1.789.1.17.2.0 NETWORK-APPLIANCE-MIB::iscsiLowReadBytes.0 - .1.3.6.1.4.1.789.1.17.7.0 NETWORK-APPLIANCE-MIB::iscsiHighReadBytes.0 - .1.3.6.1.4.1.789.1.17.8.0 NETWORK-APPLIANCE-MIB::iscsiLowWriteBytes.0 - .1.3.6.1.4.1.789.1.17.9.0 NETWORK-APPLIANCE-MIB::iscsiHighWriteBytes.0 - .1.3.6.1.4.1.789.1.17.10.0 NETWORK-APPLIANCE-MIB::iscsiHighOps.0 - .1.3.6.1.4.1.789.1.17.11.0 NETWORK-APPLIANCE-MIB::iscsiLowOps.0 - .1.3.6.1.4.1.789.1.17.12.0 ## LUN information NETWORK-APPLIANCE-MIB::lunCount.0 - .1.3.6.1.4.1.789.1.17.15.1.0 NETWORK-APPLIANCE-MIB::lunName.1 - .1.3.6.1.4.1.789.1.17.15.2.1.2.1 NETWORK-APPLIANCE-MIB::lunComment.1 - .1.3.6.1.4.1.789.1.17.15.2.1.3.1 NETWORK-APPLIANCE-MIB::lunSerialNumber.1 - .1.3.6.1.4.1.789.1.17.15.2.1.7.1 NETWORK-APPLIANCE-MIB::lunOnline.1 - .1.3.6.1.4.1.789.1.17.15.2.1.17.1 NETWORK-APPLIANCE-MIB::lunMapped.1 - .1.3.6.1.4.1.789.1.17.15.2.1.6.1 NETWORK-APPLIANCE-MIB::lunQtreeName.1 - .1.3.6.1.4.1.789.1.17.15.2.1.8.1 NETWORK-APPLIANCE-MIB::lunSizeLow.1 - .1.3.6.1.4.1.789.1.17.15.2.1.4.1 NETWORK-APPLIANCE-MIB::lunSizeHigh.1 - .1.3.6.1.4.1.789.1.17.15.2.1.5.1 NETWORK-APPLIANCE-MIB::lunHighReadBytes.1 - .1.3.6.1.4.1.789.1.17.15.2.1.11.1 NETWORK-APPLIANCE-MIB::lunLowReadBytes.1 - .1.3.6.1.4.1.789.1.17.15.2.1.12.1 NETWORK-APPLIANCE-MIB::lunHighWriteBytes.1 - .1.3.6.1.4.1.789.1.17.15.2.1.13.1 NETWORK-APPLIANCE-MIB::lunLowWriteBytes.1 - .1.3.6.1.4.1.789.1.17.15.2.1.14.1 NETWORK-APPLIANCE-MIB::lunHighErrors.1 - .1.3.6.1.4.1.789.1.17.15.2.1.15.1 NETWORK-APPLIANCE-MIB::lunHighOps.1 - .1.3.6.1.4.1.789.1.17.15.2.1.9.1 NETWORK-APPLIANCE-MIB::lunLowOps.1 - .1.3.6.1.4.1.789.1.17.15.2.1.10.1 NETWORK-APPLIANCE-MIB::lunHighReadOps.1 - .1.3.6.1.4.1.789.1.17.15.2.1.22.1 NETWORK-APPLIANCE-MIB::lunLowReadOps.1 - .1.3.6.1.4.1.789.1.17.15.2.1.23.1 NETWORK-APPLIANCE-MIB::lunHighWriteOps.1 - .1.3.6.1.4.1.789.1.17.15.2.1.24.1 NETWORK-APPLIANCE-MIB::lunLowWriteOps.1 - .1.3.6.1.4.1.789.1.17.15.2.1.25.1 NETWORK-APPLIANCE-MIB::lunHighOtherOps.1 - .1.3.6.1.4.1.789.1.17.15.2.1.26.1 NETWORK-APPLIANCE-MIB::lunLowOtherOps.1 - .1.3.6.1.4.1.789.1.17.15.2.1.27.1 ## not used right now #### NETWORK-APPLIANCE-MIB::lunSnapStatus.1 - .1.3.6.1.4.1.789.1.17.15.2.1.18.1 #### NETWORK-APPLIANCE-MIB::lunShareStatus.1 - .1.3.6.1.4.1.789.1.17.15.2.1.19.1 #### NETWORK-APPLIANCE-MIB::lunSpaceReserved.1 - .1.3.6.1.4.1.789.1.17.15.2.1.20.1 #### NETWORK-APPLIANCE-MIB::lunStatsResetTime.1 - .1.3.6.1.4.1.789.1.17.15.2.1.21.1 vim:tw=72:wm=1