[Xymon] Disk space test ignored
J.C. Cleaver
cleaver at terabithia.org
Fri Apr 8 21:53:06 CEST 2016
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
More information about the Xymon
mailing list