Publish dump event

fixes #34
This commit is contained in:
Jean Flach 2018-10-29 16:56:24 +01:00 committed by Michael Friedrich
parent 5e3e114a16
commit e889de966e
1 changed files with 2 additions and 0 deletions

View File

@ -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;
});