Licenses: Updated the list of licenses and added a PDF containing all license texts
[check_mk.git] / .werks / 1726
blob519d1ccb2509e415e5c1cfbc35018b5fe56a65e4
1 Title: Move variable data of Linux/UNIX agents to /var/lib/check_mk_agent
2 Level: 2
3 Component: checks
4 Compatible: incomp
5 Version: 1.2.6b1
6 Date: 1418130038
7 Class: feature
9 The Linux, AIX, Solaris and other UNIX agents now put state and cache files
10 no longer below <tt>/etc/check_mk</tt> but per default below <tt>/var/lib/check_mk_agent</tt>.
11 This can be changed directly in the agent in the following line:
13 F+:check_mk_agent.*
14 export MK_VARDIR=/var/lib/check_mk_agent
15 F-:
17 This means that if you update to the new version of the agent, you must have
18 in mind the following things:
20 <ul>
21 <li>Check_MK agent will not find saved <tt>logwatch.state</tt> files and will consider all logfiles as new. This means
22 that you will miss up to one check cycle of possible new logfile entries.</li>
23 <li>Check_MK agent will forget its cached data and recompute all asynchronous checks</li>
24 <li>Maybe other plugin-specific loss of memory</li>
25 </ul>
27 You can prevent this by manually copying selective data from
28 <tt>/etc/check_mk</tt>, if you like.