MIB search path

Simon Chamlian <[email protected]>
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <CANmTPBbWv4wdiN0HcBNLk=MMXCooqaQn3=fsBtoJKLnmXZ-HSw@mail.gmail.com>
Hi,

When using snmpinform, I get the messages:

SNMPInform failed: MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs

Where are these MIB search paths defined?

When I issue:
# net-snmp-config --default-mibdirs
/home/root/.snmp/mibs:/usr/share/snmp/mibs

So it should look for:
 /home/root/.snmp/mibs  but instead it looks for /root/.snmp/mibs.

Also,
# echo $HOME
/home/root

Why are the applications looking for the MIB in the wrong path ?

Thanks,
S.

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
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.