mirror of https://github.com/Icinga/icinga2.git
Elasticsearch: Fix crash with invalid performance data metrics
fixes #6191
This commit is contained in:
parent
6617214b1c
commit
85eba79f55
|
@ -145,6 +145,7 @@ void ElasticsearchWriter::AddCheckResult(const Dictionary::Ptr& fields, const Ch
|
||||||
Log(LogWarning, "ElasticsearchWriter")
|
Log(LogWarning, "ElasticsearchWriter")
|
||||||
<< "Ignoring invalid perfdata value: '" << val << "' for object '"
|
<< "Ignoring invalid perfdata value: '" << val << "' for object '"
|
||||||
<< checkable->GetName() << "'.";
|
<< checkable->GetName() << "'.";
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue