Hi Dave , I tried running the command snmptrapd -f -Le -Dparse-mibs But it is giving following results .
parse-mibs: Module SNMPv2-SMI not found parse-mibs: Module RFC1155-SMI not found parse-mibs: Module RFC1213-MIB not found parse-mibs: Scanning directory /home/rajesh/net-snmp-5.2.1.2/agent/mibs parse-mibs: No index parse-mibs: cannot open MIB directory /home/rajesh/net-snmp-5.2.1.2/agent/mibs 2006-03-06 10:39:42 NET-SNMP version 5.2.1.2 Started. and the contents of TRAP-TEST-MIB.txt are as follows exactly as given in tutorials TRAP-TEST-MIB DEFINITIONS ::= BEGIN IMPORTS ucdExperimental FROM UCD-SNMP-MIB; demotraps OBJECT IDENTIFIER ::= { ucdExperimental 990 } demo-trap TRAP-TYPE STATUS current ENTERPRISE demotraps VARIABLES { sysLocation } DESCRIPTION "This is just a demo" ::= 17 END What may be the problem ?? With Regards Vishakha Sharma -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave Shield Sent: Friday, March 03, 2006 5:44 PM To: vishakha s Cc: Net-Snmp-Users (E-mail) Subject: RE: SNMPTRAP (Trap-Test-Mib) On Fri, 2006-03-03 at 16:55 +0530, vishakha s wrote: > I checked ,the file TRAP-TEST-MIB.txt is there in > /home/rajesh/snmptrap1/share/snmp/mibs/ The next thing is to check where snmptrapd is actually looking. Run snmptrapd -f -Le -Dparse-mibs and look for lines of the form "Scanning directory" What does that show? Also what are the exact contents of the file TRAP-TEST-MIB.txt ? I doubt that's the problem, but it's something to check. 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 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