Werk #1726

KomponenteChecks & Agents
TitelMove variable data of Linux/UNIX agents to /var/lib/check_mk_agent
Datum2014-12-09 14:00:38
Check_MK EditionCheck_MK Raw Edition (CRE)
Check_MK Version1.2.6b1
Level2 - Wichtige Änderung
KlasseNew Feature
KompatibilitätIncompatible - 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.