Hi All
I am playing with SNMP lately, and i dont like SNMP get OID Value in separate PDU ( UDP Packet )
SNMP v2 supports message GET-PDU-BULK which should pack few elements into one packet. That would significantly decreased managment Load on the network. However My experience in SNMP is not very big.
So far i tried:
# snmpwalk -On -v2c -c public 10.78.9.1
...
.1.3.6.1.2.1.9999.1.1.6.4.1.8.23 = Hex-STRING: 00 21 00 76 8F 98
.1.3.6.1.2.1.9999.1.1.6.4.1.8.26 = Hex-STRING: 00 17 F2 EA B7 CD
.1.3.6.1.2.1.9999.1.1.6.4.1.8.29 = Hex-STRING: 00 17 F2 C5 F4 1C
.1.3.6.1.2.1.9999.1.1.6.4.1.8.33 = Hex-STRING: 00 30 05 0E 03 18
.1.3.6.1.2.1.9999.1.1.6.4.1.8.44 = Hex-STRING: 0C EE E6 AD FC 52
.1.3.6.1.2.1.9999.1.1.6.4.1.8.86 = Hex-STRING: 00 14 A4 1E 54 DF
.1.3.6.1.2.1.9999.1.1.6.4.1.8.88 = Hex-STRING: 00 18 41 FB 0E F7
...
Getting a value works perfect
# snmpget -On -v2c -c public 10.78.9.1 .1.3.6.1.2.1.9999.1.1.6.4.1.8.29
.1.3.6.1.2.1.9999.1.1.6.4.1.8.29 = Hex-STRING: 00 17 F2 C5 F4 1C
However as far as i unerstand SNMP i should be able to get all of .1.3.6.1.2.1.9999.1.1.6.4.1.8.X using BULK-PDU
# snmpbulkwalk -On -v2c -c public 10.78.9.1
Timeout: No Response from 10.78.9.1
# snmpbulkget -On -v2c -c public 10.78.9.1 .1.3.6.1.2.1.9999.1.1.6.4.1.8
Timeout: No Response from 10.78.9.1
Am I doing something wrong or SNMP v2 in RoS lacks this features ?
EDIT:
I found that i dont need GET-BULK-PDU, simple GET-PDU can contain multiple OID’s in one SNMP packet.
mjrob
April 29, 2010, 3:49am
2
Wondering if there is any progress on this ? Most enterprise monitoring solutions (open and closed source) use this bulk method.
cieplik206:
Hi All
I am playing with SNMP lately, and i dont like SNMP get OID Value in separate PDU ( UDP Packet )
SNMP v2 supports message GET-PDU-BULK which should pack few elements into one packet. That would significantly decreased managment Load on the network. However My experience in SNMP is not very big.
So far i tried:
# snmpwalk -On -v2c -c public 10.78.9.1
...
.1.3.6.1.2.1.9999.1.1.6.4.1.8.23 = Hex-STRING: 00 21 00 76 8F 98
.1.3.6.1.2.1.9999.1.1.6.4.1.8.26 = Hex-STRING: 00 17 F2 EA B7 CD
.1.3.6.1.2.1.9999.1.1.6.4.1.8.29 = Hex-STRING: 00 17 F2 C5 F4 1C
.1.3.6.1.2.1.9999.1.1.6.4.1.8.33 = Hex-STRING: 00 30 05 0E 03 18
.1.3.6.1.2.1.9999.1.1.6.4.1.8.44 = Hex-STRING: 0C EE E6 AD FC 52
.1.3.6.1.2.1.9999.1.1.6.4.1.8.86 = Hex-STRING: 00 14 A4 1E 54 DF
.1.3.6.1.2.1.9999.1.1.6.4.1.8.88 = Hex-STRING: 00 18 41 FB 0E F7
...
Getting a value works perfect
# snmpget -On -v2c -c public 10.78.9.1 .1.3.6.1.2.1.9999.1.1.6.4.1.8.29
.1.3.6.1.2.1.9999.1.1.6.4.1.8.29 = Hex-STRING: 00 17 F2 C5 F4 1C
However as far as i unerstand SNMP i should be able to get all of .1.3.6.1.2.1.9999.1.1.6.4.1.8.X using BULK-PDU
# snmpbulkwalk -On -v2c -c public 10.78.9.1
Timeout: No Response from 10.78.9.1
# snmpbulkget -On -v2c -c public 10.78.9.1 .1.3.6.1.2.1.9999.1.1.6.4.1.8
Timeout: No Response from 10.78.9.1
Am I doing something wrong or SNMP v2 in RoS lacks this features ?
EDIT:
I found that i dont need GET-BULK-PDU, simple GET-PDU can contain multiple OID’s in one SNMP packet.
I too would like to see SNMP fixed on RouterOS.
Bump!
Yes Bump!
This is very annoying because I have tools that ONLY use bulk GETs to gather information from a large set of devices.
It would be very nice to see this get fixed.