Xymon Mailing List Archive search

Two newbie analysis.cfg syntax questions - include file and class syntax

list Elizabeth Schwartz
Sat, 16 Jul 2011 23:20:18 -0400
Message-Id: <CAAVLHR1U-f4_nLO7edmvhkJwX6nk3P4QLXL=user-124fd9da88e2@xymon.invalid>

OK this is basic but I can't find an answer or example online
1) what *exactly* is the syntax for including a file in analysis.cfg?
Should it be

include myfile.cfg
or
#include myfile.cfg
or what?

also, I'm failing utterly to get the CLASS syntax to work in analysis.cfg.

I've got some classes set up and they  works fine in client-local.cfg
but analysis.cfg does not see to see anything with CLASS
For example I have in hosts.cfg

10.100.1.60     db3.example.com # CLASS:db ntp
10.100.1.61     db4.example.com # CLASS:db ntp

I'm using the db CLASS in client-local.cfg and it's fine, does the
right thing. But  If I start a section in analysis.cfg with
HOST=%^db[2|3|4|5|6|8].example.com everything works fine.

But if I change the section to
CLASS=db

nothing happens. Is that the right syntax