From dc00a42fdf89f924dcc3bf9e44cdf392e103a596 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Wed, 3 Jul 2019 15:24:29 +0200 Subject: [PATCH] fix alcatel omniswitch threshold --- .../network/alcatel/omniswitch/snmp/mode/hardware.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/centreon-plugins/network/alcatel/omniswitch/snmp/mode/hardware.pm b/centreon-plugins/network/alcatel/omniswitch/snmp/mode/hardware.pm index 317106a9f..7425d9a42 100644 --- a/centreon-plugins/network/alcatel/omniswitch/snmp/mode/hardware.pm +++ b/centreon-plugins/network/alcatel/omniswitch/snmp/mode/hardware.pm @@ -26,7 +26,8 @@ use network::alcatel::omniswitch::snmp::mode::components::resources qw(%oids); sub set_system { my ($self, %options) = @_; - $self->{regexp_threshold_overload_check_section_option} = '^(backplane|chassis|container|fan|module|other|port|psu|sensor|stack|unknown)$'; + $self->{regexp_threshold_overload_check_section_option} = + '^(?:backplane|chassis|container|fan|module|other|port|psu|sensor|stack|unknown)\.(?:oper|admin|status)$'; $self->{cb_hook2} = 'snmp_execute';