2009/3/23 Manav <[email protected]>:
> When i do snmpget or snmpwalk i get the following errors:
>
> [r...@bugzilla usr]# snmpget -v 2c -c public localhost enterprises.cpMIB

That will never work.
GET requires the exact OID of a particular object instance.
Please try working with existing MIB objects until you're happy
with how these commands work.
   You really need to understand the basics of SNMP before trying
to write your own extensions.


> enterprises.cpMIB: Unknown Object Identifier
>   (Sub-id not found: enterprises -> cpMIB)

You aren't loading your MIB file.
Please see the FAQ entry about "adding a MIB to the tools"



> [r...@bugzilla usr]# snmpwalk -v 2c -c public localhost enterprises.cpMIB
> End of MIB
>
> What might be the cause of this error.

Two main possibilities.
One is access control - can you see *anything* under the enterprises tree?
   If not, then see the FAQ entries on access control.

If you can, then the problem most likely lies with your MIB extension.
There's a checklist of things to try in the FAQ.
   Work through that, which should help pinpoint what is happening.

Dave

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to