Xymon Mailing List Archive search

Limitations for CLASS in analysis.cfg?

list Johan Sjöberg
Wed, 11 May 2011 11:35:51 +0000
Message-Id: <user-b6d30f7a2023@xymon.invalid>

Hi.

Can CLASS be used for all tests in analysis.cfg? I configured some hosts to two different classes using hosts.cfg, and then tried to use these for definitions in analysis.cfg like this:

CLASS=class2
       PROC apache2
        PROC ntpd
        PROC snmpd

CLASS=class1
        PROC apache2
        PROC mysqld
        PROC ntpd
        PROC snmpd
        FILE %/backup/latest/.* yellow mtime<90200
        DIR /backup/latest yellow size>1 TRACK

The problem is that only the files test appear on the hosts. Procs report "No process checks defined". So it looks like the CLASS defintions are working, but the PROCS lines are ignored for some reason.
We are running Xymon 4.3.3

/Johan