shortbloke / Arduino_SNMP_Manager

SNMP Manager for ESP32/ESP8266 and Arduino
Other
50 stars 9 forks source link

SNMP Bulk Walk #30

Open zerala opened 3 months ago

zerala commented 3 months ago

Hi,

I'm trying to walk through OIDs to get the alarms table on ".1.3.6.1.2.1.33.1.6.2".

Do you have any advice to how can I achieve it?

Thanks

shortbloke commented 3 months ago

Hi @zerala the library doesn't implement GETNEXT, which is what would be required to be able to walk a table. Adding GETBULK on top of GETNEXT would make it more efficient, but this capability is also not implemented.

With the current implementation, you need to query each OID separately, which I accept may not be ideal.