<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.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@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">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">http://mon.bc<a href="http://www.proximus.be/"><span style="color:blue"><br>
<br>
</span><span style="color:blue;text-decoration:none"><img border="0" width="140" height="30" id="_x0000_i1029" src="cid:image001.png@01D0F19F.C3F6F460" 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";color:blue;mso-fareast-language:EN-GB;text-decoration:none"><img border="0" width="10" height="20" id="_x0000_i1028" src="cid:image002.png@01D0F19F.C3F6F460" 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";color:blue;mso-fareast-language:EN-GB;text-decoration:none"><img border="0" width="25" height="20" id="_x0000_i1027" src="cid:image003.png@01D0F19F.C3F6F460" 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";color:blue;mso-fareast-language:EN-GB;text-decoration:none"><img border="0" width="29" height="20" id="_x0000_i1026" src="cid:image004.png@01D0F19F.C3F6F460" 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";color:blue;mso-fareast-language:EN-GB;text-decoration:none"><img border="0" width="20" height="20" id="_x0000_i1025" src="cid:image005.png@01D0F19F.C3F6F460" 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>
</div>
<br>
<hr>
<font face="Arial" color="Blue" size="2"><br>
***** Disclaimer *****<br>
http://www.proximus.be/maildisclaimer<br>
</font>
</body>
</html>