1# deviation
2
3## Description
4
5The +/- percentage allowed for the sensors of a fan to deviate from any
6requested target before being deemed out-of-spec and not functioning as expected
7according to the target requested.
8
9## Upper Deviation
10
11If 'upper_deviation' is specified, it will be used for the deviation above the
12target instead of 'deviation'.
13
14## Attribute Value(s)
15
16integer (0 - 100)
17
18Deviation is represented as a percentage, so only 0 to 100 are valid values.
19
20## Example
21
22<pre><code>
23{
24  "fans": [
25    {
26      "inventory": "/system/chassis/motherboard/fan0",
27      "allowed_out_of_range_time": 30,
28      "functional_delay": 5,
29      <b><i>"deviation": 15</i></b>,
30      <b><i>"upper_deviation": 30</i></b>,
31      "num_sensors_nonfunc_for_fan_nonfunc": 1,
32      "monitor_start_delay": 30,
33      "fan_missing_error_delay": 20,
34      "nonfunc_rotor_error_delay": 0,
35      "sensors": [
36        {
37          "name": "fan0_0",
38          "has_target": true
39        },
40        {
41          "name": "fan0_1",
42          "has_target": false,
43          "factor": 1.45,
44          "offset": -909
45        }
46      ]
47    }
48  ]
49}
50</code></pre>
51