This is a discussion on Re: Help wanted Regarding SNMPTRAP (URGENT) within the SNMP Coders forums, part of the Networking and Network Related category; I did a TCPDUMP and found tht the traps do reach the server from the router ....bit of relief !!! :-))) But ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I did a TCPDUMP and found tht the traps do reach the server from the router ....bit of relief !!! :-))) But the server sends back a icmp request to the router and reports that the udp port is unreachable ... Here's the output of TCPDUMP 11:23:36.745041 172.25.63.23.55549 > inatpuxpms01.snmptrap: C=permitadp Trap(36) E:cisco.1.110 172.25.63.23 linkDown 501199095 .iso.org.dod=[|snmp] 172.25.63.23 --> router inatpuxpms01 -> server and then the error in the next line 11:23:36.745049 inatpuxpms01 > 172.25.63.23: icmp: inatpuxpms01 udp port snmptrap unreachable [tos 0xc0] Iam sort of confused y this error comes .... When i do the same in other server ( which receives traps successfully )) the 2nd line is not there.. is tht anything to do with snmpconf ??? shud we change any default options ??? Thanks in advance regards , rajasekaran C Robert Story <rstory@freesnmp. com> To cnelson@nycap.rr.com 02/15/2005 11:26 cc PM net-snmp-coders@lists.sourceforge.n et, RajChandrasekaran@inautix.com Subject Please respond to Re: Help wanted Regarding SNMPTRAP net-snmp-coders@l (URGENT) ists.sourceforge. net On Tue, 15 Feb 2005 07:51:29 -0500 cnelson@nycap.rr.com wrote: CRC> > My router sents traps on link-down status to A linux box . In the CRC> > routerside its sending the packets perfectly to server . CRC> CRC> Have you configured your trap sinks correctly? Trapsinks are for the agent (snmpd) sending traps. He's talking about receiving traps (snmptrapd) from another box... The first thing I'd check is if snmptrapd is receiving the packets. Run it iin the foreground with packet dumping on: snmptrapd -f -Le -d Then generate the traps and see if the incoming packet is printed. If not, then I'm guessing that you have a firewall running which is blocking the packets. You need to open up UDP port 162 to receive traps. -- Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: < http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- 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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |
![]() |
| Thread Tools | |
| Display Modes | |
|
|