Icinga DB Check: fix error message on Redis query error

Not only XREAD queries are performed, so the previous error message was incorrect.
This commit is contained in:
Julian Brost 2022-06-24 14:48:31 +02:00 committed by Julian Brost
parent 4f1f70f843
commit 31c7dfee53
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ void IcingadbCheckTask::ScriptFunc(const Checkable::Ptr& checkable, const CheckR
} catch (const std::exception& ex) {
ReportIcingadbCheck(
checkable, commandObj, cr,
String("Icinga DB CRITICAL: Could not read XREAD responses from Redis: ") + ex.what(), ServiceCritical
String("Icinga DB CRITICAL: Could not query Redis: ") + ex.what(), ServiceCritical
);
return;
}