working with different mibs libraries

Moran Mazig <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

     i want to be able to load snmpd with different versions
     of my proprietary mibs.

     Before I had more then one version, I loaded the snmpd
     like this:
     snmpd -C -c /usr/local/share/snmp/snmpd.conf -f L

     And then it would load the mibs from two default libraries:
    /usr/local/share/snmp/mibs
    /root/.snmp/mibs

     But now I have 2 new libraries:
     /root/.snmp/mibs_22
    /root/.snmp/mibs_3x

    And I would sometimes want to load the mibs from mibs_22
    and sometimes from mibs_3x.

    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

    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 didnt work also. I got an error about not being
     able to read the second path.

     How should I activate the demon so I can load all files?

     Thanks, Moran




Yours,
Moran Mazig
__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com
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.