Refactoring: Moved more application check parameters from unsorted.py to dedicated...
[check_mk.git] / .werks / 6446
blob738011f6d0bf81316dab311c00b4dbb315e7af9d
1 Title: Fixed changing agent type from "No agent" to agent in some cases
2 Level: 2
3 Component: wato
4 Class: fix
5 Compatible: compat
6 Edition: cre
7 State: unknown
8 Version: 1.6.0i1
9 Date: 1534146010
11 With werk #5535 we changed the tag group "Agent type" to be a builtin tag
12 group. When a pre-1.5 site modified this tag group before updating to 1.5, this
13 tag group was left untouched.
15 In this situation hosts that were marked as "No agent" (ping only hosts) were
16 suddenly set to "Check_MK Agent (Server)" which resulted in error messages
17 in the monitoring after activating the configuration, because these hosts got
18 a Check_MK service and tried to contact the agent while there is none on the
19 affected hosts.
21 We have now changed the migration logic to extend the locally modified "Agent
22 type" tag group with the options Check_MK 1.5 needs. This change should make
23 your "No agent" hosts now stick with the intended configuration.
25 In case you are affected by this issue,  you may notice that the choices of the
26 "Agent type" are now extended with some new options which may be confusing in
27 the first moment. You can now navigate to the "Host tags" page in WATO and edit
28 the tag group "agent" to sort the new options according to your needs.
30 The tag choices in the tag group "Agent type" that are available in your site
31 after the update (that are not part of the 1.5 standard) are displayed with the
32 "Legacy: " prefix. This can be useful in the moment you want to clean them up.
34 To migrate the legacy choices you need to clean up all objects referring these
35 choices before they can safely be removed. Examples:
37 <ul>
38 <li>The legacy "No Agent" choice was using the Tag ID "ping". The new one uses
39    the "no-agent" tag ID. You can now delete the legacy choice from the tag
40    group and hit save. The GUI will then inform you about all hosts, folders
41    or rulesets using this tag choice. Navigate to all objects and change the
42    old setting to the new one. After that you can safely remove the legacy
43    choice.</li>
44 <li>For the snmp-only, snmp-v1 and snmp-tcp options it's a bit more complicated
45    because it involves now two tag groups (SNMP + Agent type). To use the new
46    scheme you need to set the configuration like this:
47    <ul>
48    <li>snmp-only: Agent type = "No agent" and SNMP = SNMP v2 or v3</li>
49    <li>snmp-v1: Agent type = "No agent" and SNMP = SNMP v1</li>
50    <li>snmp-tcp: Agent type = "Contact either Check_MK Agent or use datasource program" and SNMP = SNMP v2 or v3</li>
51    </ul>
52 </li>
53 </ul>