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