[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] FILES directory test not graphing



In <c6fda93d0910220845s175409e8r90bba71e9a3eee2a (at) mail.gmail.com> Patrick Nixon <pnixon (at) gmail.com> 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