Icinga DB Check: spell out "error" in perfdata

This commit is contained in:
Julian Brost 2022-06-24 15:05:59 +02:00 committed by Julian Brost
parent 31c7dfee53
commit f3f1373f83
1 changed files with 1 additions and 1 deletions

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