Xymon Mailing List Archive search

need help with IGNORE pattern

list Asif Iqbal
Thu, 20 Nov 2008 09:15:23 -0500
Message-Id: <user-9fbeb1a67c78@xymon.invalid>

On Thu, Nov 20, 2008 at 1:24 AM, Dominique Frise
<user-78ab6673b600@xymon.invalid> wrote:
Steve Holmes wrote:
On Wed, Nov 19, 2008 at 2:14 AM, Dominique Frise <user-78ab6673b600@xymon.invalid>
wrote:


   - Make sure you don't have other rules for /var/adm/messages in
   hobbit-clients.cfg.


What? Why? How can you live with only one rule?
 Steve
--
Truth never damages a cause that is just. -Mohandas Karamchand Gandhi
(1869-1948)
The rule used by Asif is generic (no HOST=...).
Keeping only this rule will help debugging.
I created a temporary hobbit-client.cfg file to test and put the
IGNORE pattern on DEFAULT instead of
host specific like you suggested and *only* then I get the expected result.

(hobbit)@hobbit:~/server$ ./bin/hobbitd_client
--config=/tmp/hobbit-clients.cfg --test

So I just removed that host specific rule and moved the IGNORE pattern
to DEFAULT.
Nasty workaround if you ask me :-)

Thanks for the help
What? Why? How can you live with only one rule?
 Steve
--
Truth never damages a cause that is just. -Mohandas Karamchand Gandhi
(1869-1948)
Dominique

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu