mirror of https://github.com/Icinga/icinga2.git
Merge pull request #6192 from Icinga/fix/elasticsearch-writer-invalid-perfdata-crash
Elasticsearch: Fix crash with invalid performance data metrics
This commit is contained in:
commit
0cd4837c78
|
@ -145,6 +145,7 @@ void ElasticsearchWriter::AddCheckResult(const Dictionary::Ptr& fields, const Ch
|
|||
Log(LogWarning, "ElasticsearchWriter")
|
||||
<< "Ignoring invalid perfdata value: '" << val << "' for object '"
|
||||
<< checkable->GetName() << "'.";
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue