From: jre3brg Date: Tue, 8 May 2018 07:40:13 +0000 (+0200) Subject: Fixed opentsdb metric name with colon chars X-Git-Tag: v2.9.0~50^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2fd94073ba13bf61190d171c6734d2d35476742a;p=icinga2 Fixed opentsdb metric name with colon chars --- diff --git a/lib/perfdata/opentsdbwriter.cpp b/lib/perfdata/opentsdbwriter.cpp index 9d37fdc6c..c55529ffa 100644 --- a/lib/perfdata/opentsdbwriter.cpp +++ b/lib/perfdata/opentsdbwriter.cpp @@ -254,6 +254,7 @@ String OpenTsdbWriter::EscapeMetric(const String& str) boost::replace_all(result, " ", "_"); boost::replace_all(result, ".", "_"); boost::replace_all(result, "\\", "_"); + boost::replace_all(result, ":", "_"); return result; }