1
0
mirror of https://github.com/ranl/monitor-utils.git synced 2024-11-22 07:23:42 +01:00

check-netapp-ng.pl: fix the outpuf of '-T SHELF'

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
Davide Madrisan 2014-01-15 22:29:16 +01:00
parent 61387c2856
commit 4e756b8790

View File

@ -368,7 +368,6 @@ if("$opt{'check_type'}" eq "TEMP") {
$shelf{'VoltUnderWarn'} = _get_oid_value($snmp_session,"$snmpEnclTableVoltUnderWarn.$oid");
foreach my $subkey ( keys %shelf) {
print "$subkey\t$shelf{$subkey}\n";
if($shelf{$subkey}) { push(@shelf_err,"$addr $subkey,") }
}
if($#shelf_err != -1) {