Re: example code does not work

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 27/09/2007, Devvrat Tripathi <[email protected]> wrote:
> When i do
>    snmpget localhost NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0
>
> i get the error
> Cannot find module (NET-SNMP-TUTORIAL-MIB):

Have you installed the MIB file?

>                                              One thing which i do not
> understand in that tutorial is what to do with the
> NET-SNMP-TUTORIAL-MIB.txt file.

Presumably not.


>                                                             At line 0 in (none)
> NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0: Unknown Object Identifier

If the "snmpget" client can't find the MIB file, then it won't understand
what you mean by 'nstAgentSubagentObject'
   You must copy the file NET-SNMP-TUTORIAL-MIB.txt
into the same location as the other MIB files - typically either
/usr/local/share/snmp/mibs or /usr/share/snmp/mibs
(depending how the software was compiled).

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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.