Skip to content

Commit 5781348

Browse files
authored
add "4096" as healthy BBU code (#164)
Old PERC controllers (at least PERC H730/740 Mini) with FW 4.270.00-8168 return BBU status 4096. Comparing the output with MegaCLI output it seems that this bit corresponds to "Learning cycle required" indicator. However since controller runs learning cycles by itself there is no reason for alerting. Signed-off-by: a <[email protected]>
1 parent ad4d9e8 commit 5781348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: storcli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def handle_megaraid_controller(response):
249249
if response["Status"]["BBU Status"] != "NA":
250250
# BBU Status Optimal value is 0 for normal, 8 for charging.
251251
metrics["bbu_healthy"].labels(controller_index).set(
252-
response["Status"]["BBU Status"] in [0, 8]
252+
response["Status"]["BBU Status"] in [0, 8, 4096]
253253
)
254254

255255
metrics["ctrl_degraded"].labels(controller_index).set(

0 commit comments

Comments
 (0)