diff --git a/doc/15-troubleshooting.md b/doc/15-troubleshooting.md index 80683cc56..19d9f85d4 100644 --- a/doc/15-troubleshooting.md +++ b/doc/15-troubleshooting.md @@ -1516,6 +1516,13 @@ gering reload. [2019-08-01 09:20:26 +0200] notice/Application: Got reload command, forwarding to umbrella process (PID 4236) ``` +In case the received configuration updates are equal to what is running in production, a different message is logged and the validation/reload is skipped. + +``` +[2020-02-05 15:18:19 +0200] information/ApiListener: Received configuration updates (4) from endpoint 'icinga2-master1.localdomain' are equal to production, skipping validation and reload. +``` + + #### Syncing Binary Files is Denied The config sync is built for syncing text configuration files, wrapped into JSON-RPC messages. diff --git a/lib/remote/apilistener-filesync.cpp b/lib/remote/apilistener-filesync.cpp index 4371a826c..73a42eb8f 100644 --- a/lib/remote/apilistener-filesync.cpp +++ b/lib/remote/apilistener-filesync.cpp @@ -525,7 +525,7 @@ Value ApiListener::ConfigUpdateHandler(const MessageOrigin::Ptr& origin, const D } else { Log(LogInformation, "ApiListener") << "Received configuration updates (" << count << ") from endpoint '" << fromEndpointName - << "' do not qualify for production, not triggering reload."; + << "' are equal to production, skipping validation and reload."; } return Empty;