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:
Michael Friedrich 2018-04-03 14:51:02 +02:00 committed by GitHub
commit 0cd4837c78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}
}