summaryrefslogtreecommitdiffstats
path: root/monitor/example/monitor.yaml
blob: b3dd306645e4c4e6f9e0f93a6c14e58148ab0848 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#Example fan monitor definitions for phosphor-fan-monitor

#List the fans that need to be monitored, along with some
#properties that define how much slack is allowed in the actual
#tach value as compared to the target tach value.

#- inventory:
#    [The system inventory location for the fan]
#  allowed_out_of_range_time:
#    [Time (in secs) actual speed can be outside of deviation of
#     target speed]
#  deviation:
#    [Percentage that actual speed must be within target speed]
#  num_sensors_nonfunc_for_fan_nonfunc:
#    [How many sensors on the fan must be faulted before fan
#     will be considered faulted]
#  sensors: [array of speed sensors for the fan]
#    - name [The name of the fan sensor]
#      has_target [true|false  If this sensor has a Target property for
#                  setting a fan speed (otherwise just for reads)]

#The code uses these parameters as follows:
#  After a speed reading of a sensor is outside of the allowed deviation of
#  the target speed for the allowed out of range time, if at least
#  num_sensors_nonfunc_for_fan_nonfunc sensors meet this condition,
#  the fan will be set to nonfunctional in the inventory.

#Example entries for 1 fan system:
#  - inventory: /system/chassis/motherboard/fan0
#    allowed_out_of_range_time: 15
#    deviation: 15
#    num_sensors_nonfunc_for_fan_nonfunc: 1
#    sensors:
#      - name: fan0
#        has_target: true
OpenPOWER on IntegriCloud