Xymon Mailing List Archive search

DISK check: HOST must be before CLASS

1 message in this thread

list Bakkies Gatvol · Tue, 3 Jun 2014 10:02:04 -0400 ·
in analysis.cfg - it surprised me that this did not work:

CLASS=linux
        DISK /cdrom IGNORE
        DISK  * 100 102
        PROC ntpd 
        PROC sshd 1 
        PROC cron

HOST=athyna,xymam00
        DISK    * 88 96


HOST=appel,banana

        PROC sendmail


But putting the host athyna (which is linux) first does:


HOST=athyna,xymam00

        DISK    * 88 96


CLASS=linux


        DISK /cdrom IGNORE


        DISK  * 100 102
        PROC ntpd 
        PROC sshd 1 
        PROC cron

HOST=appel,banana
        PROC sendmail


I do many PROC  tests per HOST after the CLASS definition - why is DISK difficult about sequence?

I run my own disk test for most servers, that is why the CLASS basically turns the test off. Then I realized I was not testing athyna at all, and the default would actually be fine.