Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

Werk #4616: mk_postgres/mk_db2.linux: Fixed quotes which lead into wrong interpretation

Component Checks & agents
Title mk_postgres/mk_db2.linux: Fixed quotes which lead into wrong interpretation
Date Apr 11, 2017
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.5.0i1 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

The double quotes in awk of the function compare_version_greater_euqal lead into a bash interpreting of the $1 variable expansion. In consequence the comparison between e.g. 9.0 and 7.3 resultet in a return 1. This misbehaviour has been fixed now.

To the list of all Werks