Xymon Mailing List Archive search

Alert on Log Entry

list Nick Pettefar
Wed, 6 Feb 2013 23:06:21 +0000
Message-Id: <CAA9hN5OPn=DtBA1cq3E=uE90M2SBWX9Lasp-KpYC==aGZXF=user-2d132c054b18@xymon.invalid>

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