Improves performance data output by using lower case only

This commit is contained in:
Lord Hepipud 2019-10-30 17:51:58 +01:00
parent 5b778b1847
commit 6b830bd980

View file

@ -32,7 +32,7 @@ function New-IcingaPerformanceDataEntry()
return ([string]::Format( return ([string]::Format(
"'{0}'={1}{2};{3};{4}{5}{6} ", "'{0}'={1}{2};{3};{4}{5}{6} ",
$LabelName, $LabelName.ToLower(),
(Format-IcingaPerfDataValue $PerfValue), (Format-IcingaPerfDataValue $PerfValue),
$PerfDataObject.unit, $PerfDataObject.unit,
(Format-IcingaPerfDataValue $PerfDataObject.warning), (Format-IcingaPerfDataValue $PerfDataObject.warning),