Hi Russ, Can you please run:
snmptrapd -c /home/snmptrapd.conf with the configuration file I sent you. The perl script I also provided should be in the same directory that you have the snmptrapd.conf. Thanks, Garyc ----- Original Message ----- From: "Gary Clark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 16, 2004 9:54 AM Subject: Cannot Process SNMP Traps > > > > My apologies what I wanted to say was "I'm guessing snmptrapd doesnt know > about snmptrapd.conf". > > > Thanks, > > Garyc > > > > ----- Original Message ----- > > From: "Gary Clark" <[EMAIL PROTECTED]> > > To: "Russ Woodman" <[EMAIL PROTECTED]> > > Cc: <[EMAIL PROTECTED]> > > Sent: Thursday, December 16, 2004 9:47 AM > > Subject: Re: Cannot Process SNMP Traps > > > > > > > Hi Russ, > > > > > > Can you tell me what lines you exactly put into the snmpd.conf > > > and also exactly how you run snmptrapd. I'm guessing snmptrapd doesnt > know > > > about snmpd.conf. > > > > > > Also what the path on perl? > > > > > > i.e which perl. > > > > > > Thanks, > > > Garyc > > > ----- Original Message ----- > > > From: "Russ Woodman" <[EMAIL PROTECTED]> > > > To: "Gary Clark" <[EMAIL PROTECTED]> > > > Cc: <[EMAIL PROTECTED]> > > > Sent: Thursday, December 16, 2004 9:47 AM > > > Subject: Re: Cannot Process SNMP Traps > > > > > > > > > > Gary, > > > > > > > > I didn't built snmp, I installed it from debs, so I don't know what > the > > > > trap community would be. However, I did put these lines in snmpd.conf > > > > and then checked snmptrapd. The packets were received then, but still > > > > not logged. In each case, I got this output from snmptrapd's debug: > > > > > > > > trace: netsnmp_udp_recv(): snmpUDPDomain.c, 133: > > > > netsnmp_udp: recvfrom fd 7 got 97 bytes (from 127.0.0.1) > > > > trace: _sess_process_packet(): snmp_api.c, 4892: > > > > sess_process_packet: session 0x808b860 fd 7 pkt 0x808d118 length 97 > > > > trace: _sess_process_packet(): snmp_api.c, 4916: > > > > sess_process_packet: pre-parse fail > > > > trace: _sess_read(): snmp_api.c, 5210: > > > > sess_read: not reading 5 (fdset 0xbffffc60 set 0) > > > > trace: _sess_read(): snmp_api.c, 5210: > > > > sess_read: not reading 3 (fdset 0xbffffc60 set 0) > > > > trace: snmp_sess_select_info(): snmp_api.c, 5622: > > > > sess_select: for all sessions: 7 5 3 > > > > > > > > I don't know what "pre-parse fail" means, but it seems like it must be > > > > the root of my problem. > > > > > > > > Regards, > > > > Russ > > > > > > > > Gary Clark wrote: > > > > > Ok can you add the line: > > > > > > > > > > trap2sink ipaddress comunityname > > > > > trapcommunity communityname > > > > > > > > > > to your snmpd.conf file. > > > > > > > > > > > > > > > The ipaddress is the ip address of your local machine and community > > name > > > is > > > > > the community name you specified > > > > > whilst building. > > > > > > > > > > Much appreciated, > > > > > Garyc > > > > > > > > > > > > ------------------------------------------------------- > > > SF email is sponsored by - The IT Product Guide > > > Read honest & candid reviews on hundreds of IT Products from real users. > > > Discover which products truly live up to the hype. Start reading now. > > > http://productguide.itmanagersjournal.com/ > > > _______________________________________________ > > > Net-snmp-users mailing list > > > [EMAIL PROTECTED] > > > Please see the following page to unsubscribe or change other options: > > > https://lists.sourceforge.net/lists/listinfo/net-snmp-users > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Net-snmp-users mailing list > [EMAIL PROTECTED] > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users