blob: b3dd306645e4c4e6f9e0f93a6c14e58148ab0848 [file] [log] [blame]
Matt Spinler14321842017-04-28 15:27:43 -05001#Example fan monitor definitions for phosphor-fan-monitor
2
3#List the fans that need to be monitored, along with some
4#properties that define how much slack is allowed in the actual
5#tach value as compared to the target tach value.
6
7#- inventory:
8# [The system inventory location for the fan]
9# allowed_out_of_range_time:
10# [Time (in secs) actual speed can be outside of deviation of
11# target speed]
12# deviation:
13# [Percentage that actual speed must be within target speed]
14# num_sensors_nonfunc_for_fan_nonfunc:
15# [How many sensors on the fan must be faulted before fan
16# will be considered faulted]
17# sensors: [array of speed sensors for the fan]
18# - name [The name of the fan sensor]
19# has_target [true|false If this sensor has a Target property for
20# setting a fan speed (otherwise just for reads)]
21
22#The code uses these parameters as follows:
23# After a speed reading of a sensor is outside of the allowed deviation of
24# the target speed for the allowed out of range time, if at least
25# num_sensors_nonfunc_for_fan_nonfunc sensors meet this condition,
26# the fan will be set to nonfunctional in the inventory.
27
28#Example entries for 1 fan system:
29# - inventory: /system/chassis/motherboard/fan0
30# allowed_out_of_range_time: 15
31# deviation: 15
32# num_sensors_nonfunc_for_fan_nonfunc: 1
33# sensors:
34# - name: fan0
35# has_target: true