<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1498" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=177284117-10062005><FONT face=Arial size=2>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Matt Hanley
[mailto:MHANLEY@cxtec.com] <BR><B>Sent:</B> Friday, 10 June, 2005
11:27<BR><B>To:</B> nagios-users@lists.sourceforge.net<BR><B>Subject:</B>
[Nagios-users] Multiple SNMP traps only sending one alert<BR><BR></FONT></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>I've set up Nagios to receive an SNMP trap from a
remote source, and it works fine. The trap comes in, an alert is emailed
out, and the service status is set to critical.</FONT></P>
<P><FONT face=Arial size=2>The problem is, subsequent traps come in and no
further alerts are emailed out (although "Last Check" reads correctly).
Here is the service config:</FONT></P>
<P><FONT face=Arial size=2># service FAX</FONT> <BR><FONT face=Arial
size=2>define service{</FONT> <BR><FONT face=Arial
size=2>
host_name
faxmachine</FONT> <BR><FONT
face=Arial size=2>
service_description
FAX</FONT> <BR><FONT face=Arial
size=2>
is_volatile
1</FONT> <BR><FONT face=Arial
size=2>
active_checks_enabled 0</FONT> <BR><FONT face=Arial
size=2> passive_checks_enabled
1</FONT> <BR><FONT face=Arial
size=2>
check_period
none</FONT> <BR><FONT face=Arial
size=2>
max_check_attempts 1</FONT> <BR><FONT face=Arial
size=2>
normal_check_interval 2</FONT> <BR><FONT face=Arial
size=2>
retry_check_interval 1</FONT> <BR><FONT face=Arial
size=2> contact_groups
mhanley</FONT> <BR><FONT face=Arial
size=2>
notification_interval
0</FONT> <BR><FONT face=Arial
size=2>
notification_period
24x7</FONT> <BR><FONT face=Arial
size=2>
notification_options
c</FONT> <BR><FONT face=Arial
size=2> check_command
check_none</FONT> <BR><FONT
face=Arial size=2> }</FONT> </P>
<P><FONT face=Arial size=2>What do I need to do so that I'll receive an email
alert for every trap that is sent?</FONT> </P>
<P><FONT face=Arial size=2>Thanks!</FONT> </P>
<P><FONT face=Arial size=2>-matt</FONT> </P></BLOCKQUOTE></FONT></SPAN></DIV>
<DIV><SPAN class=177284117-10062005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=177284117-10062005><FONT face=Arial size=2>The problem is your
notification_interval. Set at 0, this means that you'll never get another
notification for the same status, even if a different event causes that status.
With is_volatile set, you'll get a notification for every different SNMP trap
that you get -- just set notification_interval to something small (like 1) if
you expect to get multiple, identical traps in a row.</FONT></SPAN></DIV>
<DIV><SPAN class=177284117-10062005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=177284117-10062005><FONT face=Arial
size=2>--Erwin</FONT></SPAN></DIV>
<P
class=MsoNormal>############################################################<?xml:namespace
prefix = o ns = "urn:schemas-microsoft-com:office:office"
/><o:p> </o:p></P>
<P align=left class=MsoNormal><SPAN
style="FONT-FAMILY: FrutigerLight; FONT-SIZE: 11pt; mso-bidi-font-family: FrutigerLight">Intelsat
is a global communications provider offering flexible and secure services to
customers in over 220 countries and territories.<SPAN
style="mso-spacerun: yes"> </SPAN>Intelsat has maintained a leadership
position for over 40 years by distributing video, voice, and data for television
and content providers, government and military entities, major corporations,
telecommunications carriers, and Internet service providers. Intelsat’s reach,
power and expanding solutions portfolio deliver information reliably and quickly
to every corner of the globe.<SPAN style="mso-spacerun: yes">
</SPAN></SPAN></P>
<P align=left class=MsoNormal><SPAN
style="FONT-FAMILY: FrutigerLight; FONT-SIZE: 11pt; mso-bidi-font-family: FrutigerLight"><SPAN
style="mso-spacerun: yes"></SPAN>For more information, visit <A
href="http://www.intelsat.com/">www.intelsat.com</A>.<o:p></o:p></SPAN></P>
<P
class=MsoNormal>############################################################<o:p></o:p></P>
<P class=MsoNormal>This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.<SPAN
style="mso-spacerun: yes"> </SPAN>Any unauthorized review, use, disclosure
or distribution is prohibited.<SPAN style="mso-spacerun: yes"> </SPAN>If
you are not the intended recipient, please contact the sender by reply email and
destroy all copies of the original message.<SPAN
style="mso-spacerun: yes"> </SPAN>Any views expressed in this message are
those of the individual sender, except where the sender specifically states them
to be the views of Intelsat, Ltd. and its subsidiaries.</P>
<P
class=MsoNormal>############################################################</P>
</BODY></HTML>