+ can use component sensor regexp

This commit is contained in:
garnier-quentin 2016-12-27 17:14:37 +01:00
parent 4a4f14e242
commit be8e453f71

View File

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