Hi

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
Cannot find module (TRAP-TEST-MIB): At line 0 in (none)
/home/rajesh/snmptrap1/share/snmp/snmptrapd.conf: line 11: Error: Bad trap
OID in
 traphandle directive: TRAP-TEST-MIB::demo-trap
net-snmp: 2 error(s) in config file(s)
2006-03-01 13:37:28 NET-SNMP version 5.2.1.2 Started.


My snmptrapd.conf  file is as follows
traphandle IF-MIB::linkDown         /home/snmptrap1/bin/traps down
traphandle TRAP-TEST-MIB::demo-trap /home/snmptrap1/bin/traps demo-trap

If any changes need to be done in this file please let me know .

Where am i making mistake ?

Thanks in advance

with regards
Vishakha Sharma

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s)and may 
contain confidential or privileged information. If you are not the intended 
recipient, please notify the sender or [EMAIL PROTECTED]


-------------------------------------------------------
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

Reply via email to