mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-29 16:44:29 +02:00
parent
b92d26cac0
commit
37d9ccde94
@ -117,7 +117,11 @@ void GraphiteWriter::CheckResultHandler(const Service::Ptr& service, const Check
|
|||||||
else
|
else
|
||||||
valueNum = static_cast<PerfdataValue::Ptr>(value)->GetValue();
|
valueNum = static_cast<PerfdataValue::Ptr>(value)->GetValue();
|
||||||
|
|
||||||
SendMetric(prefix, key, valueNum);
|
String escaped_key = key;
|
||||||
|
SanitizeMetric(escaped_key);
|
||||||
|
boost::algorithm::replace_all(escaped_key, "::", ".");
|
||||||
|
|
||||||
|
SendMetric(prefix, escaped_key, valueNum);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user