Xymon Mailing List Archive search

Disk space test ignored

list Japheth Cleaver
Fri, 8 Apr 2016 12:53:06 -0700
Message-Id: <user-23b4c5648699@xymon.invalid>


On Fri, April 8, 2016 7:23 am, Scot Kreienkamp wrote:
Can you grep for DISK on this instead of the host? The config shown
*looks* correct to me, which makes me think that it's a different rule
being applied still.

When you run with --debug enabled on xymond_client, is there any output
on
the 'df' evaluation for this host?

-jc
JC, you're a miracle worker.  So what I finally found out was that a class
definition was placed in a hosts.d subfile with the rest of the hosts
configs in another hosts.d subfile, and due to alphabetical order it was
being loaded first.  When I renamed the files so the class file was being
loaded last the test started using the proper config.

Thanks!
No problem :)

This is definitely potentially confusing though. I wonder if it might be
possible a generation time to warn on overlapping rules like this.

-jc