Mustafa Shehabi | 5c19b5b | 2021-09-15 16:41:44 -0500 | [diff] [blame] | 1 | [ |
| 2 | { |
| 3 | "Desc":{ |
| 4 | "Name":"CPU0_NBM_T", |
| 5 | "SensorType":"temperature", |
| 6 | "MinValue":0, |
| 7 | "MaxValue":160 |
| 8 | }, |
| 9 | "Threshold": |
| 10 | { |
| 11 | "CriticalHigh":110, |
| 12 | "WarningHigh":108 |
| 13 | }, |
| 14 | "Associations":[ |
| 15 | [ |
| 16 | "chassis", |
| 17 | "all_sensors", |
| 18 | "/xyz/openbmc_project/inventory/system/board/Kudo_Motherboard" |
| 19 | ], |
| 20 | [ |
| 21 | "inventory", |
| 22 | "sensors", |
| 23 | "/xyz/openbmc_project/inventory/system/board/Kudo_Motherboard" |
| 24 | ] |
| 25 | ], |
| 26 | "Params":{ |
| 27 | "DbusParam":[ |
| 28 | { |
| 29 | "ParamName":"CPU0_NBM2G_TMP_V", |
| 30 | "Desc":{ |
| 31 | "Name":"CPU0_NBM2G_TMP_V", |
| 32 | "SensorType":"voltage" |
| 33 | } |
| 34 | } |
| 35 | ] |
| 36 | }, |
| 37 | "Expression":"(CPU0_NBM2G_TMP_V == CPU0_NBM2G_TMP_V) ? (CPU0_NBM2G_TMP_V - 2.73) * 100 : NULL" |
| 38 | }, |
| 39 | { |
| 40 | "Desc":{ |
| 41 | "Name":"CPU0_DIMMG_T", |
| 42 | "SensorType":"temperature", |
| 43 | "MinValue":0, |
| 44 | "MaxValue":255 |
| 45 | }, |
| 46 | "Threshold": |
| 47 | { |
| 48 | "CriticalHigh":90, |
| 49 | "WarningHigh":85 |
| 50 | }, |
| 51 | "Associations":[ |
| 52 | [ |
| 53 | "chassis", |
| 54 | "all_sensors", |
| 55 | "/xyz/openbmc_project/inventory/system/board/Kudo_Motherboard" |
| 56 | ], |
| 57 | [ |
| 58 | "inventory", |
| 59 | "sensors", |
| 60 | "/xyz/openbmc_project/inventory/system/board/Kudo_Motherboard" |
| 61 | ] |
| 62 | ], |
| 63 | "Params":{ |
| 64 | "DbusParam":[ |
| 65 | { |
| 66 | "ParamName":"CPU0_CH0", |
| 67 | "Desc":{ |
| 68 | "Name":"CPU0_CH0DIMM_T", |
| 69 | "SensorType":"temperature" |
| 70 | } |
| 71 | }, |
| 72 | { |
| 73 | "ParamName":"CPU0_CH1", |
| 74 | "Desc":{ |
| 75 | "Name":"CPU0_CH1DIMM_T", |
| 76 | "SensorType":"temperature" |
| 77 | } |
| 78 | }, |
| 79 | { |
| 80 | "ParamName":"CPU0_CH2", |
| 81 | "Desc":{ |
| 82 | "Name":"CPU0_CH2DIMM_T", |
| 83 | "SensorType":"temperature" |
| 84 | } |
| 85 | }, |
| 86 | { |
| 87 | "ParamName":"CPU0_CH3", |
| 88 | "Desc":{ |
| 89 | "Name":"CPU0_CH3DIMM_T", |
| 90 | "SensorType":"temperature" |
| 91 | } |
| 92 | }, |
| 93 | { |
| 94 | "ParamName":"CPU0_CH4", |
| 95 | "Desc":{ |
| 96 | "Name":"CPU0_CH4DIMM_T", |
| 97 | "SensorType":"temperature" |
| 98 | } |
| 99 | }, |
| 100 | { |
| 101 | "ParamName":"CPU0_CH5", |
| 102 | "Desc":{ |
| 103 | "Name":"CPU0_CH5DIMM_T", |
| 104 | "SensorType":"temperature" |
| 105 | } |
| 106 | }, |
| 107 | { |
| 108 | "ParamName":"CPU0_CH6", |
| 109 | "Desc":{ |
| 110 | "Name":"CPU0_CH6DIMM_T", |
| 111 | "SensorType":"temperature" |
| 112 | } |
| 113 | }, |
| 114 | { |
| 115 | "ParamName":"CPU0_CH7", |
| 116 | "Desc":{ |
| 117 | "Name":"CPU0_CH7DIMM_T", |
| 118 | "SensorType":"temperature" |
| 119 | } |
| 120 | } |
| 121 | ] |
| 122 | }, |
| 123 | "Expression":"var x := max((CPU0_CH0 == CPU0_CH0) ? CPU0_CH0 : 0,(CPU0_CH1 == CPU0_CH1) ? CPU0_CH1 : 0,(CPU0_CH2 == CPU0_CH2) ? CPU0_CH2 : 0,(CPU0_CH3 == CPU0_CH3) ? CPU0_CH3 : 0,(CPU0_CH4 == CPU0_CH4) ? CPU0_CH4 : 0,(CPU0_CH5 == CPU0_CH5) ? CPU0_CH5 : 0,(CPU0_CH6 == CPU0_CH6) ? CPU0_CH6 : 0,(CPU0_CH7 == CPU0_CH7) ? CPU0_CH7 : 0); x == 0 ? NULL : x" |
| 124 | }, |
| 125 | { |
| 126 | "Desc":{ |
| 127 | "Name":"CPU0_DIMM_DDR_V", |
| 128 | "SensorType":"voltage", |
| 129 | "MinValue":0, |
| 130 | "MaxValue":5 |
| 131 | }, |
| 132 | "Threshold": |
| 133 | { |
| 134 | "CriticalHigh":2.999 |
| 135 | }, |
| 136 | "Associations":[ |
| 137 | [ |
| 138 | "chassis", |
| 139 | "all_sensors", |
| 140 | "/xyz/openbmc_project/inventory/system/board/Kudo_Motherboard" |
| 141 | ], |
| 142 | [ |
| 143 | "inventory", |
| 144 | "sensors", |
| 145 | "/xyz/openbmc_project/inventory/system/board/Kudo_Motherboard" |
| 146 | ] |
| 147 | ], |
| 148 | "Params":{ |
| 149 | "DbusParam":[ |
| 150 | { |
| 151 | "ParamName":"CPU0_DIMM_VR1_V", |
| 152 | "Desc":{ |
| 153 | "Name":"CPU0_DIMM_VR1_V", |
| 154 | "SensorType":"voltage" |
| 155 | } |
| 156 | }, |
| 157 | { |
| 158 | "ParamName":"CPU0_DIMM_VR2_V", |
| 159 | "Desc":{ |
| 160 | "Name":"CPU0_DIMM_VR2_V", |
| 161 | "SensorType":"voltage" |
| 162 | } |
| 163 | } |
| 164 | ] |
| 165 | }, |
| 166 | "Expression":"(CPU0_DIMM_VR1_V + CPU0_DIMM_VR2_V) >= 0 ? (CPU0_DIMM_VR1_V + CPU0_DIMM_VR2_V) : NULL" |
| 167 | }, |
| 168 | { |
| 169 | "Desc":{ |
| 170 | "Name":"CPU0_MEM_PW", |
| 171 | "SensorType":"power", |
| 172 | "MinValue":0, |
| 173 | "MaxValue":80 |
| 174 | }, |
| 175 | "Threshold": |
| 176 | { |
| 177 | "CriticalHigh":29.987 |
| 178 | }, |
| 179 | "Associations":[ |
| 180 | [ |
| 181 | "chassis", |
| 182 | "all_sensors", |
| 183 | "/xyz/openbmc_project/inventory/system/board/Kudo_Motherboard" |
| 184 | ], |
| 185 | [ |
| 186 | "inventory", |
| 187 | "sensors", |
| 188 | "/xyz/openbmc_project/inventory/system/board/Kudo_Motherboard" |
| 189 | ] |
| 190 | ], |
| 191 | "Params":{ |
| 192 | "DbusParam":[ |
| 193 | { |
| 194 | "ParamName":"CPU0_DIMM_VR1_PW", |
| 195 | "Desc":{ |
| 196 | "Name":"CPU0_DIMM_VR1_PW", |
| 197 | "SensorType":"power" |
| 198 | } |
| 199 | }, |
| 200 | { |
| 201 | "ParamName":"CPU0_DIMM_VR2_PW", |
| 202 | "Desc":{ |
| 203 | "Name":"CPU0_DIMM_VR2_PW", |
| 204 | "SensorType":"power" |
| 205 | } |
| 206 | } |
| 207 | ] |
| 208 | }, |
| 209 | "Expression":"(CPU0_DIMM_VR1_PW + CPU0_DIMM_VR2_PW) >= 0 ? (CPU0_DIMM_VR1_PW + CPU0_DIMM_VR2_PW) : NULL" |
| 210 | }, |
| 211 | { |
| 212 | "Desc":{ |
| 213 | "Name":"CPU0_CPU_PW", |
| 214 | "SensorType":"power", |
| 215 | "MinValue":0, |
| 216 | "MaxValue":550 |
| 217 | }, |
| 218 | "Threshold": |
| 219 | { |
| 220 | "CriticalHigh":500 |
| 221 | }, |
| 222 | "Associations":[ |
| 223 | [ |
| 224 | "chassis", |
| 225 | "all_sensors", |
| 226 | "/xyz/openbmc_project/inventory/system/board/Kudo_Motherboard" |
| 227 | ], |
| 228 | [ |
| 229 | "inventory", |
| 230 | "sensors", |
| 231 | "/xyz/openbmc_project/inventory/system/board/Kudo_Motherboard" |
| 232 | ] |
| 233 | ], |
| 234 | "Params":{ |
| 235 | "DbusParam":[ |
| 236 | { |
| 237 | "ParamName":"CPU0_Core_VRD_PW", |
| 238 | "Desc":{ |
| 239 | "Name":"CPU0_Core_VRD_PW", |
| 240 | "SensorType":"power" |
| 241 | } |
| 242 | }, |
| 243 | { |
| 244 | "ParamName":"CPU0_SOC_PW", |
| 245 | "Desc":{ |
| 246 | "Name":"CPU0_SOC_PW", |
| 247 | "SensorType":"power" |
| 248 | } |
| 249 | } |
| 250 | ] |
| 251 | }, |
| 252 | "Expression":"(CPU0_Core_VRD_PW + CPU0_SOC_PW) >= 0 ? (CPU0_Core_VRD_PW + CPU0_SOC_PW) : NULL" |
| 253 | }, |
| 254 | { |
| 255 | "Desc": |
| 256 | { |
| 257 | "Name": "zone0_temp", |
| 258 | "SensorType": "temperature", |
| 259 | "MinValue": 0, |
| 260 | "MaxValue": 300 |
| 261 | }, |
| 262 | "Threshold" : |
| 263 | { |
| 264 | "CriticalHigh": 200, |
| 265 | "WarningHigh": 198 |
| 266 | }, |
| 267 | "Associations":[ |
| 268 | [ |
| 269 | "chassis", |
| 270 | "all_sensors", |
| 271 | "/xyz/openbmc_project/inventory/system/board/Kudo_Motherboard" |
| 272 | ], |
| 273 | [ |
| 274 | "inventory", |
| 275 | "sensors", |
| 276 | "/xyz/openbmc_project/inventory/system/board/Kudo_Motherboard" |
| 277 | ] |
| 278 | ], |
| 279 | "Params": |
| 280 | { |
| 281 | "DbusParam": |
| 282 | [ |
| 283 | { |
| 284 | "ParamName": "margin0", |
| 285 | "Desc": |
| 286 | { |
| 287 | "Name": "thermal_zone0", |
| 288 | "SensorType": "temperature" |
| 289 | } |
| 290 | } |
| 291 | ] |
| 292 | }, |
| 293 | "Expression": "(200 - margin0)" |
| 294 | } |
| 295 | ] |