Re: How to not load any MIB files

2011-07-07 Thread Dave Shield
On 7 July 2011 08:41, Giuseppe Modugno wrote: > It seems the only method to avoid loading MIBs is to set MIBDIRS variable to > "" No - that will still try to load the MIB files, but the SNMP library doesn't know where to find them (hence the errors that you are seeing). If you really don't wa

How to not load any MIB files

2011-07-07 Thread Giuseppe Modugno
I'm using snmptrap command to send notifications. It works well, but it is quite slow. I noticed it depends on loading all the MIB files. I don't need MIBs, because I use only numerical OIDs: snmptrap -v2c -c public 192.168.1.1 "" 1.3.6.1.4.1 [The uncomplete numerical OID is the notifi