Icinga DB Check: spell out "error" in perfdata

This commit is contained in:
Julian Brost 2022-06-24 15:05:59 +02:00
parent 3391a234b3
commit bb3ad133d0

View File

@ -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) {