node-exporter-textfile-collector-scripts
node-exporter-textfile-collector-scripts copied to clipboard
storcli.py: Skip battery backup unit status if it does not exist
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.