mirror of
https://github.com/ranl/monitor-utils.git
synced 2024-11-05 07:43:40 +01:00
DISKSUMMARY - more information to performance data
Add values of total, active, spare and reconstructing disks to performance data.
This commit is contained in:
parent
9e99d0c53e
commit
f028b12248
@ -669,7 +669,7 @@ if("$opt{'check_type'}" eq "TEMP") {
|
||||
$stat = $ERRORS{'CRITICAL'};
|
||||
$msg = "CRIT: $opt{'check_type'} (".$diskMessage.") Disk Summary : Total->".$diskTotal." Active->".$diskActive." Spare->".$diskSpare." Failed ->".$diskFailed. " Reconstructing ->".$diskReconstructing;
|
||||
}
|
||||
$perf = "faileddisks=$check";
|
||||
$perf = "faileddisks=$check total=$diskTotal active=$diskActive spare=$diskSpare reconstructing=$diskReconstructing";
|
||||
|
||||
### HA ###
|
||||
} elsif("$opt{'check_type'}" eq "HA") {
|
||||
|
Loading…
Reference in New Issue
Block a user