fix qnap hardware thresholds overload (#1028)
This commit is contained in:
parent
c89d82facf
commit
e1cd7c25c8
|
@ -28,8 +28,8 @@ use warnings;
|
||||||
sub set_system {
|
sub set_system {
|
||||||
my ($self, %options) = @_;
|
my ($self, %options) = @_;
|
||||||
|
|
||||||
$self->{regexp_threshold_overload_check_section_option} = '^(temperature|disk|fan)$';
|
$self->{regexp_threshold_overload_check_section_option} = '^(temperature|disk|smartdisk|fan)$';
|
||||||
$self->{regexp_threshold_numeric_check_section_option} = '^(temperature|disk|fan)$';
|
$self->{regexp_threshold_numeric_check_section_option} = '^(temperature|disk|smartdisk|fan)$';
|
||||||
|
|
||||||
$self->{cb_hook2} = 'snmp_execute';
|
$self->{cb_hook2} = 'snmp_execute';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue