RE: Please correct my understanding regarding snmpwalk
Jurkiewicz Jean-Marc <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, Snmptranslate knows what .1.3.6.1.4.1.8072.2 is, but the equipment ( localhost in this case) has no “answer” to that request : No Such Object available on this agent at this OID Best regards JMJ De : Aslam Abbas [mailto:[email protected]] Envoyé : vendredi, 18. mars 2016 11:50 À : [email protected] Objet : Please correct my understanding regarding snmpwalk $ snmptranslate .1.3.6.1.4.1.8072.1 NET-SNMP-MIB::netSnmpObjects $ snmptranslate .1.3.6.1.4.1.8072.2 NET-SNMP-EXAMPLES-MIB::netSnmpExamples So I am looking at two OIDs. .1.3.6.1.4.1.8072.1 and .1.3.6.1.4.1.8072.2. If I do an snmpwalk on the first $ snmpwalk -mALL -v 2c -c public localhost .1.3.6.1.4.1.8072.1 NET-SNMP-AGENT-MIB::nsModuleName."".1.0.0 = STRING: NET-SNMP-AGENT-MIB::nsModuleName."".1.1.0 = STRING: NET-SNMP-AGENT-MIB::nsModuleName."".1.2.0 = STRING: NET-SNMP-AGENT-MIB::nsModuleName."".7.1.3.6.1.2.1.4.127 = STRING: ip .... ... ... I can see all the values. But if I do on the second one. $ snmpwalk -mALL -v 2c -c public localhost .1.3.6.1.4.1.8072.2 NET-SNMP-EXAMPLES-MIB::netSnmpExamples = No Such Object available on this agent at this OID What am I missing here? Why does it say no object when I can do an snmptranslate? /usr/share/snmp/mibs/NET-SNMP-EXAMPLES-MIB.txt contains a trap definition for netSnmpExampleHeartbeatRate. I was trying to see if I could get the netSnmpExampleHeartbeatRate value by doing a snmpwalk and then greping from it. My /etc/snmp/snmpd.conf has the following view: view all included .1 80 Thanks, Aslam Abbas about.me/aslamabbas ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140 _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users