Skip to main content
7 events
when toggle format what by license comment
Sep 18, 2017 at 5:44 comment added Ashish Srivastava Oh! Thank you so much:) I will also post a new thread on the same...
Sep 15, 2017 at 14:51 comment added Jordan Head Thanks for the update. I don't know enough about the library you are using to say exactly what is going on, but where it says "Wrong Type" that has to do with the type of data that is stored in each OID, examples are INTEGER, STRING, etc. The values need to correspond to the type of data that are stored there, correctly. Beyond that, given how the scope of your question has changed I suspect it is now off topic for this SE site, I would try asking a new question in Stackoverflow or Super User regarding your most recent update, and how to properly define MIBs.
Sep 15, 2017 at 5:35 comment added Ashish Srivastava I updated the post. Please have a look and tell me if I'm wrong?
Sep 15, 2017 at 5:11 comment added Ashish Srivastava ya as I said I've a custom MIB that I want to implement(add) in snmp. Ok I will update my question with a simple MIB file that I'm testing with.
Sep 14, 2017 at 12:44 comment added Jordan Head The short answer is, you can't. There either isn't any information in the OID you are trying to get or the OID is a table, snmpget won't work for a table. Is there any reason you have to use snmpget? snmpwalk should be fine.
Sep 14, 2017 at 10:55 comment added Ashish Srivastava yes you're right, I get the values when I do snmpgetnext but not with snmpget. I also get expected output from snmpwalk. So what to do next so that I can also get the values through snmpget?
Sep 13, 2017 at 15:25 history answered Jordan Head CC BY-SA 3.0