1
0
mirror of https://github.com/ranl/monitor-utils.git synced 2024-11-05 07:43:40 +01:00

Set unit of measurements on DISKUSED from k to KB.

Nagiosgraph needs unit name as KB, not only 'k'.
This commit is contained in:
Michal Svamberg 2015-06-01 11:34:13 +02:00
parent 4890add44f
commit 96c348f614

View File

@ -724,7 +724,7 @@ if("$opt{'check_type'}" eq "TEMP") {
($msg,$stat) = _clac_err_stat($used_prec,$opt{'check_type'},$opt{'warn'},$opt{'crit'}); ($msg,$stat) = _clac_err_stat($used_prec,$opt{'check_type'},$opt{'warn'},$opt{'crit'});
$perf = "$$r_vol_tbl{$key}=$used\k"; $perf = "$$r_vol_tbl{$key}=$used\KB";
} }
} }
if ($msg =~ /^$/) { if ($msg =~ /^$/) {