[Bug report] file size limit units and analysis.cfg man page
25 May
2021
25 May
'21
12:31 p.m.
Hi,
I found a bug in xymon's [1] analysis.cfg when checking a file for max file size. The description for SIZE states
"You can append "K" (KB), "M" (MB), "G" (GB) or "T" (TB) to the size. If there is no such modifier, KB is assumed."
While this seems to be true, "B" (Bytes) also works, although not documented. This should be corrected to reflect this additional unit.
The man page for analysis.cfg has a mistake in it, namely here:
"If there is no such modifier, Kilobytes is assumed. E.g. to warn if a file grows larger than 1MB, use size<1024M."
This does seem like a typo, obviously this should read "[...] larger than 1MB, use size<1024KB."
Thanks in advance!
Cheers Christoph Zechner
[1] Debian 10.9, xymon 4.3.28 (4.3.28-5+deb10u1)
1856
Age (days ago)
1856
Last active (days ago)
0 comments
1 participants
participants (1)
-
zechner@vrvis.at