Checkmk Conference#7 is going live today! Join it here!

Werk #7171: cmk-update-agent: Improved error handling

Component Agent Bakery
Title cmk-update-agent: Improved error handling
Date Sep 5, 2019
Checkmk Editon Checkmk Enterprise (CEE)
Checkmk Version 2.0.0i1 1.6.0b9 1.5.0p22
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Previously, the agent updater might crash with a meaningless error like

ERROR compile() expected string without null bytes
when it tries to read from a corrupt config or state file.

This is now mitigated by showing a meaningful error that refers to the file that caused the problem.

To the list of all Werks