mirror of https://github.com/Icinga/icinga2.git
parent
f9b107d0bf
commit
d95c6c7d85
|
@ -30,6 +30,7 @@
|
|||
#include "base/objectlock.h"
|
||||
#include <boost/algorithm/string/classification.hpp>
|
||||
#include <boost/algorithm/string/split.hpp>
|
||||
#include <boost/algorithm/string/trim.hpp>
|
||||
#include <boost/foreach.hpp>
|
||||
|
||||
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));
|
||||
|
||||
|
|
Loading…
Reference in New Issue