NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

SNMP Free Space Monitoring

christop
14,548 Views

Customer is asking me if we can monitor for free space in a volume via SNMP?  They are using a tool called PRTG to monitor their environment.

 

Do anyone know if ONTAP’s SNMP capability allow them to view free space in a volume?

5 REPLIES 5

seacliff1
14,550 Views

I never heard of PRTG before, but I am monitoring volumes and snapshot size using nagios.

christop
14,550 Views

What SNMP traps are you using for volume free/used space?

seacliff1
14,550 Views

I am not using any traps, but plain monitoring. Every once in a while (5 min) nagios check the status of volumes.

This is the plugin I am using :

http://exchange.nagios.org/directory/Plugins/Hardware/Storage-Systems/SAN-and-NAS/NetApp/check_netapp/details

steve_francis
14,550 Views

Percent free space is .1.3.6.1.4.1.789.1.5.4.1.6

Absolute free space is a combination of two OIDs, as NetApp does not seem to have discovered 64 bit counters.

.1.3.6.1.4.1.789.1.5.4.1.19 (Low Available bytes) and .1.3.6.1.4.1.789.1.5.4.1.18 (High Available Bytes)

And more aggravatingly, NetApp returns these as signed integers, when they are not.

So you have to correct to get the actual value, depending on whether the first bit is set or not.

So to get Free Space:

((if(lt(dfLowAvailKBytes,0),4294967296+dfLowAvailKBytes,dfLowAvailKBytes)+(dfHighAvailKBytes*4294967296))*1024)

And another issue - the indexes of Volumes change fairly regularly, if you add/remove volumes.

To avoid all these hassles, we use LogicMonitor.com which automates all the volume discovery, the index changes, the space calculations, and gives latency per volume and other stuff not available through SNMP.

VIRTUALGEEK2
14,550 Views

User NetApp Performance Monitor and NetApp Unified Manager, it does 99% of all monitoring and its free!

Public