[Xymon] recurring email alerts - SOLVED

John D. Alexander JAlexander at feeneywireless.com
Wed Apr 16 00:03:17 CEST 2014


Okay, this is embarrassing, but I'll post anyway in case someone runs into this.

I had originally installed Big Brother and BB clients.  Then I migrated to Xymon.  On the two systems in question, I had neglected to turn off and remove the BB clients.  So.. I had 2 applications - only one of which had permissions to /var/log/messages and was getting flapping status.

bbc up at the top of the chkconfig printout and xymon-client down at the bottom.

I found it after turning the xymon-client off on one of the server and observing new messages saying that /var/log/messages was unreadable.  Light bulb!!

John A.

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of John D. Alexander
Sent: Tuesday, April 15, 2014 8:06 AM
To: xymon at xymon.com
Subject: Re: [Xymon] recurring email alerts

I've checked all of my systems and no misconfigurations like that.  I also disabled the msgs report on the server and cleared all of the msgs status for the two servers and they are still reporting the issue of not being able to read log files.

I guess the next thing is to clear the entire host off the server and wait to see what happens.

John A.

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Adam Goryachev
Sent: Monday, April 14, 2014 4:38 PM
To: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] recurring email alerts

On 15/04/14 01:14, John D. Alexander wrote:
I'm at a loss.  Now I've got a client reporting /var/log/messages as unreadable and the server is showing a flapping status for msgs.  Group ownership for /var/log/messages is set to root:xymon with proper permissions, so it should be able to read it.  When I su to the xymon user, it can get to that file just fine.


Look at the IP address reporting the issue, possibly you have two systems reporting under the same name.

Regards,
Adam

There is nothing in analysis.cfg that is watching either /var/log/messages or /var/log/fail2ban.

I cleared msgs from the server.  Restarted the client.  The issue keeps coming back.

Any ideas?

John A.

From: Betsy Schwartz [mailto:betsy.schwartz at gmail.com]
Sent: Friday, April 11, 2014 6:44 PM
To: John D. Alexander
Cc: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] recurring email alerts


I had that error once when I had a space after the file name in analysis.cfg

If you can't find that file name maybe there's a shell eval that includes it somewhere?

Sent from my iPhone

On Apr 11, 2014, at 6:41 PM, "John D. Alexander" <JAlexander at feeneywireless.com<mailto:JAlexander at feeneywireless.com>> wrote:
My Xymon server keeps sending alerts for a system saying that /var/log/fail2ban.log is unreadable.

Nothing I can find is testing for this file and the permissions are such that xymon can read it.

Any clues on where to look to find what is causing this?

Thanks.

John Alexander
Network Administrator
John.Alexander at feeneywireless.com<mailto:John.Alexander at feeneywireless.com>
Feeney Wireless, LLC  - PO Box 2549, Eugene, Oregon 97402
(Free) 800-683-4818   (P) 541-685-9045     (F) 541-284-0030
www.feeneywireless.com<http://www.feeneywireless.com/>
<image001.jpg><http://feeneywireless.com/>
This email transmission is intended only for the addressee shown above. It may contain information that is privileged, confidential or otherwise protected from disclosure. Any review, dissemination or use of this transmission or its contents by persons other than the addressee is strictly prohibited! If you have received this email transmission in error please notify us immediately.

_______________________________________________
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

--
Adam Goryachev Website Managers www.websitemanagers.com.au<http://www.websitemanagers.com.au>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140415/7fed5085/attachment.html>


More information about the Xymon mailing list