<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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
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
        {mso-style-priority:99;
        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",serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi Jeremy,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Actually, that is the problem. When I remove the “—no-pin” option from CGI_ACK_OPTS in the cgioptions.cfg file, I cannot acknowledge an alert, and I get the “internal
 server error”.  I am able to acknowledge an alert when the “—no-pin” option is included.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I want to use the “—no-pin” to force people to use an acknowledge code, so they do not acknowledge alerts for machines that they are not responsible for.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Nicole<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Jeremy Laidman [mailto:jlaidman@rebel-it.com.au]
<br>
<b>Sent:</b> Thursday, July 02, 2015 4:14 PM<br>
<b>To:</b> Nicole Beck; cleaver@terabithia.org<br>
<b>Cc:</b> xymon@xymon.com<br>
<b>Subject:</b> RE: [Xymon] Errors for acknowledge alerts in 4.3.18<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p><br>
On 03/07/2015 1:07 AM, "Nicole Beck" <<a href="mailto:nskyrca@syr.edu">nskyrca@syr.edu</a>> wrote:<br>
><br>
> I probably should add that I have removed the “—no-pin” option from the CGI_ACK_OPTS in cgioptions.cfg. <o:p></o:p></p>
<p>Unlikely to be related to the problem.<o:p></o:p></p>
<p>> I'm not that familiar with working with core files, but here is the output. Hopefully I did it right.<o:p></o:p></p>
<p>Yes, you've done well.<o:p></o:p></p>
<p>> Program terminated with signal 11, Segmentation fault.<br>
> #0  0x0000000000402b4f in main (argc=<value optimized out>, <br>
>     argv=<value optimized out>) at acknowledge.c:392<br>
> 392                             if (strncmp(awalk->period, "hour", 4) == 0) awalk->validity *= 60;
<br>
Ah. This is a bug that is triggered when specifying the ack validity period with the string "hour". I don't know the fix, but a work around might be to specify validity without units (I'm guessing it defaults to minutes).<o:p></o:p></p>
<p>JC, has this bug been fixed in later versions?<o:p></o:p></p>
<p>J<o:p></o:p></p>
</div>
</body>
</html>