Re: MIB search path

2021-03-25 Thread Craig Small
Hi Simon, net-snmp-config is a shell script that literally prints $HOME/.snmp/mibs snmpinform (or actually the snmp library) is a little more complicated with a bunch of overrides. So I'm trying to get what you see with: # HOME=/home/root snmpinform -v 2c -c public -m blahmib 127.0.0.1 1 blahoi

MIB search path

2021-03-25 Thread Simon Chamlian
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/.sn