Xymon Mailing List Archive search

Bug? CLASS in hobbit-clients.cfg, CLASS: assigned in bb-hosts

2 messages in this thread

list Alan Sparks · Wed, 10 Sep 2008 12:30:07 -0600 ·
Hobbit 4.2.0 + allinone on CentOS 4.6.

I have created hosts in bb-hosts similar to the following:
10.1.24.172     den1log15               # CLASS:dblogRx conn ssh

I have added rules to hobbit-clients.cfg as follows:
HOST=%den[123]log[0-9]
        PROC    logRcvr                         CLASS=dblogRx
EXHOST=den1log09

This does not work -- the process is not monitored.
If I use a HOST= clause, regex or explicit, it does work.

Why are CLASS directives, set in the bb-hosts file, not honored?  Thanks.
-Alan
list Henrik Størner · Tue, 30 Sep 2008 13:30:12 +0000 (UTC) ·
quoted from Alan Sparks
In <user-74d7f80cc99a@xymon.invalid> Alan Sparks <user-8f2174fd8b66@xymon.invalid> writes:
Hobbit 4.2.0 + allinone on CentOS 4.6.
I have created hosts in bb-hosts similar to the following:
10.1.24.172     den1log15               # CLASS:dblogRx conn ssh
I have added rules to hobbit-clients.cfg as follows:
HOST=%den[123]log[0-9]
       PROC    logRcvr  CLASS=dblogRx EXHOST=den1log09
This does not work -- the process is not monitored.
If I use a HOST= clause, regex or explicit, it does work.
Why are CLASS directives, set in the bb-hosts file, not honored?  Thanks.

Know it sounds silly, but does it work if you put the CLASS 
restriction after the EXHOST ?


Henrik