Module: check_mk
Branch: master
Commit: e205e891466e44af76262d24f7439c3ab0cf34a0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e205e891466e44…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Dec 9 14:04:56 2014 +0100
#1726 Move variable data of Linux/UNIX agents to /var/lib/check_mk_agent
The Linux, AIX, Solaris and other UNIX agents now put state and cache files
no longer below <tt>/etc/check_mk</tt> but per default below
<tt>/var/lib/check_mk_agent</tt>.
This can be changed directly in the agent in the following line:
F+:check_mk_agent.*
export MK_VARDIR=/var/lib/check_mk_agent
F-:
This means that if you update to the new version of the agent, you must have
in mind the following things:
<ul>
<li>Check_MK agent will not find saved <tt>logwatch.state</tt> files and
will consider all logfiles as new. This means
that you will miss up to one check cycle of possible new logfile entries.</li>
<li>Check_MK agent will forget its cached data and recompute all asynchronous
checks</li>
<li>Maybe other plugin-specific loss of memory</li>
</ul>
You can prevent this by manually copying selective data from
<tt>/etc/check_mk</tt>, if you like.
---
.werks/1726 | 28 ++++++++++++++++++++++++++++
ChangeLog | 2 ++
agents/check_mk_agent.aix | 4 +++-
agents/check_mk_agent.linux | 14 ++++++++------
agents/check_mk_agent.solaris | 9 ++++-----
agents/mk-job | 4 +++-
agents/mk-job.solaris | 4 +++-
agents/plugins/mk_inventory.linux | 2 +-
agents/plugins/mk_inventory.solaris | 2 +-
agents/plugins/mk_logwatch | 16 +++++++++-------
agents/plugins/mk_oracle | 12 ++++++++----
agents/plugins/mk_oracle.aix | 8 ++++++--
agents/plugins/mk_oracle.solaris | 6 +++---
agents/plugins/mk_sap | 7 +++++--
14 files changed, 84 insertions(+), 34 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=e205e89146…