Xymon Mailing List Archive search

Analysis.cfg CLASS syntax?

list Elizabeth Schwartz
Fri, 29 Jul 2011 14:57:40 -0400
Message-Id: <CAAVLHR0UBFHnFuQAZb855Ez=user-dbd0023a347f@xymon.invalid>

Thanks Hendrik! I am using the syntax CLASS=db in analysis.cfg but no joy

Here's an example section. If I comment OUT the first line and comment
IN the second line it doesn't work. I just get the defaults.

(in this particular case, a very noisy test as the *oracle* disk tests
 light up all the hosts like a christmas tree)

HOST=%^db[2|3|4|5|6|8].example.com
#CLASS=db
        MEMPHYS 100 101
        MEMSWAP 85 95
        DISK %.*oracle.* IGNORE
        DISK %.* 80 90
        LOG /export/home/xymon/client/tmp/powermt.out %degraded COLOR=red
        LOG /var/adm/messages %.*NIC.failure.* COLOR=yellow

I'm pretty sure the class is good because I used it in
client-local.cfg to set up a rule that works fine, I get the log I
want on all the hosts:

[db]
log:/export/home/xymon/client/tmp/powermt.out:10240

thanks Betsy