<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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 14 (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]--><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
mso-fareast-language:EN-US;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I think I have found the issue. A forgotten “notifies = no” (a mystery how that happened) in a poller configuration caused the poller to notify before the master (which ofcourse fails as the scripts for notification
are not present on the poller). As such merlin behaved properly causing the master to not renotify.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Corrected it and sofar it seems to renotify properly. Since it was only 1 poller it would also explain why the issue came and went … (depending on which poller executed the check)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#5C2D91;mso-fareast-language:EN-GB">Frederik Vervaet</span></b><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#5C2D91;mso-fareast-language:EN-GB"><br>
UNIX Monitoring (HES) | ITS/IIS <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#5C2D91;mso-fareast-language:EN-GB">http://mon.bc<a href="http://www.proximus.be/"><br>
<br>
<span style="text-decoration:none"><img border="0" width="140" height="30" id="_x0000_i1035" src="cid:image001.png@01D0F566.FD133C70" alt="Proximus"></span></a><br>
<br>
Connect with us on:<br>
</span><span style="font-size:4.0pt;font-family:"Verdana","sans-serif";color:#5C2D91;mso-fareast-language:EN-GB"> </span><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#5C2D91;mso-fareast-language:EN-GB"><br>
</span><a href="https://www.facebook.com/proximusBe"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";mso-fareast-language:EN-GB;text-decoration:none"><img border="0" width="10" height="20" id="_x0000_i1034" src="cid:image002.png@01D0F566.FD133C70" alt="Proximus Facebook"></span></a><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#5C2D91;mso-fareast-language:EN-GB"> </span><a href="https://twitter.com/proximus"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";mso-fareast-language:EN-GB;text-decoration:none"><img border="0" width="25" height="20" id="_x0000_i1033" src="cid:image003.png@01D0F566.FD133C70" alt="Proximus Twitter"></span></a><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#5C2D91;mso-fareast-language:EN-GB"> </span><a href="https://www.youtube.com/proximus"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";mso-fareast-language:EN-GB;text-decoration:none"><img border="0" width="29" height="20" id="_x0000_i1032" src="cid:image006.png@01D0F566.FD133C70" alt="Proximus YouTube"></span></a><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#5C2D91;mso-fareast-language:EN-GB"> </span><a href="https://www.linkedin.com/company/proximus"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";mso-fareast-language:EN-GB;text-decoration:none"><img border="0" width="20" height="20" id="_x0000_i1031" src="cid:image007.png@01D0F566.FD133C70" alt="Proximus LinkedIn"></span></a><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#5C2D91;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-GB"> Naemon-users
[mailto:naemon-users-bounces+frederik.vervaet=proximus.com@monitoring-lists.org]
<b>On Behalf Of </b>VERVAET Frederik (ITS/IIS)<br>
<b>Sent:</b> Thursday 17 September 2015 23:23<br>
<b>To:</b> naemon-users@monitoring-lists.org<br>
<b>Subject:</b> [naemon-users] Weird issue with notification_interval (possible bug ?)<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I noticed the following oddity the other day :<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When I set the notification interval to 5 mins I see in Ninja GUI (I use naemon+merlin) the notification listed as sent but NO actual notification was sent out.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When I enable debug logs in naemon I see :<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[1442523762.409221] [032.0] [pid=28500] ** Service Notification Attempt ** Host: ‘machineX’, Service: 'Service X’, Type: NORMAL, Options: 0, Current State: 2, Last Notification: Thu Sep 17 23:<b>02</b>:42 2015<o:p></o:p></p>
<p class="MsoNormal">[1442523762.409273] [032.0] [pid=28500] SERVICE NOTIFICATION SUPPRESSED: machineX;Service X;Re-notification blocked for this problem because not enough time has passed since last notification.[1442523762.409287] [032.1] [pid=28500] Next
valid notification time: Thu Sep 17 23:<b>07</b>:42 2015<o:p></o:p></p>
<p class="MsoNormal">1442523762 = Thu, 17 Sep 2015 21:02:42 GMT = Thu, 17 Sep 2015 23:02:42 (Local time)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">(do note the 3<sup>rd</sup> log entry which doesn’t seem to be on a new line ? this is how I see it in the logs)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">As you can see last notification time in the first entry = the notification time of the current notification attempt.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">It’s as if Naemon somewhere starts notifying and updates a lot of internal counters/variables (including last_notification_time) and then suddenly afterwards decides to check the notification_interval value and reconsiders.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">5 minutes later exactly the same in the log except the last_notification is again set to the time of the current notification and so on … basically rendering renotifications useless.<o:p></o:p></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal"><b>1442524062 = Thu, 17 Sep 2015 21:07:42 GMT = Thu, 17 Sep 2015 23:07:42 (local time)<o:p></o:p></b></p>
<p class="MsoNormal">[1442524062.422325] [032.0] [pid=28500] ** Service Notification Attempt ** Host: 'hostX', Service: 'serviceX', Type: NORMAL, Options: 0, Current State: 2, Last Notification: Thu Sep
<b>17 23:07:42 2015<o:p></o:p></b></p>
<p class="MsoNormal">[1442524062.422370] [032.0] [pid=28500] SERVICE NOTIFICATION SUPPRESSED: hostX;serviceX;Re-notification blocked for this problem because not enough time has passed since last notification.[1442524062.422382] [032.1] [pid=28500] Next valid
notification time: <b>Thu Sep 17 23:12:42 2015<o:p></o:p></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">As usual: as far as I can tell the config is ok. <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Naemon Core 2015.c.1 (obtained from git5 repo)<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Any pointed would be appreciated
<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#5C2D91;mso-fareast-language:EN-GB">Frederik Vervaet</span></b><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#5C2D91;mso-fareast-language:EN-GB"><br>
UNIX Monitoring (HES) | ITS/IIS <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#5C2D91;mso-fareast-language:EN-GB"><a href="http://mon.bc">http://mon.bc</a><a href="http://www.proximus.be/"><br>
<br>
<span style="text-decoration:none"><img border="0" width="140" height="30" id="_x0000_i1025" src="cid:image001.png@01D0F566.FD133C70" alt="Proximus"></span></a><br>
<br>
Connect with us on:<br>
</span><span style="font-size:4.0pt;font-family:"Verdana","sans-serif";color:#5C2D91;mso-fareast-language:EN-GB"> </span><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#5C2D91;mso-fareast-language:EN-GB"><br>
</span><a href="https://www.facebook.com/proximusBe"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";mso-fareast-language:EN-GB;text-decoration:none"><img border="0" width="10" height="20" id="_x0000_i1026" src="cid:image002.png@01D0F566.FD133C70" alt="Proximus Facebook"></span></a><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#5C2D91;mso-fareast-language:EN-GB"> </span><a href="https://twitter.com/proximus"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";mso-fareast-language:EN-GB;text-decoration:none"><img border="0" width="25" height="20" id="_x0000_i1027" src="cid:image003.png@01D0F566.FD133C70" alt="Proximus Twitter"></span></a><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#5C2D91;mso-fareast-language:EN-GB"> </span><a href="https://www.youtube.com/proximus"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";mso-fareast-language:EN-GB;text-decoration:none"><img border="0" width="29" height="20" id="_x0000_i1028" src="cid:image008.png@01D0F566.FD133C70" alt="Proximus YouTube"></span></a><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#5C2D91;mso-fareast-language:EN-GB"> </span><a href="https://www.linkedin.com/company/proximus"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";mso-fareast-language:EN-GB;text-decoration:none"><img border="0" width="20" height="20" id="_x0000_i1029" src="cid:image007.png@01D0F566.FD133C70" alt="Proximus LinkedIn"></span></a><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#5C2D91;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-GB">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:blue;mso-fareast-language:EN-GB"><br>
***** Disclaimer *****<br>
<a href="http://www.proximus.be/maildisclaimer">http://www.proximus.be/maildisclaimer</a></span><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-GB"><o:p></o:p></span></p>
</div>
</body>
</html>