<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=iso-8859-1">
<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:0cm;
        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;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        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">
<!--ppd46--><!--ppd54--><!--ppd50--><!--ppd55--><!--ppd48-->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Who are you running that command as? Make sure you’re doing it using “su [user] –c [command” – that way you can replicate the situation
 as it would be from inside Xymon.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Carl<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif""> Xymon [mailto:xymon-bounces@xymon.com]
<b>On Behalf Of </b>Kris Springer<br>
<b>Sent:</b> 10 November 2013 18:34<br>
<b>To:</b> Henrik Størner<br>
<b>Cc:</b> Xymon MailingList<br>
<b>Subject:</b> Re: [Xymon] not receiving alerts<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:#990000">When that particular host is green nothing happens.  When I make it red and I run that command I receive an email with the info that's defined in the command.    <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:#990000"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:#990000">I think we're making progress tracking this down.  It appears that things are working via command line, just not when automated.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal"><span style="color:#990000">Thank you.</span><o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="color:#990000;background:white">------------------------------------------------</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span style="color:#990000;background:white">Kris Springer</span></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><i><span style="color:#990000;background:white">=======================</span></i><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Sun, Nov 10, 2013 at 4:34 AM, Henrik Størner <<a href="mailto:henrik@hswn.dk" target="_blank">henrik@hswn.dk</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<p class="MsoNormal">So, what happens if you run this command from the commandline:<br>
<br>
On 10-11-2013 02:35, Kris Springer wrote:<br>
<br>
echo "mail test" | mail -s "Xymon [12345] VM-Firewall:proc CRITICAL (RED)" <a href="mailto:support@innovateteam.com" target="_blank">
support@innovateteam.com</a><br>
<br>
Your notifications.log file shows that the alerts are being generated, so we can now rule out problems with the alerts.cfg configuration.<br>
<br>
<br>
Regards,<br>
Henrik<br>
<br>
<span id="ppe_48"></p>
<div style="WIDTH: 375px"><br>
<font face="Calibri">Carl Inglis </font> <font size="2" face="Calibri"><b><br>
Systems Administrator</b><br>
<br>
<b>Rakon UK Limited</b><br>
</font><font size="1" face="Calibri">Dowsett House, Sadler Road, Lincoln LN6 3RS, United Kingdom<br>
Tel: +44 1522 812630 | Fax: +44 1522 812664 | Mob: +44 7786 552915</font><br>
<font color="#34b233" size="1" face="Calibri">Carl.Inglis@rakon.com | www.rakon.com</font></div>
</span><span id="ppe_55">
<div style="TEXT-ALIGN: left; WIDTH: 100px"><br>
<img style="MARGIN: 0px" border="0" alt="The Queens Awards for Enterprise 2012" src="cid:9c1fbea13f8040aa984f60da1540acab">
</div>
</span><span id="ppe_50">
<div style="WIDTH: 375px"><br>
<img style="MARGIN: 0px" border="0" alt="Rakon Logo" src="cid:172a312999ed48c283037fd060a4be17"></div>
</span><span id="ppe_54">
<div style="WIDTH: 375px"><font size="1" face="Calibri"><br>
This message together with any attachments contains confidential information and may be<br>
subject to privilege. If you are not the intended recipient you may not distribute it in any<br>
way, you must notify the sender immediately and delete any copies of the message along<br>
with its attachments.</font></div>
</span><span id="ppe_46">
<div style="WIDTH: 375px"><font size="1" face="Verdana"><br>
<em>Rakon UK Ltd is a limited company registered in England and Wales. <br>
Registered Office: Dowsett House, Sadler Road, Lincoln LN6 3RS <br>
Company Registration Number: 5128090. <br>
<br>
Please be aware that Rakon UK Limited may monitor email traffic data<br>
including the date, time, subject line, sender and recipients for the <br>
purposes of security and usage monitoring. Automated monitoring <br>
systems may also be applied to ascertain whether incoming/outgoing <br>
emails are likely to contain viruses, other destructive devices or <br>
inappropriate content. </em></font></div>
</span>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><o:p></o:p>
<p></p>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</body>
</html>