You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I completely forgot this issue.
The problem is the "b" is missing in the unit:
-'10,500m'+'10,500mb'
We should fix the documentation:
If THRESHOLD is a size, the following units are accepted (not case sensitive): b (Byte), k (KB), m (MB), g (GB), t (TB), p (PB), e (EB) or Z (ZB). Only integers are accepted. Eg. 1.5MB will be refused, use 1500kB.
To:
If THRESHOLD is a size, the following units are accepted (not case sensitive): b (Byte), kb (KB), mb (MB), gb (GB), tb (TB), pb (PB), eb (EB) or zb (ZB). Only integers are accepted. Eg. 1.5MB will be refused, use 1500kB.
I try to add a test in order to trigger an error if the format is not respected (\d+)(,\d+[kmgtpez]?b)?. But I wasn't able to add such test without breaking the while :(
I open this issue in order to not forget it :)
Performance data are wrong (at least with temp_files service):
Expect to have
warn=10 crit=50
on # files andwarn=500m crit=5G
on file size.Regards,
The text was updated successfully, but these errors were encountered: