From e1cd7c25c8a4d692845154bb0e34764f6ad8edbe Mon Sep 17 00:00:00 2001 From: cgagnaire Date: Mon, 2 Jul 2018 18:21:56 +0200 Subject: [PATCH] fix qnap hardware thresholds overload (#1028) --- storage/qnap/snmp/mode/hardware.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storage/qnap/snmp/mode/hardware.pm b/storage/qnap/snmp/mode/hardware.pm index 62d59e97e..f96bd6cb6 100644 --- a/storage/qnap/snmp/mode/hardware.pm +++ b/storage/qnap/snmp/mode/hardware.pm @@ -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';