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:
parent
4890add44f
commit
96c348f614
@ -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 =~ /^$/) {
|
||||||
|
Loading…
Reference in New Issue
Block a user