Skip to content

Commit

Permalink
Adjusting threshold for non-idle JBODs
Browse files Browse the repository at this point in the history
  • Loading branch information
guilbaults committed Mar 19, 2020
1 parent caae780 commit e6c4bb0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions check_jbod-el7.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Name: check_jbod
Version: 0.0.3
%global gittag 0.0.3
Version: 0.0.4
%global gittag 0.0.4
Release: 1%{?dist}
Summary: Nagios script to check the status and fault in Xyratex JBOD.

Expand Down Expand Up @@ -42,6 +42,8 @@ rm -rf $RPM_BUILD_ROOT
/usr/lib64/nagios/plugins/%{name}

%changelog
* 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
- Adding other models of JBODs
* Fri Jul 13 2018 Simon Guilbault <[email protected]> 0.0.2-1
Expand Down
4 changes: 2 additions & 2 deletions 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, 4000, 4000]
fan_max = [8000, 8000, 8000, 8000, 8000, 8000, 8000, 8000, 5000, 5000]
elif model == 'UD-8435-E6EBD' or model == 'SP-3584-E12EBD':
fan_min = [6000] * 10
fan_max = [8000] * 10
Expand Down Expand Up @@ -325,7 +325,7 @@ def get_sg_jbods():
if args.current:
if model == 'SP-34106-CFFE12P':
current_min = [25, 1, None, None, 25, 1, None, None]
current_max = [35, 2, None, None, 35, 2, None, None]
current_max = [50, 3, None, None, 50, 3, None, None]
elif model == 'UD-8435-E6EBD' or model == 'SP-3584-E12EBD':
current_min = [37.5, None, 37.5, None]
current_max = [45, None, 45, None]
Expand Down

0 comments on commit e6c4bb0

Please sign in to comment.