[checkmk-commits] Abstracted common code for cmc/nagios config