There are two things to be aware of that are not well explained in the example.
The argument for the snmp.table() method must be the OID of the entry (e.g. '1.3.6.1.2.1.2.2.1' for IF-MIB::ifEntry) and not the OID of the whole table (e.g. '1.3.6.1.2.1.2.2' for IF-MIB::ifTable).
The second thing that tripped me was that the columns indexes start at 1 and not at zero.
There are two things to be aware of that are not well explained in the example.
The argument for the
snmp.table()
method must be the OID of the entry (e.g.'1.3.6.1.2.1.2.2.1'
forIF-MIB::ifEntry
) and not the OID of the whole table (e.g.'1.3.6.1.2.1.2.2'
forIF-MIB::ifTable
).The second thing that tripped me was that the
columns
indexes start at 1 and not at zero.