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