Licenses: Updated the list of licenses and added a PDF containing all license texts
[check_mk.git] / .werks / 5392
blob18753c280d4f2d14cc5d27bb513669716e01a586
1 Title: Fixed host monitored from all sites after editing custom host attributes
2 Level: 2
3 Component: wato
4 Class: fix
5 Compatible: compat
6 Edition: cre
7 State: unknown
8 Version: 1.5.0i1
9 Date: 1507729401
11 In distributed environments it could happen that all configured hosts are monitored
12 from all configured sites.
14 The now fixed issue was triggered by saving (adding/editing/removing) custom host attributes
15 using the "WATO > Hosts > Custom host attributes" dialog.
17 Background: This editing step was undeclaring the internal "site" attribute by accident
18 and rewriting all hosts.mk files. These files were missing the "site:..." host tag in the
19 all_hosts data structure. This makes all sites think that they are responsible for these
20 hosts.
22 The configured site information of the hosts/folders was not lost because it was retained
23 in the host_attributes data strucuture. So the hosts.mk files could be "repaired" by
24 saving the hosts, parent folders or host tags.