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

Komponente Checks & agents
Titel Move variable data of Linux/UNIX agents to /var/lib/check_mk_agent
Datum 09.12.2014
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 1.2.6b1
Level Bedeutende Änderung
Klasse Neues Feature
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein

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.

Zur Liste aller Werks