Werk #7226: LXC: Add basic support for Linux containers

Component Checks & agents
Title LXC: Add basic support for Linux containers
Date Mar 4, 2019
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.6.0b1
Level Prominent Change
Class New Feature
Compatibility Compatible - no manual interaction needed

The agent is now detecting when it is executed in a Linux container context and changes it's behaviour depending the environment.

In containers the agent currently does the following:

  • lxc_container_cpu: This check is used instead of the normal CPU utilization check
  • zfs filesystems are not excluded for the df section anymore
  • kernel section is not processed, because it's the host systems kernel the agent reports information for
  • drbd section is not processed for the same reason
  • lnx_thermal section is not processed for the same reason

To the list of all Werks