Re: snmpd loading with mibs not from the difault libraries

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Tue, 2005-09-27 at 01:41 -0700, Moran Mazig wrote:
> I tried to load snmpd like this:
>
> snmpd  -C -c /usr/local/share/snmp/snmpd.conf
>                -M /root/.snmp/mibs_3x -f  -L
>
> But I got errors about missing mibs from: /usr/local/share/snmp/mibs


Try
	-M +/root/.snmp/mibs_3x

(to *add* the directory to the search list, rather than replacing it)



> So I tried:
> 
> snmpd  -C -c /usr/local/share/snmp/snmpd.conf
>  -M /root/.snmp/mibs_3x /usr/local/share/snmp/mibs -f  -L
> 
> And it didn’t work also.

No - it wouldn't.

  $ man snmpcmd

  -M mibdirs
    specifies a colon separated list of directories to search for MIBs.
                ^^^^^^^^^^^^^^^


Dave



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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.