[Xymon] not receiving alerts

Carl Inglis Carl.Inglis at rakon.com
Sat Nov 9 08:32:15 CET 2013


Have you tried sending email as the xymon user rather than as root?

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Kris Springer
Sent: 09 November 2013 07:30
To: Japheth Cleaver
Cc: xymon at xymon.com
Subject: Re: [Xymon] not receiving alerts

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?

Thank you.
------------------------------------------------
Kris Springer
=======================


On Fri, Nov 8, 2013 at 5:26 PM, Japheth Cleaver <cleaver at terabithia.org<mailto:cleaver at terabithia.org>> wrote:
You should see something in in /var/log/xymon/notifications.log whenever
xymond_alert thinks it's sending (e.g.) an email off:


Fri Nov  8 14:16:33 2013 monitor.example.net.procs (192.168.2.5)
cleaver at terabithia.org<mailto:cleaver at terabithia.org>[170] 1383948993 300


If you see that, then your config logic is probably OK. Double check your
'mail' lines in xymonserver.cfg:


MAILC="mail"           # Command used to send an e-mail with no subject
MAIL="$MAILC -s"       # Command used to send an e-mail with a subject


If you can send an email by hand, and those binaries are in normal spots,
perhaps there's a permissions problem? Weird PATH issues? SELinux?


HTH,
-jc



On Fri, November 8, 2013 3:14 pm, Kris Springer wrote:
> I'm still trying to find a solution to this.  I haven't been able to focus
> on this for a while.  My alerts are still not sending out.  I assumed that
> maybe Amazon AWS was blocking them for some reason, but I filled out all
> the forms and supposedly have no blocking going on.  The logs on Xymon
> don't show me anything that jump out as the problem.  I am able to send
> test messages using sendmail from the command line with not trouble at all
> to email addresses hosted at Google and Godaddy.  I've checked spam and
> junk folders but the alerts just aren't getting there.  HELP!  Any
> suggestion will be attempted, but please don't just make general
> suggestions like "check the logs" without specifying what exactly I'm
> supposed to be checking.
>
> Thank you.
> ------------------------------------------------
> *Kris Springer*
>
>
>
> On Sat, Oct 19, 2013 at 3:46 PM, Root, Paul T
> <Paul.Root at centurylink.com<mailto:Paul.Root at centurylink.com>>wrote:
>
>> Use: /usr/lib64/xymon/server/bin/xymond_alert --test $* --duration=500
>> |grep -v Failed
>> To test what alerts do.
>>
>> Look at ~xymon/server/logs/notifications.log (or where ever you have it.
>> I
>> have /var/log/xymon) to see what it actually did.
>>
>>

Carl Inglis
Systems Administrator

Rakon UK Limited
Dowsett House, Sadler Road, Lincoln LN6 3RS, United Kingdom
Tel: +44 1522 812630 | Fax: +44 1522 812664 | Mob: +44 7786 552915
Carl.Inglis at rakon.com | www.rakon.com

[The Queens Awards for Enterprise 2012]

[Rakon Logo]

This message together with any attachments contains confidential information and may be
subject to privilege. If you are not the intended recipient you may not distribute it in any
way, you must notify the sender immediately and delete any copies of the message along
with its attachments.

Rakon UK Ltd is a limited company registered in England and Wales.
Registered Office: Dowsett House, Sadler Road, Lincoln LN6 3RS
Company Registration Number: 5128090.

Please be aware that Rakon UK Limited may monitor email traffic data
including the date, time, subject line, sender and recipients for the
purposes of security and usage monitoring. Automated monitoring
systems may also be applied to ascertain whether incoming/outgoing
emails are likely to contain viruses, other destructive devices or
inappropriate content.
-----Original Message-----
>> From: Xymon [mailto:xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>] On Behalf Of Mike Burger
>> Sent: Saturday, October 19, 2013 11:26 AM
>> To: Kris Springer
>> Cc: xymon at xymon.com<mailto:xymon at xymon.com>
>> Subject: Re: [Xymon] not receiving alerts
>>
>> You mentioned looking at logs...the Xymon logs, or /var/log/maillog?
>>
>> I'm curious as to what the maillog shows for the events/times in
>> question.
>> --
>> Mike Burger
>> http://www.bubbanfriends.org
>>
>> "It's always suicide-mission this, save-the-planet that. No one ever
>> just
>> stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
>>
>>
>> > I'm not receiving alerts on red and yellow's.  I set up my server a
>> > while ago and received many alerts during setup and even after.  But
>> > about a week ago I stopped receiving the emails.  They're not going to
>> > spam, and I am able to send emails via command line from the Xymon
>> > server with no trouble.
>> >  I've looked in the logs and am not seeing anything.  Xymon is running
>> > on an Ubuntu v13 box hosted on AWS.  Ideas?
>> >
>> > Thank you.
>> > ------------------------------------------------
>> > *Kris Springer*
>> >
>> > *
>> > *
>> > _______________________________________________
>> > Xymon mailing list
>> > Xymon at xymon.com<mailto:Xymon at xymon.com>
>> > http://lists.xymon.com/mailman/listinfo/xymon
>> >
>>
>> _______________________________________________
>> Xymon mailing list
>> Xymon at xymon.com<mailto:Xymon at xymon.com>
>> http://lists.xymon.com/mailman/listinfo/xymon
>>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com<mailto:Xymon at xymon.com>
> http://lists.xymon.com/mailman/listinfo/xymon
>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20131109/2d20a1fb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qafe2.jpg
Type: image/jpeg
Size: 9624 bytes
Desc: qafe2.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20131109/2d20a1fb/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: emailsig.jpg
Type: image/jpeg
Size: 4046 bytes
Desc: emailsig.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20131109/2d20a1fb/attachment-0001.jpg>


More information about the Xymon mailing list