...
Panel |
---|
borderColor | black |
---|
bgColor | #f8f8f8 |
---|
title | Table of Contents |
---|
|
|
Problem
During the activation of changes from the central site for a remote site, we faced an issue. This will happen if WATO is enabled on the remote site and you have pending changes there.
...
Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | ~/var/check_mk/wato |
---|
|
OMD[remote]:~/var/check_mk/wato$ cat replication_status_remote.mk
{'current_activation': None, 'last_activation': 'f9607439-2303-412c-a188-f4e0f54702ae', 'times': {'restart': 1.6235217094421388}}
OMD[remote]:~/var/check_mk/wato$ cat replication_changes_remote.mk
{'need_restart': True, 'need_sync': True, 'user_id': u'cmkadmin', 'time': 1607689496.047742, 'domains': ['check_mk'], 'text': u'Modified host p19central-vcenter-agent.txt.', 'object': ('CREHost', 'p19central-vcenter-agent.txt'), 'id': 'cc91dcc8-bcc6-46fa-a264-9bdc5b041720', 'action_name': 'edit-host'} |
Solution
In order to activate changes successfully from central to remote, you need to delete both replication-Files on the remote:
...
Note |
---|
To avoid this issue, disable WATO on the remote and push the configuration only from central. |
Related articles
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | KB |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label in ( "distributed_monitoring" , "wato" , "pending_changes" , "troubleshooting" ) and type = "page" and space = "KB" |
---|
labels | wato pending_changes distributed_monitoring |
---|
|
...