[Xymon] Analysis.cfg CLASS syntax?

Henrik Størner henrik at hswn.dk
Fri Jul 29 18:17:54 CEST 2011


Hi Liz,

> Figured out my include problem issues but still stuck on using CLASS
> in analysis.cfg
> should this work?
>
>> 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?

Ahem, the syntax in hosts.cfg and analysis.cfg aren't quite in sync.

In hosts.cfg, it is "CLASS:db". In analysis.cfg, you must use "CLASS=db".

Yuck ...


Regards,
Henrik



More information about the Xymon mailing list