fix alcatel omniswitch threshold

This commit is contained in:
garnier-quentin 2019-07-03 15:24:29 +02:00
parent 51fbf737f7
commit f37c9209c7
1 changed files with 2 additions and 1 deletions

View File

@ -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';