node-exporter-textfile-collector-scripts icon indicating copy to clipboard operation
node-exporter-textfile-collector-scripts copied to clipboard

storcli.py: Skip battery backup unit status if it does not exist

Open bugspencor opened this issue 1 year ago • 0 comments

Some HPE RAID controllers have an external battery (Energy pack aka HPE Smart Storage Battery) instead of a controller onboard battery backup unit. With our controller (HPE MR416i-a Gen10+) the "BBU Status" field is not present in the storcli output and storcli.py aborts data collection.

This commit skips the BBU Status field if it does not exist.

Closes #190.

bugspencor avatar Dec 04 '23 13:12 bugspencor