From f3f1373f83914762e8f90da2bb9654fa25f0ea70 Mon Sep 17 00:00:00 2001 From: Julian Brost Date: Fri, 24 Jun 2022 15:05:59 +0200 Subject: [PATCH] Icinga DB Check: spell out "error" in perfdata --- lib/icingadb/icingadbchecktask.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/icingadb/icingadbchecktask.cpp b/lib/icingadb/icingadbchecktask.cpp index 9ac3831ac..16c611e8b 100644 --- a/lib/icingadb/icingadbchecktask.cpp +++ b/lib/icingadb/icingadbchecktask.cpp @@ -207,7 +207,7 @@ void IcingadbCheckTask::ScriptFunc(const Checkable::Ptr& checkable, const CheckR critmsgs << " ERROR: " << errMsg << "!"; } - perfdata->Add(new PerfdataValue("err_for", errFor * (err ? 1 : -1), false, "seconds", Empty, errForCritical, 0)); + perfdata->Add(new PerfdataValue("error_for", errFor * (err ? 1 : -1), false, "seconds", Empty, errForCritical, 0)); } if (!down) {