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 <dominique.frise at unil.ch> 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
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* <pankaj.dorlikar at gmail.com <mailto:pankaj.dorlikar at gmail.com>> Date: Mon, Feb 14, 2011 at 6:05 PM Subject: Re: [xymon] msgs : always green instead of configuring for errors To: akshar.bhosale at gmail.com <mailto:akshar.bhosale at gmail.com>
On Mon, Feb 14, 2011 at 12:00 PM, Henrik Størner <henrik at hswn.dk <mailto:henrik at hswn.dk>> wrote:
In <AANLkTikfYsvxA4dTTgTVrhQCFGG-vMQOAZ8XbvJHc_57 at mail.gmail.com <mailto:AANLkTikfYsvxA4dTTgTVrhQCFGG-vMQOAZ8XbvJHc_57 at mail.gmail.com>>
akshar bhosale <akshar.bhosale at gmail.com <mailto:akshar.bhosale at gmail.com>> writes:
>i am using xymon 4.2.2. I want that each client should show msgsred 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=redYou should Never, Ever, put PROC and LOG settings in the DEFAULT section.
Move them into a "HOST=*" section, before the DEFAULT one.
Regards, Henrik
To unsubscribe from the xymon list, send an e-mail to 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
To unsubscribe from the xymon list, send an e-mail to xymon-unsubscribe at xymon.com