From 8a30657ce95964ea65fce55359fe08071e2d446d Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Wed, 21 Jul 2021 14:24:28 +0200 Subject: [PATCH] Icinga DB: write state updates to icinga:runtime:state ... allowing the Go daemon to priorize state updates. --- lib/icingadb/icingadb-objects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/icingadb/icingadb-objects.cpp b/lib/icingadb/icingadb-objects.cpp index f9c2623c2..91e534a1b 100644 --- a/lib/icingadb/icingadb-objects.cpp +++ b/lib/icingadb/icingadb-objects.cpp @@ -1532,7 +1532,7 @@ void IcingaDB::SendStatusUpdate(const ConfigObject::Ptr& object, const CheckResu objectAttrs->Set("runtime_type", "upsert"); objectAttrs->Set("checksum", HashValue(objectAttrs)); - std::vector streamadd({"XADD", "icinga:runtime", "MAXLEN", "~", "1000000", "*"}); + std::vector streamadd({"XADD", "icinga:runtime:state", "MAXLEN", "~", "1000000", "*"}); ObjectLock olock(objectAttrs); for (const Dictionary::Pair& kv : objectAttrs) { streamadd.emplace_back(kv.first);