Xymon Mailing List Archive search

msgs : always green instead of configuring for errors

list Akshar Bhosale
Mon, 14 Feb 2011 18:13:50 +0530
Message-Id: <AANLkTi=user-bb729f9858d7@xymon.invalid>

Hi,

     Thank you for pointing the mistake; but even after changing the
setting, it is not working. Here are my changed settings in
hobbit-clients.cfg
Hosts are host1.abc.pqr.xyz----host50.abc.pqr.xyz

HOST=%.*.abc.pqr.xyz
 LOG /var/log/messages lockup COLOR=red

DEFAULT
        # These are the built-in defaults.
        UP      1h
        LOAD    18.0 20.0
        DISK    * 90 95
        MEMPHYS 100 101
        MEMSWAP 50 80
        MEMACT  90 97

Even after restarting server and client, it is showing the same behaviour.
Kindly let me know i

-akshar
---------- Forwarded message ----------
From: pankaj dorlikar <user-93d3572686c4@xymon.invalid>
Date: Mon, Feb 14, 2011 at 6:05 PM
Subject: Re: [xymon] msgs : always green instead of configuring for errors
To: user-ef04175556bd@xymon.invalid


On Mon, Feb 14, 2011 at 12:00 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:
 In <user-090cc990b59a@xymon.invalid> akshar
bhosale <user-ef04175556bd@xymon.invalid> writes:
i am using xymon 4.2.2. I want that each client should show msgs red if
lockup word comes in /var/log/messages.
~xymon/server/etc/hobbit-clients.cfg
DEFAULT
       # These are the built-in defaults.
       UP      1h
       LOAD    18.0 20.0
       DISK    * 90 95
       MEMPHYS 100 101
       MEMSWAP 50 80
       MEMACT  90 97
       PROC cron
       PROC /opt/PBS/bin/myscript.sh
       LOG /var/log/messages lockup COLOR=red
You should Never, Ever, put PROC and LOG settings in the
DEFAULT section.

Move them into a "HOST=*" section, before the DEFAULT one.


Regards,
Henrik