querying agent with mib object name

Balamurugan V <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello everyone,

i am new to net-snmp agent and i implmented an agent
for a private MIB module using net-snmp, and i can
query my agent with the OIDs, but when i query the
agent with MIB object's name, it doesn't return
anything.

For example, following command works, 
snmpwalk -v 2c -c public localhost enterprises.12345

but, this doesn't work:
snmpwalk -v 2c -c public localhost
enterprises.myPrivMib

Error mesg:
enterprises.myPrivMib: Unknown Object Identifier
(Sub-id not found: enterprises -> myPrivMib

kindly advise me how to make the agent to understand
MIB object name and respond to the queries?

Thanks,
Bala


 
____________________________________________________________________________________
Sponsored Link

Rates near 39yr lows. $420,000 Loan for $1399/mo. 
Calcuate new payment. www.LowerMyBills.com/lre


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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.