Xymon Mailing List Archive search

not receiving alerts

list Kris Springer
Sat, 9 Nov 2013 00:38:44 -0800
Message-Id: <user-8d85553d999a@xymon.invalid>

Yes, I am able to send mail from the command line when using the xymon
user.

Thank you.
*Kris Springer*
*=======================*


On Fri, Nov 8, 2013 at 11:32 PM, Carl Inglis <user-96685bdc864b@xymon.invalid> wrote:
 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 <user-87556346d4af@xymon.invalid>
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)
user-87556346d4af@xymon.invalid[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
<user-76fdb6883669@xymon.invalid>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: +XX XXXX XXXXXX | Fax: +XX XXXX XXXXXX | Mob: +44 7786 552915
user-96685bdc864b@xymon.invalid | www.rakon.com

[image: The Queens Awards for Enterprise 2012]

[image: 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] On Behalf Of Mike Burger
Sent: Saturday, October 19, 2013 11:26 AM
To: Kris Springer
Cc: 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*

• *