<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>It depends on how you architect it. With SNMPTT catching all traps, none are lost. The plugin I wrote queries the mysql database and alarms if ANY traps are present and the php page will show ALL traps that have been caught for that particular host. You can then address each trap individually with out losing any information. It basically adds a level of indirection, by combining asynchronous(passive) traps with active nagios checks. </DIV>
<DIV> </DIV>
<DIV>Example:</DIV>
<DIV> </DIV>
<DIV>Webserver1 sends a power supply failure trap.</DIV>
<DIV>SNMPTT catches the trap and logs it to the database.</DIV>
<DIV>Webserver1 sends a high temperature trap.</DIV>
<DIV>SNMPTT catches the trap and logs it to the database.</DIV>
<DIV>Nagios runs the checktraps.pl plugin for Webserver1 at the normal 5 minute interval</DIV>
<DIV>Nagios alarms for the service Webserver1-SNMP Traps: "CRITICAL: 2 unacknowledged trap(s) received" (or something like that).</DIV>
<DIV>The user clicks on the "Action URL" icon for that service in the web front-end and sees the trapack.php web page showing which traps have been received FOR THAT HOST.</DIV>
<DIV>The user sees that a power supply has failed and replaces it.</DIV>
<DIV>The user "acknowledges" or clears the power failure trap from the trapack.php web page</DIV>
<DIV>Nagios continues to alarm on the service Webserver1-SNMP Traps: "CRITCAL: 1 unacknowledged trap(s) received."</DIV>
<DIV>The user sees that Webserver1 is overheating (from trapack.php) and takes action to correct it (fixes the A/C or something)</DIV>
<DIV>The user "acknowledges" or clears the high temperature trap from the trapack.php web page</DIV>
<DIV>Nagios now shows that Webserver1-SNMP Traps is: "OK: No new traps received."</DIV>
<DIV> </DIV>
<DIV>This can be made even more robust to detect how severe the received traps are and alarm accordingly in nagios (warning vs critical).</DIV>
<DIV> </DIV>
<DIV>Hope that helps.</DIV>
<DIV> </DIV>
<DIV>Marlo<BR><BR>>>> Ståle Askerød Johansen <s.a.johansen@usit.uio.no> 3/20/2007 7:03 AM >>><BR>Marlo Bell wrote:<BR><BR>> I didn't quite understand the disk example. But a simple and popular <BR>> answer to the trap issue is a program called SNMPTT.<BR><BR>Fair enough, but the problem is elsewhere, I think. What happens if<BR>the same host sends several events of the class "SNMP trap" ?<BR><BR>Isn't it true that Nagios will only show the last one?<BR><BR>-- <BR>Ståle<BR><BR>-------------------------------------------------------------------------<BR>Take Surveys. Earn Cash. Influence the Future of IT<BR>Join SourceForge.net's Techsay panel and you'll get the chance to share your<BR>opinions on IT & business topics through brief surveys-and earn cash<BR><A href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV</A><BR>_______________________________________________<BR>Nagios-devel mailing list<BR>Nagios-devel@lists.sourceforge.net<BR><A href="https://lists.sourceforge.net/lists/listinfo/nagios">https://lists.sourceforge.net/lists/listinfo/nagios</A>-devel<BR></DIV>
<HR>NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.<BR>
</BODY></HTML>