Fix #1242
This commit is contained in:
parent
8b0e221b41
commit
0e66564c3d
|
@ -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…
Reference in New Issue