Icinga DB Check: update not connected message

The check makes no attempt to explicitly connect to Redis, it uses the
connection of the IcingaDB feature, so this message better describes the state
in this situation.
This commit is contained in:
Julian Brost 2022-06-27 16:40:34 +02:00 committed by Julian Brost
parent 2fafffb85f
commit eaae7d5863
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ void IcingadbCheckTask::ScriptFunc(const Checkable::Ptr& checkable, const CheckR
auto redis (conn->GetConnection());
if (!redis || !redis->GetConnected()) {
ReportIcingadbCheck(checkable, commandObj, cr, "Icinga DB CRITICAL: Could not connect to Redis.", ServiceCritical);
ReportIcingadbCheck(checkable, commandObj, cr, "Icinga DB CRITICAL: Not connected to Redis.", ServiceCritical);
return;
}