blob: 548feb50a6a6995d451f6ed11c58cbfd853dd345 [file] [log] [blame]
Brad Bishop45387d62016-11-10 21:58:58 -06001description: >
2 Implement to provide critical class sensor thresholds. Objects implementing
3 Sensor.Threshold.Critical must be instantiated in the correct hierarchy within
4 the sensors namespace. The following sensor hierarchies are recognized:
5 temperature
6 fan_tach
7 voltage
8 altitude
Brad Bishop6c4e2e92016-12-28 13:38:31 -05009 current
10 power
11 energy
Brad Bishop45387d62016-11-10 21:58:58 -060012
13 Additionally, any object implementing Sensor.Threshold.Critical must also
14 implement Sensor.Value.
15
16properties:
17 - name: CriticalHigh
18 type: int64
19 description: >
20 The upper bound of the critical threshold.
21 - name: CriticalLow
22 type: int64
23 description: >
24 The lower bound of the critical threshold.
25 - name: CriticalAlarm
26 type: boolean
27 description: >
28 True if the sensor value has exceeded the defined bounds.
29 False if the sensor value has not exceeded the defined bounds.
30
31 CriticalAlarm may be set to False to clear an alarm condition.
32 The behavior of setting CriticalAlarm to True is undefined.
33
Brad Bishop6c4e2e92016-12-28 13:38:31 -050034
Brad Bishop45387d62016-11-10 21:58:58 -060035# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4