Vijay Khemka | abcc94f | 2020-08-11 15:27:44 -0700 | [diff] [blame] | 1 | [ |
Patrick Williams | 27faf7c | 2022-04-29 14:26:49 -0500 | [diff] [blame] | 2 | { |
| 3 | "Desc": { |
| 4 | "Name": "Virtual_Inlet_Temp", |
| 5 | "SensorType": "temperature", |
| 6 | "MaxValue": 127.0, |
| 7 | "MinValue": -128.0 |
| 8 | }, |
| 9 | "Threshold": { |
| 10 | "CriticalHigh": 90, |
| 11 | "CriticalLow": 20, |
| 12 | "WarningHigh": 70, |
| 13 | "WarningLow": 30 |
| 14 | }, |
| 15 | "Associations": [ |
| 16 | [ |
| 17 | "chassis", |
| 18 | "all_sensors", |
| 19 | "/xyz/openbmc_project/inventory/system/board/my_board" |
| 20 | ] |
| 21 | ], |
| 22 | "Params": { |
| 23 | "ConstParam": [ |
| 24 | { |
| 25 | "ParamName": "P1", |
| 26 | "Value": 1.1 |
| 27 | } |
| 28 | ], |
| 29 | "DbusParam": [ |
| 30 | { |
| 31 | "ParamName": "P2", |
| 32 | "Desc": { |
| 33 | "Name": "MB_INLET_TEMP", |
| 34 | "SensorType": "temperature" |
| 35 | } |
| 36 | }, |
| 37 | { |
| 38 | "ParamName": "P3", |
| 39 | "Desc": { |
| 40 | "Name": "MB_FAN0_TACH", |
| 41 | "SensorType": "fan_tach" |
| 42 | } |
| 43 | } |
| 44 | ] |
| 45 | }, |
| 46 | "Expression": "P1 * (P2 + 5 - P3 * 0.01)" |
| 47 | } |
Vijay Khemka | abcc94f | 2020-08-11 15:27:44 -0700 | [diff] [blame] | 48 | ] |