mirror of https://github.com/Icinga/icinga2.git
Icinga DB Check: spell out "error" in perfdata
This commit is contained in:
parent
31c7dfee53
commit
f3f1373f83
|
@ -207,7 +207,7 @@ void IcingadbCheckTask::ScriptFunc(const Checkable::Ptr& checkable, const CheckR
|
||||||
critmsgs << " ERROR: " << errMsg << "!";
|
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) {
|
if (!down) {
|
||||||
|
|
Loading…
Reference in New Issue