[hobbit] File and dir size's wrong
Henrik Størner
henrik at hswn.dk
Mon Jan 12 13:51:35 CET 2009
In <b5cd8d890901081640t5bd62eddi202652f7a42a68fb at mail.gmail.com> "Paul Ward" <pnward at googlemail.com> writes:
>I have installed xymon on centos5 from source.
>For some reason the files and dirs are incorrect.
>My /home/xymon folder is 40MB but is only reported as 40k
>I put DU="du -k" into the hobbitserver.cfg hoping to report the folder
>in the same measurements but it is not working.
You shouldn't change the DU setting; Xymon assumes that clients
report their data in KB (which is also the default on Linux).
I'm not sure there an error in the way Hobbit reports the data.
It could be that you're just misreading it. E.g. the files-
graph has a Y-axis labeled "KB". So if the graph shows a value
of "40k", then that is "40k KB", a.k.a. 40 MB.
If you want the graph to show MB, then you can modify the
graph definition in hobbitgraphs.cfg: Change the Y-axis
to "MB", and instead of displaying the raw data from the
RRD file you display a calculcated value (CDEF) which is
the raw value divided by 1024.
Regards,
Henrik
More information about the Xymon
mailing list