[Xymon] DISK check: HOST must be before CLASS
Bakkies Gatvol
bakgat8 at hotmail.com
Tue Jun 3 16:02:04 CEST 2014
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140603/04d45f72/attachment.html>
More information about the Xymon
mailing list