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

Reply via email to