[Xymon] [Bug report] file size limit units and analysis.cfg man page

Christoph Zechner zechner at vrvis.at
Tue May 25 14:31:34 CEST 2021


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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x5917F9DEDCA85224.asc
Type: application/pgp-keys
Size: 3143 bytes
Desc: OpenPGP public key
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20210525/09c095ff/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20210525/09c095ff/attachment.sig>


More information about the Xymon mailing list