Xymon Mailing List Archive search

Problems with IGNORE in hobbit-client.cfg

list Thorsten Erdmann
Fri, 04 Sep 2009 11:17:40 +0200
Message-Id: <user-ca254ab66bef@xymon.invalid>

Hi

I have some difficulties to ignore some messages using the hobbit-client.cfg file.

I want to ignore all messages that contain the word "smb_proc_readdir_long".

So I build such rule:

HOST=s068a300
        LOG     %.* %(fatal|error)   COLOR=red IGNORE=smb_proc_readdir_long
        LOG     %.* warning          COLOR=yellow

I also tried IGNORE=%smb...

If I write a message to /var/log/user like this:

logger -p daemon.notice Testmessage ERROR smb_proc_readdir_long

the message is not ignored by Hobbit:

System logs at Fri Sep 4 11:08:39 CEST 2009

 Critical entries in /var/log/messages
 .2009/09/04 11:03:53][s068a300:daemon.notice] root: Testmessage ERROR smb_proc_readdir_long
 .2009/09/04 11:03:53][s068a300:daemon.notice] root: Testmessage ERROR smb_proc_readdir_long


Another question: if I have many IGNOREs, can I put them on multiple lines for readability like this:

HOST=s068a300
        LOG     %.* %(fatal|error)   COLOR=red          IGNORE=smb_proc_readdir_long
         IGNORE=blabla
         IGNORE=nonsense
        LOG     %.* warning          COLOR=yellow
 

 Thorsten Erdmann


If you are not the intended addressee, please inform us immediately that you have received this e-mail in error, and delete it. We thank you for your cooperation.