From be8e453f71f120541b4abfec7e54050f9d4b15e2 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Tue, 27 Dec 2016 17:14:37 +0100 Subject: [PATCH] + can use component sensor regexp --- .../centreon/common/cisco/standard/snmp/mode/environment.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/centreon/common/cisco/standard/snmp/mode/environment.pm b/centreon-plugins/centreon/common/cisco/standard/snmp/mode/environment.pm index bbc007155..e43bab106 100644 --- a/centreon-plugins/centreon/common/cisco/standard/snmp/mode/environment.pm +++ b/centreon-plugins/centreon/common/cisco/standard/snmp/mode/environment.pm @@ -29,7 +29,7 @@ sub set_system { my ($self, %options) = @_; $self->{regexp_threshold_overload_check_section_option} = '^(fan|psu|temperature|voltage|module|physical|sensor)$'; - $self->{regexp_threshold_numeric_check_section_option} = '^(temperature|voltage|sensor)$'; + $self->{regexp_threshold_numeric_check_section_option} = '^(temperature|voltage|sensor.*)$'; $self->{cb_hook2} = 'snmp_execute';