mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 15:44:21 +02:00
+ 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);
|
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}));
|
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");
|
$self->{output}->output_add(long_msg => "skipping blade '" . $instance . "' : not exits");
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
|
@ -60,7 +60,7 @@ sub check {
|
|||||||
my $instance = $1;
|
my $instance = $1;
|
||||||
my $result = $self->{snmp}->map_instance(mapping => $mapping, results => $self->{results}->{$oid_fanPackEntry}, instance => $instance);
|
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");
|
$self->{output}->output_add(long_msg => "skipping fanpack '" . $instance . "' : not exits");
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user