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
1 changed files with 0 additions and 1 deletions

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) {