[BUG] file: and dir: scale inconsistency
14 Jan
2008
14 Jan
'08
2:27 p.m.
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
6737
Age (days ago)
6737
Last active (days ago)
0 comments
1 participants
participants (1)
-
charles.goyard@orange-ftgroup.com