[BUG] file: and dir: scale inconsistency
Charles Goyard
charles.goyard at orange-ftgroup.com
Mon Jan 14 15:27:10 CET 2008
Hi,
I found a bug in hobbit-4.2's "file" and "dir" graph handling. It
expects KB but gets bytes for files. So when you mix files and dirs on
the same graph, small files can appear bigger than large directories.
I suggest adding a /1024 in client_config.c:check_file() rather than
changing the "du -k" because it doesn't require reinstallation of all
clients. But turning the unit to Bytes (by using a CDEF:*,1024) on the
graph makes sense since the unit rrdgraph scales to makes sizes easiers
to read.
Regards,
--
Charles Goyard - charles.goyard at orange-ftgroup.com - (+33) 1 45 38 01 31
Orange Business Services - online multimedia // ingénierie
More information about the Xymon
mailing list