Skip to content

Commit

Permalink
Increasing fan maximum speed threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
guilbaults committed Mar 25, 2020
1 parent e6c4bb0 commit 9d9b2ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions check_jbod-el7.spec
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ rm -rf $RPM_BUILD_ROOT
/usr/lib64/nagios/plugins/%{name}

%changelog
* Wed Mar 25 2020 Simon Guilbault <[email protected]> 0.0.5-1
- Increasing fan maximum speed threshold
* Thu Mar 19 2020 Simon Guilbault <[email protected]> 0.0.4-1
- Adjusting threshold for non-idle JBODs
* Thu Mar 19 2020 Simon Guilbault <[email protected]> 0.0.3-1
Expand Down
2 changes: 1 addition & 1 deletion check_jbod.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9d9b2ef

Please sign in to comment.