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