[Xymon] Analysis.cfg CLASS syntax?
Elizabeth Schwartz
betsy.schwartz at gmail.com
Fri Jul 29 20:57:40 CEST 2011
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
More information about the Xymon
mailing list