+ Correct bladecenter IBM
This commit is contained in:
parent
d21cfb3e3c
commit
df0710715f
|
@ -77,7 +77,7 @@ sub check {
|
|||
my $result = $self->{snmp}->map_instance(mapping => $mapping, results => $self->{results}->{$oid_bladeSystemStatusEntry}, instance => $instance);
|
||||
|
||||
next if ($self->check_exclude(section => 'blade', instance => $result->{bladeId}));
|
||||
if ($result->{bladeExists} =~ /No/i) {
|
||||
if ($result->{bladeExists} =~ /false/i) {
|
||||
$self->{output}->output_add(long_msg => "skipping blade '" . $instance . "' : not exits");
|
||||
next;
|
||||
}
|
||||
|
|
|
@ -60,7 +60,7 @@ sub check {
|
|||
my $instance = $1;
|
||||
my $result = $self->{snmp}->map_instance(mapping => $mapping, results => $self->{results}->{$oid_fanPackEntry}, instance => $instance);
|
||||
|
||||
if ($result->{fanPackExists} =~ /No/i) {
|
||||
if ($result->{fanPackExists} =~ /false/i) {
|
||||
$self->{output}->output_add(long_msg => "skipping fanpack '" . $instance . "' : not exits");
|
||||
next;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue