+ can use component sensor regexp

This commit is contained in:
garnier-quentin 2016-12-27 17:14:37 +01:00
parent f374340522
commit 9b2681a428
1 changed files with 1 additions and 1 deletions

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