Werk #12704: Do not create Carbon data if no connection is configured

Component Core & setup
Title Do not create Carbon data if no connection is configured
Date Mar 15, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1
Not yet released
Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b1
Not yet released
Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b1 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0b2 Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p22 Checkmk Enterprise (CEE), Checkmk MSP (CME)

The core would create and enqueue data for the Carbon connection even if none is configured. This may incur a small performance penalty and, provided the site generates a large amount of data, log messages such as [carbon connection pool] queue full, didn't push update that are irrelevant.

This fix only sends data to the Carbon connection if necessary.

To the list of all Werks