On 21/07/06, 蔷<Qiang Hu> <[EMAIL PROTECTED]> wrote:
I run the command "snmpget" with mymib ...the responses are
similar as following:

[EMAIL PROTECTED] ]# snmpget -v 1 -c democommunity localhost
private.enterprises.mymibMIB.mymibManagement.mymibVersion.0
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.

Have you set up access control to allow "democommunity" to query
agent?   You probably need a line such as

   rocommunity  democommunity

in your snmpd.conf file.


Failed object: M3UA-MIB::m3uaVersion.0

Hmmm.... that doesn't look like the same MIB name that you used
originally.  I presume that the enterprise you are using for
'mymibMIB' is one that you have been officially allocated by IANA?  I
hope you're not just using an enterprise number at random, or one
which has been allocated to somebody else.

Remember that you can always use 'NET-SNMP-MIB::netSnmpPlaypen' for
private experimentation.

But the fundamental problem looks suspiciously like access control.

Dave
-------------------------------------------------------------------------
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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to