fix qnap hardware thresholds overload (#1028)

This commit is contained in:
cgagnaire 2018-07-02 18:21:56 +02:00 committed by Simon Bomm
parent c89d82facf
commit e1cd7c25c8
1 changed files with 2 additions and 2 deletions

View File

@ -28,8 +28,8 @@ use warnings;
sub set_system {
my ($self, %options) = @_;
$self->{regexp_threshold_overload_check_section_option} = '^(temperature|disk|fan)$';
$self->{regexp_threshold_numeric_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|smartdisk|fan)$';
$self->{cb_hook2} = 'snmp_execute';