Hi,
Did you try what Dominique Frise suggested:
You may want to try:
LOG /var/log/messages %(?-i)lockup COLOR=red
Regards,
Carl Melgaard
Fra: akshar bhosale [mailto:user-ef04175556bd@xymon.invalid]
Sendt: 16. februar 2011 06:12
Til: xymon at xymon.com
Emne: Fwd: Fwd: [xymon] msgs : always green instead of configuring for errors
Hi,
after changing the settings, same issue is coming. i ama getting those messages inside msgs tab but color is always remains green.
kindly help me.
-akshar
---------- Forwarded message ----------
From: Dominique Frise <user-78ab6673b600@xymon.invalid<mailto:user-78ab6673b600@xymon.invalid>>
Date: Mon, Feb 14, 2011 at 6:46 PM
Subject: Re: Fwd: [xymon] msgs : always green instead of configuring for errors
To: xymon at xymon.com<mailto:xymon at xymon.com>
On 02/14/11 01:43 PM, akshar bhosale wrote:
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<mailto: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<mailto:user-ef04175556bd@xymon.invalid> <mailto:user-ef04175556bd@xymon.invalid<mailto:user-ef04175556bd@xymon.invalid>>
On Mon, Feb 14, 2011 at 12:00 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid<mailto:user-ce4a2c883f75@xymon.invalid>
<mailto:user-ce4a2c883f75@xymon.invalid<mailto:user-ce4a2c883f75@xymon.invalid>>> wrote:
In <user-090cc990b59a@xymon.invalid<mailto:user-090cc990b59a@xymon.invalid>
akshar bhosale <user-ef04175556bd@xymon.invalid<mailto:user-ef04175556bd@xymon.invalid>
<mailto:user-ef04175556bd@xymon.invalid<mailto: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
xymon-unsubscribe at xymon.com<mailto:xymon-unsubscribe at xymon.com> <mailto:xymon-unsubscribe at xymon.com<mailto:xymon-unsubscribe at xymon.com>>
You may want to try:
LOG /var/log/messages %(?-i)lockup COLOR=red
From hobbit-clients.cfg(5):
...
Note that Xymon defaults
to case-insensitive pattern matching; if that is not what
you want, put "(?-i)" between the "%" and the regular
expression to turn this off. E.g. "%(?-i)WARNING" will match
the word WARNING only when it is upper-case.
...
Dominique