mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-28 08:04:36 +02:00
+ Fix extreme networks
This commit is contained in:
parent
d3159c7ab1
commit
8f8d92774e
@ -124,7 +124,7 @@ sub run {
|
|||||||
], nothing_quit => 1);
|
], nothing_quit => 1);
|
||||||
|
|
||||||
my $result = $self->{snmp}->map_instance(mapping => $mapping, results => $results->{$mapping->{extremeStackDetection}->{oid}}, instance => '0');
|
my $result = $self->{snmp}->map_instance(mapping => $mapping, results => $results->{$mapping->{extremeStackDetection}->{oid}}, instance => '0');
|
||||||
if ($result->{extremeStackDetection} eq 'disable') {
|
if ($result->{extremeStackDetection} eq 'disabled') {
|
||||||
$self->{output}->output_add(severity => 'OK',
|
$self->{output}->output_add(severity => 'OK',
|
||||||
short_msg => 'Stacking is disable');
|
short_msg => 'Stacking is disable');
|
||||||
$self->{output}->display();
|
$self->{output}->display();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user