157caa923SMatthew Barth# num_sensors_nonfunc_for_fan_nonfunc 257caa923SMatthew Barth 357caa923SMatthew Barth## Description 4*a49e3f19SPatrick Williams 5f9e3163fSMatthew BarthThe number of `sensors` that must be deemed nonfunctional for the fan enclosure 6f9e3163fSMatthew Barthobject to also be nonfunctional. This attribute is optional and defaults to 0, 7f9e3163fSMatthew Barthmeaning the fan enclosure will not be set to nonfunctional based on the 8f9e3163fSMatthew Barthfunctional state of its list of `sensors`. 957caa923SMatthew Barth 1057caa923SMatthew Barth## Attribute Value(s) 11*a49e3f19SPatrick Williams 12f9e3163fSMatthew Barthinteger (default = 0) 1357caa923SMatthew Barth 1457caa923SMatthew Barth## Example 15*a49e3f19SPatrick Williams 16f9e3163fSMatthew Barth<pre><code> 17f9e3163fSMatthew Barth{ 18f9e3163fSMatthew Barth "fans": [ 19f9e3163fSMatthew Barth { 20f9e3163fSMatthew Barth "inventory": "/system/chassis/motherboard/fan0", 21f9e3163fSMatthew Barth "allowed_out_of_range_time": 30, 22f9e3163fSMatthew Barth "functional_delay": 5, 23f9e3163fSMatthew Barth "deviation": 15, 24f9e3163fSMatthew Barth <b><i>"num_sensors_nonfunc_for_fan_nonfunc": 1</i></b>, 25f9e3163fSMatthew Barth "monitor_start_delay": 30, 26f9e3163fSMatthew Barth "fan_missing_error_delay": 20, 27f9e3163fSMatthew Barth "nonfunc_rotor_error_delay": 0, 28f9e3163fSMatthew Barth "sensors": [ 29f9e3163fSMatthew Barth { 30f9e3163fSMatthew Barth "name": "fan0_0", 31f9e3163fSMatthew Barth "has_target": true 32f9e3163fSMatthew Barth }, 33f9e3163fSMatthew Barth { 34f9e3163fSMatthew Barth "name": "fan0_1", 35f9e3163fSMatthew Barth "has_target": false, 36f9e3163fSMatthew Barth "factor": 1.45, 37f9e3163fSMatthew Barth "offset": -909 38f9e3163fSMatthew Barth } 39f9e3163fSMatthew Barth ] 40f9e3163fSMatthew Barth } 41f9e3163fSMatthew Barth ] 42f9e3163fSMatthew Barth} 43f9e3163fSMatthew Barth</code></pre> 44