[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] FILES directory test not graphing
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] FILES directory test not graphing
- From: Henrik "Størner" <henrik (at) hswn.dk>
- Date: Fri, 23 Oct 2009 17:02:57 +0000 (UTC)
- Newsgroups: lists.hobbit
- Organization: Linux Users Inc.
- References: <hbnqkn$peh$3 (at) voodoo.hswn.dk> <c6fda93d0910190840j45105a02p7ee9d2d139862ed6 (at) mail.gmail.com> <hbnqkn$peh$3 (at) voodoo.hswn.dk> <c6fda93d0910220845s175409e8r90bba71e9a3eee2a (at) mail.gmail.com>
- User-agent: nn/6.7.3
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