Xymon Mailing List Archive search

Alert on Log Entry

list Paul Root
Thu, 7 Feb 2013 13:10:56 +0000
Message-Id: p842

The test will be messages not log.

This is basic Xymon stuff. Read the man pages or just read the comments in the config files.

Sent via Divide iOS

On Wednesday, February 6, 2013, 5:07:07 PM, "Nick Pettefar" <user-2027539dd102@xymon.invalid> wrote:

Hi Paul,

Could you explain the last part: "Then you use msgs test not the log
test." please?  Do you mean do something with "msgs" in the alerts.cfg
file?  if so, what - could you give an example please?

Regards,

Nick Pettefar - Xymon Rookie


On 6 February 2013 20:35, Root, Paul <user-76fdb6883669@xymon.invalid> wrote:
Yes,
        You set the log files to look at in client-local.cfg (on the server) in the proper machine type area.

        Then you edit the analysis.cfg file with the LOG command.

        Then you use msgs test not the log test.

-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Nick Pettefar
Sent: Wednesday, February 06, 2013 11:56 AM
To: xymon
Subject: [Xymon] Alert on Log Entry

Hi, is it possible to configure the alerts.cfg file to send an e-mail if a server's particular log has a certain entry?

I have

HOST=server-abc-ge1
   MAIL user-bbed4d766b23@xymon.invalid SERVICE=log COLOR=red

Can I put something like SERVICE=log:Fail.log="Big-Failure"

Regards,

Nick Pettefar - Xymon Rookie