From 9d9b2ef023c98f31aabe11f7ecdfb4d79517a08f Mon Sep 17 00:00:00 2001 From: Simon Guilbault Date: Wed, 25 Mar 2020 16:02:18 -0400 Subject: [PATCH] Increasing fan maximum speed threshold --- check_jbod-el7.spec | 2 ++ check_jbod.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/check_jbod-el7.spec b/check_jbod-el7.spec index a6a9f32..31d1e39 100644 --- a/check_jbod-el7.spec +++ b/check_jbod-el7.spec @@ -42,6 +42,8 @@ rm -rf $RPM_BUILD_ROOT /usr/lib64/nagios/plugins/%{name} %changelog +* Wed Mar 25 2020 Simon Guilbault 0.0.5-1 +- Increasing fan maximum speed threshold * Thu Mar 19 2020 Simon Guilbault 0.0.4-1 - Adjusting threshold for non-idle JBODs * Thu Mar 19 2020 Simon Guilbault 0.0.3-1 diff --git a/check_jbod.py b/check_jbod.py index a0db073..a589702 100755 --- a/check_jbod.py +++ b/check_jbod.py @@ -150,7 +150,7 @@ def get_sg_jbods(): fans = raw_info['Cooling'][5:] if model == 'SP-34106-CFFE12P': fan_min = [6000, 6000, 6000, 6000, 6000, 6000, 6000, 6000, 2000, 2000] - fan_max = [8000, 8000, 8000, 8000, 8000, 8000, 8000, 8000, 5000, 5000] + fan_max = [9000, 9000, 9000, 9000, 9000, 9000, 9000, 9000, 5000, 5000] elif model == 'UD-8435-E6EBD' or model == 'SP-3584-E12EBD': fan_min = [6000] * 10 fan_max = [8000] * 10