diff --git a/lib/icinga/pluginutility.cpp b/lib/icinga/pluginutility.cpp index 98f6284b9..069a88079 100644 --- a/lib/icinga/pluginutility.cpp +++ b/lib/icinga/pluginutility.cpp @@ -30,6 +30,7 @@ #include "base/objectlock.h" #include #include +#include #include using namespace icinga; @@ -76,6 +77,8 @@ CheckResult::Ptr PluginUtility::ParseCheckOutput(const String& output) } } + boost::algorithm::trim(perfdata); + result->SetOutput(text); result->SetPerformanceData(ParsePerfdata(perfdata));