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:
parent
61387c2856
commit
4e756b8790
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user