Adam Cecile
c5fc95451d
[[sas2ircu-status] Show disks on all arrays instead of only the last ( Closes : #87 )
2021-08-17 09:48:18 +02:00
Adam Cecile
b2a057b5b9
[aacraid-status]: Add Raw (Pass Through) to valid disk status ( Closes : #104 )
2021-08-17 09:45:10 +02:00
Adam Cecile
da4f474012
Re-run black after 2to3
2021-08-17 09:42:50 +02:00
Adam Cecile
8e78deda38
Run 2to3 on all Python wrappers
2021-08-17 09:42:37 +02:00
Adam Cecile
e0d3be643a
Reformat all files with black (target=py27, line-length=160)
2021-08-17 09:42:18 +02:00
Adam Cecile
2c4bb4b531
[megaclisas_status] No need to make --nagios/--debug/--notemp exclusives
2021-08-17 09:40:52 +02:00
nega0
fddb6a970d
expand drive id column so it doesnt break ( #109 )
...
[megaclisas_status] expand drive id column so it doesnt break (#109 )
2021-08-17 09:24:32 +02:00
nega0
571c894a01
handle options with argparse ( #110 )
...
[megaclisas_status] Handle options with argparse
2021-08-17 09:21:08 +02:00
Alexey Bednyakov
717f64e837
Numeration in format string and spaces to tab
...
Old python versions can fall in `ValueError` exception with current string format:
```
$ python
Python 2.6.6 (r266:84292, Jun 14 2019, 09:43:27)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-23)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import re
>>> model = 'Z1Z3XMHGST4000NM0033-9ZM170 GA0A'
>>> m = re.match(r'(\w{8})(ST\w+)(?:-(\w{6}))?(?:\s+(\w+))', model)
>>> '{}-{} {} {}'.format(m.group(2), m.group(3), m.group(4), m.group(1))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: zero length field name in format
>>> m.group(2)
'ST4000NM0033'
>>> m.group(3)
'9ZM170'
>>> m.group(4)
'GA0A'
>>> m.group(1)
'Z1Z3XMHG'
```
Also corrected spaces to tabs.
2021-03-22 12:43:27 +03:00
Adam Cécile
a9a5b06bca
Merge pull request #105 from nega0/feature/seagate
...
[megaclisas-status] reformat "drive model" in disk info blocks
2019-08-19 23:24:17 +02:00
nega
c9fd701e89
do the same for unconfigured disk info block
2019-07-10 13:11:32 -04:00
nega
3963401717
reformat "Drive Model" in the disk info block
2019-07-10 13:00:19 -04:00
Adam Cécile
3610acca6c
Merge pull request #91 from random-things/master
...
[aacraid-status] Fix false non-optimal status when JBOD disks are present
2019-07-03 17:13:18 +02:00
Adam Cecile
316a80089c
Revert output so daemon script works again (Refs: #99 )
2019-07-03 13:35:17 +02:00
Vincent S. Cojot
b1976c289b
Update rev number
2018-09-30 23:53:16 -04:00
Vincent S. Cojot
4dffa3cbbd
Make output consistent
2018-09-30 15:30:57 -04:00
Vincent S. Cojot
c7a75f48d1
Try to determine JBOD device path...
2018-09-30 14:26:05 -04:00
Vincent S. Cojot
2a8d11d88e
Attempt to fix Channel exploration
2018-09-30 13:33:58 -04:00
someone
55e0999901
Fix false non-optimal status when JBOD disks are present
2018-06-04 14:08:10 -06:00
Vincent S. Cojot
b2d7f60baa
Update build
2018-03-17 18:44:45 -04:00
Vincent S. Cojot
563cd2a3a7
Minor bugfixes for drives that are currently reconstructing
2018-03-17 18:44:00 -04:00
Vincent S. Cojot
7262d9be81
Rev 1.76
2018-02-28 18:14:15 -05:00
Vincent S. Cojot
be7e6a0211
More debugging hooks, fixed improper pattern matching and drive enumeration..
2018-02-28 18:09:57 -05:00
Vincent S. Cojot
67372fa585
Update revision
2018-02-28 18:09:57 -05:00
Vincent S. Cojot
5952d939dc
Some more typos
2018-02-28 18:09:57 -05:00
Vincent S. Cojot
660371fbd5
Add update
2018-02-28 18:09:57 -05:00
Vincent S. Cojot
49be830f6d
Fix a few typos, improve debugging output
2018-02-28 18:09:57 -05:00
Vincent S. Cojot
548d321240
Initial support for perccli64 too...
2018-02-28 18:09:57 -05:00
Vincent S. Cojot
5ec3ffd077
Handle typo in LSI storcli : postion instead of position
2018-02-28 18:09:56 -05:00
Vincent S. Cojot
563709c1e3
Add more debug output, initial support for storcli, investigating R60 bug..
2018-02-28 18:08:34 -05:00
Vincent S. Cojot
7aa8bb4a27
Add debugging hooks
2018-02-28 18:08:33 -05:00
Vincent S. Cojot
684adff3ca
Patch by David Cole: Add notemp to unconfigured drives...
2018-02-28 18:08:33 -05:00
Adam Cécile
5514c5067a
3ware-status: fail with IndexError if disk has no model type (uh?)
2017-09-12 17:38:01 +02:00
Vincent S. Cojot
d0800e4b94
Minor bugfix for Hot Spares display...
2017-04-04 14:46:30 -04:00
Vincent S. Cojot
5e9b42143f
Fix for some Infortrend enclosures..
2017-03-28 12:02:50 -04:00
Vincent S. Cojot
5a4beff9d8
Updated build rev.
2017-01-11 12:13:18 -05:00
Vincent S. Cojot
89a7eb0982
Minor bugfix to get NestedLDTable properly laid out..
2017-01-11 12:04:55 -05:00
Adam Cecile
cbbafa309d
aacraid-status: fails if not controller detected
2016-12-14 20:37:41 +01:00
Adam Cecile
c09a7cea67
Typo
2016-12-14 20:28:31 +01:00
Adam Cecile
1d05376d98
Handle Dedicated Hot-Spare status
2016-12-10 10:01:44 +01:00
Adam Cecile
8438855332
Fix bad re.sub statement
2016-11-17 10:30:24 +01:00
Adam Cecile
8aeac49387
Parsing fixes for arcconf 2
2016-11-11 10:42:22 +01:00
Adam Cecile
5332a53523
Attempt to handle correctly arcconf 2.x output
2016-11-03 22:10:27 +01:00
Adam Cecile
e5eeeaeb1e
Some minor change in arcconf 2.x output
2016-11-03 22:05:28 +01:00
Adam Cecile
3973e64ded
Remove noop duplicate code
2016-11-03 22:05:07 +01:00
Vincent S. Cojot
05a482a95e
Update internal versions...
2016-11-01 16:47:11 +01:00
Vincent S. Cojot
2b47e20115
Make ROC and drive temp printouts selectable..
2016-11-01 16:47:11 +01:00
Vincent S. Cojot
a6a07a154c
Consolidated changes. Fixes for CacheCade, Max LD support, etc..
2016-11-01 16:47:11 +01:00
Adam Cecile
458ca9ad90
Retrieve disk serial number
2016-09-23 12:06:29 +02:00
Adam Cecile
29b2068bf1
Handle not array attached disk properly (i hope so)
2016-09-23 11:54:23 +02:00