I want to monitor a list of Netapp Volume. In the documentation of NetApp, i found this :
1. Poll the "dfFileSys" OID to determine the Index number for each aggregate and volume on the filer.
bash-3.2$ snmpwalk -v 1 -c public filer1 .1.3.6.1.4.1.789.1.5.4.1.2 SNMPv2-SMI::enterprises.789.1.5.4.1.2.1 = STRING: "aggr0" SNMPv2-SMI::enterprises.789.1.5.4.1.2.2 = STRING: "aggr0/.snapshot" SNMPv2-SMI::enterprises.789.1.5.4.1.2.3 = STRING: "/vol/vol0/" SNMPv2-SMI::enterprises.789.1.5.4.1.2.4 = STRING: "/vol/vol0/.snapshot" SNMPv2-SMI::enterprises.789.1.5.4.1.2.5 = STRING: "aggr1" SNMPv2-SMI::enterprises.789.1.5.4.1.2.6 = STRING: "aggr1/.snapshot" SNMPv2-SMI::enterprises.789.1.5.4.1.2.7 = STRING: "/vol/vol1/" SNMPv2-SMI::enterprises.789.1.5.4.1.2.8 = STRING: "/vol/vol1/.snapshot"
2. Once the Index values are known, poll the "dfPerCentKBytesCapacity" OID:
bash-3.2$ snmpwalk -c public filer1 .1.3.6.1.4.1.789.1.5.4.1.6 SNMPv2-SMI::enterprises.789.1.5.4.1.6.1 = INTEGER: 71 SNMPv2-SMI::enterprises.789.1.5.4.1.6.2 = INTEGER: 15 SNMPv2-SMI::enterprises.789.1.5.4.1.6.3 = INTEGER: 4 SNMPv2-SMI::enterprises.789.1.5.4.1.6.4 = INTEGER: 0 SNMPv2-SMI::enterprises.789.1.5.4.1.6.5 = INTEGER: 2 SNMPv2-SMI::enterprises.789.1.5.4.1.6.6 = INTEGER: 2 SNMPv2-SMI::enterprises.789.1.5.4.1.6.7 = INTEGER: 31 SNMPv2-SMI::enterprises.789.1.5.4.1.6.8 = INTEGER: 0
I need to link the first value with the second. Can I make this with a sensor snmp ? Or i need to use the XML Custom EXE/Script Sensor for making that ?
Article Comments
I have make a test. I have create a sensor SNMP Custom String. In the OID I have write : "1.3.6.1.4.1.789.1.5.4.1.2"
But it doesn't work. I have "No such instance (SNMP error # 223)"
But if I test the same OID with snmputil on the server PRTG it's work. I obtain :
Variable = .iso.org.dod.internet.private.enterprises.789.1.5.4.1.2.102 Value = String /vol/bk_brcfi_lnx_02/.snapshot
So, I don't think it's a network problem, a community problm. I am making something wrong ?
Jan, 2012 - Permalink
I have test with your Paessler SNMP Tester 3.2. I have found the problem I think. The OID is not a single value, but under the OID, I have a table with the value
If I test the OID : 1.3.6.1.4.1.789.1.5.4.1.2 I have SNMP error #223
If I test the OID : 1.3.6.1.4.1.789.1.5.4.1.2.2 I have Value : aggr0/.snapshot
Under the first OID I have something like that :
1.3.6.1.4.1.789.1.5.4.1.2.0 : Value 1
1.3.6.1.4.1.789.1.5.4.1.2.1 : Value 2
1.3.6.1.4.1.789.1.5.4.1.2.2 : Value 3
The idea is simple, I want every line is a channel. How can I do that ?
Jan, 2012 - Permalink
Only with singe Custom SNMP Sensors that request one value each and then combining them into one with the Sensor Factory.
Jan, 2012 - Permalink
Hello,
if it's the Integer-Values, you could use two SNMP Custom Sensors and then one Sensor Factory Sensor.
best regards.
Jan, 2012 - Permalink