When I review the disk_labels, I would expect that any disk that has 'outage="xxxyyyzzz" (a non-empty value) would set the metric to zero based on the rule in the disk.yaml file, but it doesn't as seen in the following:
disk_labels{container_type="broken",failed="true",model="X375_SMBPE04TA07",outage="failed",owner_node="XXYY07node5",serial_number="ZY1235F",shared="false",shelf="12345456789",shelf_bay="47",type="FSAS",aggregate="",firmware_revision="NA00",datacenter="MYDC",cluster="XXXYYY07",disk="9.13.47",index="XXYY07node5_9.13.47",node="XXYY07node5"} 1.0
the rule in the disk.yaml is as follows:
plugins:
LabelAgent:
value_to_num:
- new_status outage - - 0
join:
- index _ node,disk
Am I missing something as to why the value of the metric isnt 'zero' when outage is set?
I am testing this on 24.02 but I also have verified it doesn't work on 23.05 (which is our prior version we used).