Skip to content

check_ram2: Prevent scientific notation errors

Adrian Schollmeyer requested to merge fix-check_ram2-value-notation into master

awk might print out numbers in scientific notation when using the print statement instead of printf. However, bc is unable to handle the scientific notation, leading to missing perfdata and possibly invalid results. By switching to printf in the awk expressions, this commit force the use of regular integer values.

Merge request reports