On Wed, 2006-03-01 at 13:37 +0530, vishakha s wrote: > I am learning about traps in net-snmp .There is a problem related to > snmptrapd.conf file .When I issue the following command > ./snmptrapd -m ALL -P > > It gives the following error : > > Cannot find module (IF-MIB): At line 0 in (none) > /home/rajesh/snmptrap1/share/snmp/snmptrapd.conf: line 10: > Error: Bad trap OID in traphandle directive: IF-MIB::linkDown
The problem is simply that it can't find the MIB files. Try using a numeric OID instead: traphandle .1.3.6.1.6.3.1.1.5.3 /home/snmptrap1/bin/traps down Dave ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users