Checkmk 2.0 is here! See what's new.

Werk #1726: Move variable data of Linux/UNIX agents to /var/lib/check_mk_agent

Component Checks & Agents
Title Move variable data of Linux/UNIX agents to /var/lib/check_mk_agent
Date Dec 9, 2014
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 1.2.6b1
Level Prominent Change
Class New Feature
Compatibility Incompatible - Manual interaction might be required

The Linux, AIX, Solaris and other UNIX agents now put state and cache files no longer below /etc/check_mk but per default below /var/lib/check_mk_agent. This can be changed directly in the agent in the following line:

check_mk_agent.*
export MK_VARDIR=/var/lib/check_mk_agent

This means that if you update to the new version of the agent, you must have in mind the following things:

  • Check_MK agent will not find saved logwatch.state files and will consider all logfiles as new. This means that you will miss up to one check cycle of possible new logfile entries.
  • Check_MK agent will forget its cached data and recompute all asynchronous checks
  • Maybe other plugin-specific loss of memory

You can prevent this by manually copying selective data from /etc/check_mk, if you like.

To the list of all Werks