<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Multiple SNMP traps only sending one alert</title>
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
h2
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:18.0pt;
font-family:"Times New Roman";
font-weight:bold;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle18
{mso-style-type:personal-reply;
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;}
-->
</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'>I’m working on setting up SNMP traps
right now, <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Isn’t that what stalking options is for?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Something like, stalking_options o,w,u,c<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Take this with a grain of salt, I am still
trying to understand these new options I’m dealing with. The State
Stalking section in the docs is where I was looking.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>
<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'>
nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Matt Hanley<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, June 10, 2005 8:27
AM<br>
<b><span style='font-weight:bold'>To:</span></b>
nagios-users@lists.sourceforge.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Nagios-users] Multiple
SNMP traps only sending one alert</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>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.</span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>The
problem is, subsequent traps come in and no further alerts are emailed out
(although "Last Check" reads correctly). Here is the service
config:</span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>#
service FAX</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>define
service{</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>
host_name
faxmachine</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>
service_description
FAX</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>
is_volatile
1</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>
active_checks_enabled 0</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>
passive_checks_enabled 1</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>
check_period none</span></font>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>
max_check_attempts 1</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>
normal_check_interval 2</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>
retry_check_interval 1</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>
contact_groups mhanley</span></font>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>
notification_interval 0</span></font>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>
notification_period
24x7</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>
notification_options
c</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>
check_command check_none</span></font>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>
}</span></font> <o:p></o:p></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>What
do I need to do so that I'll receive an email alert for every trap that is
sent?</span></font> <o:p></o:p></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Thanks!</span></font>
<o:p></o:p></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>-matt</span></font>
<o:p></o:p></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Matthew
Hanley</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>mhanley@cxtec.com</span></font>
<o:p></o:p></p>
</div>
</div>
</body>
</html>