Xymon Mailing List Archive search

Ignoring proc alerts in the default section

list Henrik Størner
Wed, 1 Nov 2006 22:36:45 +0100
Message-Id: <user-d9798b64af51@xymon.invalid>

On Wed, Nov 01, 2006 at 02:15:25PM -0500, James B Horwath wrote:
I have a default section in my /etc/hobbit/hobbit-alerts.cfg with something like this:
         PROC    my_process
        PROC   his_process

Putting PROC tests in your default section is generally a bad idea.
I have a couple of servers that do not run the processes my_process or his_process and as a result they are showing errors because of the definitions in my DEFAULT section.  How can I have a server ignore the default section?  If I have 99.9% of the hosts using the 2 process and only 2 or 3 which don't, any suggestions on how to handle it?
HOST=* EXHOST=%host1|host2
         PROC    my_process
         PROC   his_process


Henrik