I have created one mib file where five variables are added. Also by using the following command I’m able to see the OID’s of the all varialbes. After this by using “PASS protocol” I tried to get the data from the one variable with the help of following script file After running the above script file I used the following
Tag: net-snmp
C NET-SNMP Get and Set specifically via MIB Name, Not OID
I have written and am testing software for a generic SNMP client module in C as well as an implementation using this generic module. I am having trouble getting a get request to work by passing in a MIB name(e.g. sysDescr) instead of an OID(e.g. 1.3.6.1.2.1.1.1). I am successful when I pass in a character array containing the OID to