Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bugspencor
Copy link

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.

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.

Signed-off-by: bugspencor <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

storcli: "BBU Status" field not available in HPE MegaRID controller
1 participant