From 2fd94073ba13bf61190d171c6734d2d35476742a Mon Sep 17 00:00:00 2001 From: jre3brg Date: Tue, 8 May 2018 09:40:13 +0200 Subject: [PATCH] Fixed opentsdb metric name with colon chars --- lib/perfdata/opentsdbwriter.cpp | 1 + 1 file changed, 1 insertion(+) 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; }