mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
Fix #1242
This commit is contained in:
parent
1982aa2685
commit
e34f7ecf1f
@ -108,7 +108,8 @@ sub run {
|
||||
], nothing_quit => 1);
|
||||
|
||||
my $result = $self->{snmp}->map_instance(mapping => $mapping, results => $results->{$mapping->{extremeStackDetection}->{oid}}, instance => '0');
|
||||
if ($result->{extremeStackDetection} eq 'disabled') {
|
||||
# disable is voluntary
|
||||
if ($result->{extremeStackDetection} eq 'disable') {
|
||||
$self->{output}->output_add(severity => 'OK',
|
||||
short_msg => 'Stacking is disable');
|
||||
$self->{output}->display();
|
||||
@ -183,4 +184,4 @@ Example: --threshold-overload='stack,WARNING,mismatch'
|
||||
=back
|
||||
|
||||
=cut
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user