2011-04-01 03:24 AM - last edited on 2014-09-25 03:06 PM by alissa
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?
2011-04-01 06:35 AM
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 :
2011-04-01 11:21 AM
Percent free space is .22.214.171.124.4.1.7126.96.36.199.1.6
Absolute free space is a combination of two OIDs, as NetApp does not seem to have discovered 64 bit counters.
.188.8.131.52.4.1.7184.108.40.206.1.19 (Low Available bytes) and .220.127.116.11.4.1.718.104.22.168.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:
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.