Regarding loading MIB

Parth Bakshi <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,
        I am new to SNMP and im trying to load RFC1253 MIB into the snmpd
daemon. I tried running snmptranslate as shown below

parthbak@node0:~$ snmptranslate -On
RFC1253-MIB::ospf.ospfGeneralGroup.ospfRouterId
.1.3.6.1.2.1.14.1.1

I get object identifier for the specified obj name

However when i try snmpgetnext i get the following Error.

parthbak@node0:~$ snmpgetnext -v 2c -c public localhost
ospf.ospfGeneralGroup.ospfRouterId
ospf.ospfGeneralGroup.ospfRouterId: Unknown Object Identifier (Sub-id not
found: (top) -> ospf)

However when i try

parthbak@node0:~$ snmpgetnext -v 2c -c public localhost
RFC1253-MIB::ospf.ospfGeneralGroup.ospfRouterId
HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (917941) 2:32:59.41

I get the following values which is not i want.

I believe the MIB hasnt been loaded properly I use ubuntu 7.04 for my
project.


Any Suggestions??

Parth

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb

_______________________________________________
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.