This is a discussion on RE: unable to generate traps within the SNMP Users forums, part of the Networking and Network Related category; This message is in MIME format. Since your mail reader does not understand this format, some or all of this ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible. ------_=_NextPart_001_01C5BACF.9DEF03BC Content-Type: text/plain Make sure you have you have in your configuration file (snmpd.conf) trapsink trap2sink or informsink command with the proper IP Address. Mske sure that the configuration file is read indeed (there are several locations where snmpd.conf is read). If both are correct, it still might be a networking problem start a sniffer (like ethereal) and see if the trap is sent or trying to be sent. Common networking problems : 1. ARP is not resolved --- You would see ARP request for the destination address that are not resolved. 2. Default Route is not defined properly on the machine. In this case you'll see the trap sent twards a router that doesn't serve the destination subnet. Hope this helps, Shuki _____ From: net-snmp-users-admin@lists.sourceforge.net [mailto:net-snmp-users-admin@lists.sourceforge.net] On Behalf Of Manju Ravikanthi Sent: Wednesday, September 14, 2005 2:48 PM To: net-snmp-users-admin@lists.sourceforge.net Cc: net-snmp-users@lists.sourceforge.net Subject: unable to generate traps Earlier I gave a mail regarding the failure of make test ...... net-snmp 5.2.1 I rebuilded it n set the paths n ran it in bash shell it is installed without any errors ....... I could poll ...n do snmpwalk,snmpget all these tools r working fine locally n also remotely......now my concern is about trapping them .... I am unable to trap ..i am not getting any errors too When I checked the log fail its just saying net-snmp 5.2.1 is started ...but not trapping any messages...... with the same configuration I could generate traps on another machine ....but only on this system I was unable to install initially n when I did that ,its not generating any traps......I checked with the other server many times n everything works fine with it ...i could see the traps in the log... n its not working here......I need to generate traps n submit my project ASAP n I am struck.....pls help me.... Both these boxes r sun sparc....solaris 9 I appreciate ur prompt response n help... Regards, Manju B Ravikanthi. ------_=_NextPart_001_01C5BACF.9DEF03BC Content-Type: text/html <html> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:Garamond; panose-1:2 2 4 4 3 3 1 1 8 3;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.emailstyle17 {font-family:Arial; color:windowtext;} span.EmailStyle18 {font-family:Arial; color:navy;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} /* List Definitions */ ol {margin-bottom:0in;} ul {margin-bottom:0in;} --> </style> </head> <body lang=EN-US link=blue vlink=purple> <div class=Section1> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>Make sure you have you have in your configuration file (snmpd.conf) trapsink trap2sink or informsink command with the proper IP Address.</span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>Mske sure that the configuration file is read indeed (there are several locations where snmpd.conf is read). </span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>If both are correct, it still might be a networking problem start a sniffer (like ethereal) and see if the trap is sent or trying to be sent.</span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'> </span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>Common networking problems :</span></font></p> <ol style='margin-top:0in' start=1 type=1> <li class=MsoNormal style='color:navy'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial'>ARP is not resolved --- You would see ARP request for the destination address that are not resolved.</span></font></li> <li class=MsoNormal style='color:navy'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial'>Default Route is not defined properly on the machine. In this case you’ll see the trap sent twards a router that doesn’t serve the destination subnet.</span></font></li> </ol> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'> </span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'> </span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>Hope this helps,</span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'> </span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>Shuki</span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'> </span></font></p> <div> <div class=MsoNormal align=center style='text-align:center'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <hr size=2 width="100%" align=center tabindex=-1> </span></font></div> <p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt; font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> net-snmp-users-admin@lists.sourceforge.net [mailto:net-snmp-users-admin@lists.sourceforge.net] <b><span style='font-weight: bold'>On Behalf Of </span></b>Manju Ravikanthi<br> <b><span style='font-weight:bold'>Sent:</span></b> Wednesday, September 14, 2005 2:48 PM<br> <b><span style='font-weight:bold'>To:</span></b> net-snmp-users-admin@lists.sourceforge.net<br> <b><span style='font-weight:bold'>Cc:</span></b> net-snmp-users@lists.sourceforge.net<br> <b><span style='font-weight:bold'>Subject:</span></b> unable to generate traps</span></font></p> </div> <p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'> </span></font></p> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>Earlier I gave a mail regarding the failure of make test …… net-snmp 5.2.1</span></font></p> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'> </span></font></p> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>I rebuilded it n set the paths n ran it in bash shell it is installed without any errors ……. I could poll …n do snmpwalk,snmpget all these tools r working fine locally n also remotely……now my concern is about trapping them …. I am unable to trap ..i am not getting any errors too</span></font></p> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'> </span></font></p> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>When I checked the log fail its just saying net-snmp 5.2.1 is started …but not trapping any messages…… with the same configuration I could generate traps on another machine ….but only on this system I was unable to install initially n when I did that ,its not generating any traps……I checked with the other server many times n everything works fine with it ...i could see the traps in the log… n its not working here……I need to generate traps n submit my project ASAP n I am struck…..pls help me….</span></font></p> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'> </span></font></p> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>Both these boxes r sun sparc….solaris 9</span></font></p> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'> </span></font></p> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>I appreciate ur prompt response n help…</span></font></p> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'> </span></font></p> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'> </span></font></p> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>Regards,</span></font></p> <p class=MsoNormal><i><font size=3 face=Garamond><span style='font-size:12.0pt; font-family:Garamond;font-style:italic'>Manju B Ravikanthi</span></font></i><i><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"; font-style:italic'>.</span></font></i></p> <p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'> </span></font></p> </div> </body> </html> ------_=_NextPart_001_01C5BACF.9DEF03BC-- ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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/...net-snmp-users |