From 6b830bd980fd26bd6d4e643a06d7b23fb66b6627 Mon Sep 17 00:00:00 2001 From: Lord Hepipud Date: Wed, 30 Oct 2019 17:51:58 +0100 Subject: [PATCH] Improves performance data output by using lower case only --- lib/icinga/plugin/New-IcingaPerformanceDataEntry.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/icinga/plugin/New-IcingaPerformanceDataEntry.psm1 b/lib/icinga/plugin/New-IcingaPerformanceDataEntry.psm1 index f0eeb74..79c6235 100644 --- a/lib/icinga/plugin/New-IcingaPerformanceDataEntry.psm1 +++ b/lib/icinga/plugin/New-IcingaPerformanceDataEntry.psm1 @@ -32,7 +32,7 @@ function New-IcingaPerformanceDataEntry() return ([string]::Format( "'{0}'={1}{2};{3};{4}{5}{6} ", - $LabelName, + $LabelName.ToLower(), (Format-IcingaPerfDataValue $PerfValue), $PerfDataObject.unit, (Format-IcingaPerfDataValue $PerfDataObject.warning),