<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:#990000">Yes, I am able to send mail from the command line when using the xymon user.  </div><div class="gmail_extra"><br clear="all">

<div><div dir="ltr"><div><span style="color:rgb(153,0,0)">Thank you.</span><br></div><div><div><font style="background-color:rgb(255,255,255)" color="#990000">------------------------------------------------<br></font></div>

<div><b><font style="background-color:rgb(255,255,255)" color="#990000">Kris Springer</font></b></div><div><i><font style="background-color:rgb(255,255,255)" color="#990000">=======================</font></i></div></div>
<div>
<span style="background-color:rgba(255,255,255,0)"><i><br></i></span></div></div></div>
<br><br><div class="gmail_quote">On Fri, Nov 8, 2013 at 11:32 PM, Carl Inglis <span dir="ltr"><<a href="mailto:Carl.Inglis@rakon.com" target="_blank">Carl.Inglis@rakon.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">







<div lang="EN-GB" link="blue" vlink="purple">

<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Have you tried sending email as the xymon user rather than as root?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></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:<a href="mailto:xymon-bounces@xymon.com" target="_blank">xymon-bounces@xymon.com</a>]
<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> <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
<b>Subject:</b> Re: [Xymon] not receiving alerts<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></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?<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal"><span style="color:#990000">Thank you.</span><u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="color:#990000;background:white">------------------------------------------------</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><b><span style="color:#990000;background:white">Kris Springer</span></b><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><i><span style="color:#990000;background:white">=======================</span></i><u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></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:<u></u><u></u></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" target="_blank">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" target="_blank">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></span></p>
<div style="WIDTH:375px"><br>
<font face="Calibri">Carl Inglis </font> <font 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: <a href="tel:%2B44%201522%20812630" value="+441522812630" target="_blank">+44 1522 812630</a> | Fax: <a href="tel:%2B44%201522%20812664" value="+441522812664" target="_blank">+44 1522 812664</a> | Mob: <a href="tel:%2B44%207786%20552915" value="+447786552915" target="_blank">+44 7786 552915</a></font><br>


<font color="#34b233" size="1" face="Calibri"><a href="mailto:Carl.Inglis@rakon.com" target="_blank">Carl.Inglis@rakon.com</a> | <a href="http://www.rakon.com" target="_blank">www.rakon.com</a></font></div>
<span>
<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>
<div style="WIDTH:375px"><br>
<img style="MARGIN:0px" border="0" alt="Rakon Logo" src="cid:f57564cdfe9b4cdaba0bdec7ba2e2d68"></div>
</span><span>
<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>
<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" target="_blank">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" target="_blank">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" 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><br>
>> ><br>
>><br>
>> _______________________________________________<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><br>
>><br>
> _______________________________________________<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><br>
><br>
<br>
<u></u><u></u>
<p></p>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>

<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></blockquote></div><br></div></div>