Checkmk Enterprise Edition 2.3.0p25:
CMK Appliance:
check_mk: Config creation for active check sql failed on celpgsqlp403_pgSQL_tsmp: invalid literal for int() with base 10: ‘$HOSTLABEL_pgport$’:
I think there is a bug that was introduced in
Werk #16644: Check SQL: Allow to configure port via custom macros
When creating rule for Check SQL Database you should be able to determine DB port from macro, but it seems this doesnt works properly. All other macros in rule expands as expected.
Obviously this Macro doesnt expand as seen from error message. Does anybody has the same problem, or do I use wrong macro name? I believe $HOSTLABEL_key$ is the correct syntax.