From e889de966edf3262039eb59e5fa3981d1ff9fc92 Mon Sep 17 00:00:00 2001 From: Jean Flach Date: Mon, 29 Oct 2018 16:56:24 +0100 Subject: [PATCH] Publish dump event fixes #34 --- lib/redis/rediswriter-objects.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/redis/rediswriter-objects.cpp b/lib/redis/rediswriter-objects.cpp index 920941950..d02b83c93 100644 --- a/lib/redis/rediswriter-objects.cpp +++ b/lib/redis/rediswriter-objects.cpp @@ -125,6 +125,8 @@ void RedisWriter::UpdateAllConfigObjects() if (checksums.size() > 2) m_Rcon->ExecuteQuery(checksums); + m_Rcon->ExecuteQuery({"PUBLISH", "icinga:config:dump", lcType}); + Log(LogNotice, "RedisWriter") << "Dumped " << bulkCounter << " objects of type " << type.second; });