Re: help

jihed lazid <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2010/5/26 Dave Shield <[email protected]>

> On 25 May 2010 23:12, jihed lazid <[email protected]> wrote:
> > I followed the tutorial in the web site when i add the MIB files to
> > /usr/share/snmp/mibs then i use the command
> > MIB=ALL
>
>
>  $ man snmp.conf
>
>   [snip]
>
>       mibs MIBLIST
>              specifies a list of MIB  modules  (not  files)  that  should
>  be
>              loaded.   This  operates  in the same way as the -m option -
> see
>              snmpcmd(1) for details.  Note that this list can  be
>  overridden
>              by the >>>MIBS<<< environment variable, and the -m option.
>
> Please note the name of the environmental variable.
> (You may also need to "export" this value)
>
> > but snmptranslate can't see my MIBs and mib2c too when i try the commande
> :
> > mib2c -c mib2c.int_watch.conf XFSMIB
>
> That won't work - mib2c wants the name of a MIB object, not a MIB module.
>
> > or
> > mib2c -c mib2c.int_watch.conf xfsGeneral
>
> That should work if you set the environment correctly.
>
> Or you could try
>
>     mib2c -c mib2c.int_watch.conf XFSMIB::xfsGeneral
>
>
> Dave
>



but how i can generate the MIB module needed by mib2c than i have just the
MIB files ( xfsGeneral.mib , xfsalm.mib ..... ) ?

Note : mib2c -c mib2c.int_watch.conf XFSMIB::xfsGeneral   ; dosn't work

------------------------------------------------------------------------------

_______________________________________________
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.