<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 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-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">Have you tried sending email as the xymon user rather than as root?<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> 09 November 2013 07:30<br>
<b>To:</b> Japheth Cleaver<br>
<b>Cc:</b> xymon@xymon.com<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">Thanks for the ideas.  But the notifications.log is completely empty.  The MAIL lines in xymonserver.cfg match what you suggested.  The permissions issue was worth looking into.
  When I send a test message I'm always sudo root.  I've made the xymon user part of the 'root' group, but that didn't help any.  I noticed there's a 'mail' group.  I thought maybe adding the xymon user to the 'mail' group may have affected something, but it
 didn't either.  Any more ideas?<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 Fri, Nov 8, 2013 at 5:26 PM, Japheth Cleaver <<a href="mailto:cleaver@terabithia.org" target="_blank">cleaver@terabithia.org</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-right:0cm">
<p class="MsoNormal" style="margin-bottom:12.0pt">You should see something in in /var/log/xymon/notifications.log whenever<br>
xymond_alert thinks it's sending (e.g.) an email off:<br>
<br>
<br>
Fri Nov  8 14:16:33 2013 monitor.example.net.procs (192.168.2.5)<br>
<a href="mailto:cleaver@terabithia.org">cleaver@terabithia.org</a>[170] 1383948993 300<br>
<br>
<br>
If you see that, then your config logic is probably OK. Double check your<br>
'mail' lines in xymonserver.cfg:<br>
<br>
<br>
MAILC="mail"           # Command used to send an e-mail with no subject<br>
MAIL="$MAILC -s"       # Command used to send an e-mail with a subject<br>
<br>
<br>
If you can send an email by hand, and those binaries are in normal spots,<br>
perhaps there's a permissions problem? Weird PATH issues? SELinux?<br>
<br>
<br>
HTH,<br>
-jc<br>
<br>
<br>
<br>
On Fri, November 8, 2013 3:14 pm, Kris Springer wrote:<br>
> I'm still trying to find a solution to this.  I haven't been able to focus<br>
> on this for a while.  My alerts are still not sending out.  I assumed that<br>
> maybe Amazon AWS was blocking them for some reason, but I filled out all<br>
> the forms and supposedly have no blocking going on.  The logs on Xymon<br>
> don't show me anything that jump out as the problem.  I am able to send<br>
> test messages using sendmail from the command line with not trouble at all<br>
> to email addresses hosted at Google and Godaddy.  I've checked spam and<br>
> junk folders but the alerts just aren't getting there.  HELP!  Any<br>
> suggestion will be attempted, but please don't just make general<br>
> suggestions like "check the logs" without specifying what exactly I'm<br>
> supposed to be checking.<br>
><br>
> Thank you.<br>
> ------------------------------------------------<br>
> *Kris Springer*<br>
><br>
><br>
><br>
> On Sat, Oct 19, 2013 at 3:46 PM, Root, Paul T<br>
> <<a href="mailto:Paul.Root@centurylink.com">Paul.Root@centurylink.com</a>>wrote:<br>
><br>
>> Use: /usr/lib64/xymon/server/bin/xymond_alert --test $* --duration=500<br>
>> |grep -v Failed<br>
>> To test what alerts do.<br>
>><br>
>> Look at ~xymon/server/logs/notifications.log (or where ever you have it.<br>
>> I<br>
>> have /var/log/xymon) to see what it actually did.<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:394711ad0c2d43f5be06ef46dd75ec2f">
</div>
</span><span id="ppe_50">
<div style="WIDTH: 375px"><br>
<img style="MARGIN: 0px" border="0" alt="Rakon Logo" src="cid:f57564cdfe9b4cdaba0bdec7ba2e2d68"></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>-----Original Message-----<br>
>> From: Xymon [mailto:<a href="mailto:xymon-bounces@xymon.com">xymon-bounces@xymon.com</a>] On Behalf Of Mike Burger<br>
>> Sent: Saturday, October 19, 2013 11:26 AM<br>
>> To: Kris Springer<br>
>> Cc: <a href="mailto:xymon@xymon.com">xymon@xymon.com</a><br>
>> Subject: Re: [Xymon] not receiving alerts<br>
>><br>
>> You mentioned looking at logs...the Xymon logs, or /var/log/maillog?<br>
>><br>
>> I'm curious as to what the maillog shows for the events/times in<br>
>> question.<br>
>> --<br>
>> Mike Burger<br>
>> <a href="http://www.bubbanfriends.org" target="_blank">http://www.bubbanfriends.org</a><br>
>><br>
>> "It's always suicide-mission this, save-the-planet that. No one ever<br>
>> just<br>
>> stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1<br>
>><br>
>><br>
>> > I'm not receiving alerts on red and yellow's.  I set up my server a<br>
>> > while ago and received many alerts during setup and even after.  But<br>
>> > about a week ago I stopped receiving the emails.  They're not going to<br>
>> > spam, and I am able to send emails via command line from the Xymon<br>
>> > server with no trouble.<br>
>> >  I've looked in the logs and am not seeing anything.  Xymon is running<br>
>> > on an Ubuntu v13 box hosted on AWS.  Ideas?<br>
>> ><br>
>> > Thank you.<br>
>> > ------------------------------------------------<br>
>> > *Kris Springer*<br>
>> ><br>
>> > *<br>
>> > *<br>
>> > _______________________________________________<br>
>> > Xymon mailing list<br>
>> > <a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
>> > <a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
>> ><br>
>><br>
>> _______________________________________________<br>
>> Xymon mailing list<br>
>> <a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
>> <a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
>><br>
> _______________________________________________<br>
> Xymon mailing list<br>
> <a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
> <a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
><br>
<br>
<o:p></o:p>
<p></p>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</body>
</html>