Skip to content

Commit

Permalink
Adding support for Seagate/Xyratex SP-3584
Browse files Browse the repository at this point in the history
  • Loading branch information
guilbaults committed Mar 18, 2020
1 parent b53cdd1 commit 97f3077
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
This tool is used to monitor Xyratex JBOD, also known as:

- Seagate/Xyratex SP-2584
- Seagate/Xyratex SP-3584
- Seagate Exos E 4U106
- Dell MD1420

Expand Down
11 changes: 6 additions & 5 deletions check_jbod.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ def get_sg_jbods():
line)
if mobj:
model = mobj.group(1)
if model in ['SP-34106-CFFE12P', 'UD-8435-E6EBD', 'MD1420']:
if model in ['SP-34106-CFFE12P', 'UD-8435-E6EBD', 'MD1420',
'SP-3584-E12EBD']:
# A JBOD we know
sg = mobj.group(2)
jbod_id = ses_get_id_xyratex(sg)
Expand Down Expand Up @@ -150,7 +151,7 @@ def get_sg_jbods():
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]
elif model == 'UD-8435-E6EBD':
elif model == 'UD-8435-E6EBD' or model == 'SP-3584-E12EBD':
fan_min = [6000] * 10
fan_max = [8000] * 10
elif model == 'MD1420':
Expand Down Expand Up @@ -256,7 +257,7 @@ def get_sg_jbods():
if args.psu_status is True:
if model == 'SP-34106-CFFE12P':
online_psu = [0, 2]
elif model == 'UD-8435-E6EBD':
elif model == 'UD-8435-E6EBD' or model == 'SP-3584-E12EBD':
online_psu = [0, 2]
elif model == 'MD1420':
online_psu = [0, 1]
Expand Down Expand Up @@ -288,7 +289,7 @@ def get_sg_jbods():
if model == 'SP-34106-CFFE12P':
volt_min = [11.5, 190, None, None, 11.5, 190, None, None]
volt_max = [12.5, 255, None, None, 12.5, 255, None, None]
elif model == 'UD-8435-E6EBD':
elif model == 'UD-8435-E6EBD' or model == 'SP-3584-E12EBD':
volt_min = [11.5, None, 11.5, None]
volt_max = [12.5, None, 12.5, None]
elif model == 'MD1420':
Expand Down Expand Up @@ -325,7 +326,7 @@ def get_sg_jbods():
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]
elif model == 'UD-8435-E6EBD':
elif model == 'UD-8435-E6EBD' or model == 'SP-3584-E12EBD':
current_min = [37.5, None, 37.5, None]
current_max = [45, None, 45, None]
elif model == 'MD1420':
Expand Down

0 comments on commit 97f3077

Please sign in to comment.