SMART Box health model
An implementation of a health model for a Smartbox.
- class SmartBoxHealthModel(health_changed_callback, logger, thresholds=None)
A health model for a smartbox.
- __init__(health_changed_callback, logger, thresholds=None)
Initialise a new instance.
- Parameters:
- evaluate_health()
Compute overall health of the smartbox.
The overall health is based on the monitoring points of the smartbox
- Return type:
- Returns:
an overall health of the smartbox
- property health_params: dict[str, Any]
Get the thresholds for health rules.
- Returns:
the thresholds for health rules