In this case the metric value is taken/translated from IntrusionSensorReArm.
IMHO it would be more relevant to use the IntrusionSensor - Property as Metric-Value, because this one tells waht the IntrusionState is, eg HardwareIntrusion, Normal, TamperingDetected.
The IntrusionSensorReArm-Value should rather be a label.
Hi,
i might be wrong but it seems like the physical_security_sensor* metrics are mixed up.
The chassis API returns the following
which generates the following metric
In this case the metric value is taken/translated from IntrusionSensorReArm.
IMHO it would be more relevant to use the IntrusionSensor - Property as Metric-Value, because this one tells waht the IntrusionState is, eg HardwareIntrusion, Normal, TamperingDetected.
The IntrusionSensorReArm-Value should rather be a label.
The feature was implemented here
_Originally posted by @jenningsloy318 in https://github.com/jenningsloy318/redfish_exporter/issues/16#issuecomment-657338827_