Please correct my understanding regarding snmpwalk

Aslam Abbas <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAF3jx_+Qa=-HSQ3e208hvxx9ABnFqj0x_viAr=w2qRrmFRPNsw@mail.gmail.com>
$ 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
[image: Aslam Abbas on about.me]
  <http://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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.