hpssacli: don't barf on SATA + 6Gbps speed
authorFaidon Liambotis <paravoid@debian.org>
Thu, 2 Jun 2016 12:24:04 +0000 (15:24 +0300)
committerJulien Cristau <jcristau@debian.org>
Thu, 2 Jun 2016 17:05:59 +0000 (19:05 +0200)
commit93c841674698e3947832ae962679e1149619cdb1
treeac953ef16876fa1596e76ddb9151e2824c891434
parentf1fbcc8332fa7289e8439c91e43dc2e5ae11d366
hpssacli: don't barf on SATA + 6Gbps speed

SATA 3.0 actually supports an 6.0Gbps rate and I've encountered systems
out there with disks at such a speed. dsa-check-hpssacli currently warns
about them because it seems to support only up to 3.0Gbps. Add support
for an "6.0Gbps" value.

SATA 3.2 goes up to 16Gbps but I have not seen this in the wild yet, so
it's unknown how hpssacli would display such a thing. Avoid guessing for
now.

Signed-off-by: Julien Cristau <jcristau@debian.org>
dsa-nagios-checks/checks/dsa-check-hpssacli