Werk #5503: cmk-update-agent: Convenient logging on Linux

Component Agent bakery
Title cmk-update-agent: Convenient logging on Linux
Date Jul 10, 2018
Checkmk Edition Checkmk Enterprise (CEE)
Checkmk Version 1.5.0b9 1.6.0b1
Level Trivial Change
Class New Feature
Compatibility Compatible - no manual interaction needed

The Agent Updater now makes use of its logging capabilities more conveniently. Only ERRORs and WARNINGs will be logged to syslog.

Additionally, a detailed log will be created at /var/lib/check_mk_agent/cmk-update-agent.log when running as plugin. It will be rotated every 5MB with a maximum of 3 backups. This improves our capabilities for an a-posteriori error analysis.

When running cmk-update-agent manually, a logfile can be specified using the -l flag.

To the list of all Werks