On 2 April 2010 12:45, jihed lazid <jihed.la...@gmail.com> wrote: > # enterprise specific traps > traphandle UCD-TRAP-TEST-MIB::demoTrap /home/nba/bin/traps demo-trap > traphandle UCD-NOTIFICATION-TEST-MIB::demoNotif /home/nba/bin/traps demo-notif
> snmptrap -v 2c -c public localhost "" NOTIFICATION-TEST-MIB::demo-notif Two comments: a) you have an inconsistency here. The snmptrapd.conf file is referring to a MIB object 'demoNotif', defined in the MIB module 'UCD-NOTIFICATION-TEST-MIB' The snmptrap command is referring to a MIB object 'demo-notif' defined in the MIB module "NOTIFICATION-TEST-MIB' I strongly suspect that you ought to be using the same object name in both places. b) Have you installed either (or both) of these MIB files into your system? Neither of these are automatically shipped with the Net-SNMP software. The expectation is that you should create and add these MIB files yourself. If you don't do this, then the software will not be able to recognise these MIB names. Dave ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ 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