Re: can't get values in mibs

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 21/07/06, 蔷<Qiang Hu> <[email protected]> wrote:
> I run the command "snmpget" with mymib ...the responses are
> similar as following:
>
> [littlepi@localhost ]# 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
[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.