net-snmp

net-snmp: force table to have xxEntry value of 2 instead of 1

Using net-snmp, table code generated by mib2c -c mib2c.iterate.conf fooBarTable and then heavily hacked. Unfortunately the table is defined with an Entry of 2 instead of the normal 1. (I didn't do this, I'm trying to make this fit into an existing situation.) The MIB looks something like this: fooBarTable OBJECT-TYPE SYNTAX ...

Resetting all global internal state of the net-snmp library from the Python bindings

I'm trying to create automated integration tests for this hardware+software test subject which runs a SNMP agent as it's command interface. Our test setup looks like this: We're using Fitnesse as a test runner and PyFit to be able to write the tests in Python. We then use netsnmp with Python bindings to send SNMP commands. This works pre...

can't load OID after add MIBS into net-snmp in suse !

i add Oracle mibs in to net-snmp by : mibs +OR-mib .. in snmp.conf ! and : #MIBS=+OR-mib .. in shell ! ..#export MIBS ..#snmp restart .. but when i reload by : ..#snmpwalk -v2c -c private 127.0.0.1 .1.3.6.1.4.1.111 ans: snmpv2-smi::enterprises.111= no such available on this agent at this OID please help me .. thank's ...