mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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…
x
Reference in New Issue
Block a user