Xymon Mailing List Archive search

FILES directory test not graphing

list Henrik Størner
Fri, 23 Oct 2009 17:02:57 +0000 (UTC)
Message-Id: <hbsnk1$u1e$user-e356fad9864f@xymon.invalid>

In <user-6a8a14f8f1b3@xymon.invalid> Patrick Nixon <user-1f2406f832af@xymon.invalid> writes:
I did.   It appears that the DIR directive doesn't honor the 200M for
the size option instead, it requires 204800000 (the number I'm using
to approximate 200M).
Have you seen this behavior before?
Working:
 DIR /opt/app/oracle/diag/tnslsnr/mmsdb2/listener/alert/ RED
SIZE<204800000 TRACK
Not Working:
 DIR /opt/app/oracle/diag/tnslsnr/mmsdb2/listener/alert/ RED SIZE<200M TRA=
CK

Yes, it is intentional - the various "du" commands use different 
metrics: Some report kB, some report disk blocks (usually 512 bytes)...
To avoid having to know about the intricacies of each system,
Xymon just compares the number it gets from the client with the
number from hobbit-clients.cfg, withouth doing any kind of
math to convert numbers.


Regards,
Henrik