|
|
|
@@ -0,0 +1,894 @@ |
|
|
|
{ |
|
|
|
"name": "IPMI by Categraf", |
|
|
|
"tags": "Categraf ~v0.3.44-pre Exporter", |
|
|
|
"ident": "", |
|
|
|
"configs": { |
|
|
|
"version": "3.0.0", |
|
|
|
"links": [], |
|
|
|
"var": [ |
|
|
|
{ |
|
|
|
"name": "datasource", |
|
|
|
"type": "datasource", |
|
|
|
"definition": "prometheus" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"name": "ident", |
|
|
|
"type": "query", |
|
|
|
"hide": false, |
|
|
|
"datasource": { |
|
|
|
"cate": "prometheus", |
|
|
|
"value": "${datasource}" |
|
|
|
}, |
|
|
|
"definition": "label_values(ipmi_bmc_info, ident)", |
|
|
|
"reg": "", |
|
|
|
"multi": false |
|
|
|
} |
|
|
|
], |
|
|
|
"panels": [ |
|
|
|
{ |
|
|
|
"type": "stat", |
|
|
|
"id": "f7d72708-f857-4d67-b9ab-1df6464bc685", |
|
|
|
"layout": { |
|
|
|
"h": 4, |
|
|
|
"w": 4, |
|
|
|
"x": 0, |
|
|
|
"y": 0, |
|
|
|
"i": "f7d72708-f857-4d67-b9ab-1df6464bc685", |
|
|
|
"isResizable": true |
|
|
|
}, |
|
|
|
"version": "3.0.0", |
|
|
|
"datasourceCate": "prometheus", |
|
|
|
"datasourceValue": "${datasource}", |
|
|
|
"targets": [ |
|
|
|
{ |
|
|
|
"refId": "A", |
|
|
|
"expr": "ipmi_chassis_power_state", |
|
|
|
"legend": "{{ident}}" |
|
|
|
} |
|
|
|
], |
|
|
|
"transformations": [ |
|
|
|
{ |
|
|
|
"id": "organize", |
|
|
|
"options": {} |
|
|
|
} |
|
|
|
], |
|
|
|
"name": "Power Status", |
|
|
|
"links": [], |
|
|
|
"maxPerRow": 4, |
|
|
|
"custom": { |
|
|
|
"textMode": "value", |
|
|
|
"graphMode": "area", |
|
|
|
"colorMode": "background", |
|
|
|
"calc": "lastNotNull", |
|
|
|
"valueField": "Value", |
|
|
|
"colSpan": 1, |
|
|
|
"textSize": {} |
|
|
|
}, |
|
|
|
"options": { |
|
|
|
"thresholds": { |
|
|
|
"steps": [ |
|
|
|
{ |
|
|
|
"color": "#73BF69", |
|
|
|
"value": null, |
|
|
|
"type": "base" |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
"valueMappings": [ |
|
|
|
{ |
|
|
|
"options": { |
|
|
|
"0": { |
|
|
|
"color": "red", |
|
|
|
"index": 1, |
|
|
|
"text": "Powered Off" |
|
|
|
}, |
|
|
|
"1": { |
|
|
|
"color": "dark-green", |
|
|
|
"index": 0, |
|
|
|
"text": "Powered On" |
|
|
|
} |
|
|
|
}, |
|
|
|
"type": "special", |
|
|
|
"match": { |
|
|
|
"special": 1 |
|
|
|
}, |
|
|
|
"result": { |
|
|
|
"text": "Powered On", |
|
|
|
"color": "rgba(44, 157, 61, 1)" |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "special", |
|
|
|
"result": { |
|
|
|
"color": "rgba(206, 79, 82, 1)", |
|
|
|
"text": "Powered Off" |
|
|
|
}, |
|
|
|
"match": { |
|
|
|
"special": 0 |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
"standardOptions": { |
|
|
|
"util": "none" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "table", |
|
|
|
"id": "0d86649f-8b64-4a3c-8794-984ab92052a2", |
|
|
|
"layout": { |
|
|
|
"h": 4, |
|
|
|
"w": 12, |
|
|
|
"x": 4, |
|
|
|
"y": 0, |
|
|
|
"i": "0d86649f-8b64-4a3c-8794-984ab92052a2", |
|
|
|
"isResizable": true |
|
|
|
}, |
|
|
|
"version": "3.0.0", |
|
|
|
"datasourceCate": "prometheus", |
|
|
|
"datasourceValue": "${datasource}", |
|
|
|
"targets": [ |
|
|
|
{ |
|
|
|
"refId": "A", |
|
|
|
"expr": "ipmi_bmc_info", |
|
|
|
"legend": "", |
|
|
|
"maxDataPoints": 240 |
|
|
|
} |
|
|
|
], |
|
|
|
"transformations": [ |
|
|
|
{ |
|
|
|
"id": "organize", |
|
|
|
"options": { |
|
|
|
"excludeByName": { |
|
|
|
"value": true, |
|
|
|
"__name__": true |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
"name": "Machine Info", |
|
|
|
"links": [], |
|
|
|
"maxPerRow": 4, |
|
|
|
"custom": { |
|
|
|
"showHeader": true, |
|
|
|
"colorMode": "value", |
|
|
|
"calc": "lastNotNull", |
|
|
|
"displayMode": "labelsOfSeriesToRows", |
|
|
|
"columns": [], |
|
|
|
"linkMode": "appendLinkColumn" |
|
|
|
}, |
|
|
|
"options": { |
|
|
|
"standardOptions": {} |
|
|
|
}, |
|
|
|
"overrides": [ |
|
|
|
{ |
|
|
|
"matcher": { |
|
|
|
"id": "byFrameRefID" |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "table", |
|
|
|
"id": "20e67b9f-3d7b-4915-86a9-abbc74a11b57", |
|
|
|
"layout": { |
|
|
|
"h": 8, |
|
|
|
"w": 8, |
|
|
|
"x": 16, |
|
|
|
"y": 0, |
|
|
|
"i": "20e67b9f-3d7b-4915-86a9-abbc74a11b57", |
|
|
|
"isResizable": true |
|
|
|
}, |
|
|
|
"version": "3.0.0", |
|
|
|
"datasourceCate": "prometheus", |
|
|
|
"datasourceValue": "${datasource}", |
|
|
|
"targets": [ |
|
|
|
{ |
|
|
|
"refId": "A", |
|
|
|
"expr": "ipmi_fan_speed_state{ident=\"$ident\"}", |
|
|
|
"legend": "{{name}}" |
|
|
|
} |
|
|
|
], |
|
|
|
"transformations": [ |
|
|
|
{ |
|
|
|
"id": "organize", |
|
|
|
"options": {} |
|
|
|
} |
|
|
|
], |
|
|
|
"name": "Fan Speed State", |
|
|
|
"links": [], |
|
|
|
"maxPerRow": 4, |
|
|
|
"custom": { |
|
|
|
"showHeader": false, |
|
|
|
"colorMode": "background", |
|
|
|
"calc": "lastNotNull", |
|
|
|
"displayMode": "seriesToRows", |
|
|
|
"linkMode": "appendLinkColumn" |
|
|
|
}, |
|
|
|
"options": { |
|
|
|
"valueMappings": [ |
|
|
|
{ |
|
|
|
"type": "special", |
|
|
|
"result": { |
|
|
|
"color": "rgba(44, 157, 61, 1)", |
|
|
|
"text": "Normal" |
|
|
|
}, |
|
|
|
"match": { |
|
|
|
"special": 0 |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "special", |
|
|
|
"result": { |
|
|
|
"color": "rgba(255, 174, 57, 1)", |
|
|
|
"text": "Warning" |
|
|
|
}, |
|
|
|
"match": { |
|
|
|
"special": 1 |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "special", |
|
|
|
"result": { |
|
|
|
"color": "rgba(206, 79, 82, 1)", |
|
|
|
"text": "Critical" |
|
|
|
}, |
|
|
|
"match": { |
|
|
|
"special": 2 |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
"standardOptions": {} |
|
|
|
}, |
|
|
|
"overrides": [ |
|
|
|
{ |
|
|
|
"matcher": { |
|
|
|
"id": "byFrameRefID" |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "hexbin", |
|
|
|
"id": "62decb7d-fcdb-4865-87eb-38217ceaaddf", |
|
|
|
"layout": { |
|
|
|
"h": 4, |
|
|
|
"w": 16, |
|
|
|
"x": 0, |
|
|
|
"y": 4, |
|
|
|
"i": "62decb7d-fcdb-4865-87eb-38217ceaaddf", |
|
|
|
"isResizable": true |
|
|
|
}, |
|
|
|
"version": "3.0.0", |
|
|
|
"datasourceCate": "prometheus", |
|
|
|
"datasourceValue": "${datasource}", |
|
|
|
"targets": [ |
|
|
|
{ |
|
|
|
"expr": "ipmi_fan_speed_rpm{ident=\"$ident\"}", |
|
|
|
"refId": "B", |
|
|
|
"legend": "{{name}}" |
|
|
|
} |
|
|
|
], |
|
|
|
"transformations": [ |
|
|
|
{ |
|
|
|
"id": "organize", |
|
|
|
"options": {} |
|
|
|
} |
|
|
|
], |
|
|
|
"name": "Fan speed in rotations per minute", |
|
|
|
"links": [], |
|
|
|
"maxPerRow": 4, |
|
|
|
"custom": { |
|
|
|
"textMode": "valueAndName", |
|
|
|
"calc": "lastNotNull", |
|
|
|
"valueField": "Value", |
|
|
|
"colorRange": [ |
|
|
|
"#c7f1ff", |
|
|
|
"#42a1fa", |
|
|
|
"#083294" |
|
|
|
], |
|
|
|
"reverseColorOrder": false, |
|
|
|
"colorDomainAuto": true |
|
|
|
}, |
|
|
|
"options": { |
|
|
|
"thresholds": { |
|
|
|
"steps": [ |
|
|
|
{ |
|
|
|
"color": "#634CD9", |
|
|
|
"value": null, |
|
|
|
"type": "base" |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
"standardOptions": {} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "timeseries", |
|
|
|
"id": "a9796ec2-79dd-4ba9-946b-2849434523e0", |
|
|
|
"layout": { |
|
|
|
"h": 4, |
|
|
|
"w": 12, |
|
|
|
"x": 0, |
|
|
|
"y": 8, |
|
|
|
"i": "a9796ec2-79dd-4ba9-946b-2849434523e0", |
|
|
|
"isResizable": true |
|
|
|
}, |
|
|
|
"version": "3.0.0", |
|
|
|
"datasourceCate": "prometheus", |
|
|
|
"datasourceValue": "${datasource}", |
|
|
|
"targets": [ |
|
|
|
{ |
|
|
|
"refId": "A", |
|
|
|
"expr": "ipmi_dcmi_power_consumption_watts{ident=\"$ident\"}", |
|
|
|
"legend": "{{ident}}" |
|
|
|
} |
|
|
|
], |
|
|
|
"transformations": [ |
|
|
|
{ |
|
|
|
"id": "organize", |
|
|
|
"options": {} |
|
|
|
} |
|
|
|
], |
|
|
|
"name": " Power Consumption watts", |
|
|
|
"links": [], |
|
|
|
"description": "This chart is only provided if the dcmi collector is enabled.", |
|
|
|
"maxPerRow": 4, |
|
|
|
"options": { |
|
|
|
"tooltip": { |
|
|
|
"mode": "single" |
|
|
|
}, |
|
|
|
"legend": { |
|
|
|
"displayMode": "list", |
|
|
|
"placement": "bottom", |
|
|
|
"behaviour": "showItem" |
|
|
|
}, |
|
|
|
"valueMappings": [], |
|
|
|
"standardOptions": { |
|
|
|
"util": "none" |
|
|
|
}, |
|
|
|
"thresholds": { |
|
|
|
"steps": [ |
|
|
|
{ |
|
|
|
"color": "#73BF69", |
|
|
|
"value": null, |
|
|
|
"type": "base" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"color": "#F2495C", |
|
|
|
"value": 80 |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|
"custom": { |
|
|
|
"drawStyle": "lines", |
|
|
|
"lineInterpolation": "linear", |
|
|
|
"spanNulls": false, |
|
|
|
"lineWidth": 1, |
|
|
|
"fillOpacity": 0, |
|
|
|
"gradientMode": "none", |
|
|
|
"stack": "off", |
|
|
|
"scaleDistribution": { |
|
|
|
"type": "linear" |
|
|
|
} |
|
|
|
}, |
|
|
|
"overrides": [ |
|
|
|
{ |
|
|
|
"matcher": { |
|
|
|
"id": "byFrameRefID" |
|
|
|
}, |
|
|
|
"properties": { |
|
|
|
"rightYAxisDisplay": "off" |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "table", |
|
|
|
"id": "0ad29227-43f9-4649-9170-3930103c4c38", |
|
|
|
"layout": { |
|
|
|
"h": 4, |
|
|
|
"w": 4, |
|
|
|
"x": 12, |
|
|
|
"y": 8, |
|
|
|
"i": "0ad29227-43f9-4649-9170-3930103c4c38", |
|
|
|
"isResizable": true |
|
|
|
}, |
|
|
|
"version": "3.0.0", |
|
|
|
"datasourceCate": "prometheus", |
|
|
|
"datasourceValue": "${datasource}", |
|
|
|
"targets": [ |
|
|
|
{ |
|
|
|
"refId": "A", |
|
|
|
"expr": "ipmi_power_state{ident=\"$ident\"}", |
|
|
|
"legend": "{{name}}" |
|
|
|
} |
|
|
|
], |
|
|
|
"transformations": [ |
|
|
|
{ |
|
|
|
"id": "organize", |
|
|
|
"options": {} |
|
|
|
} |
|
|
|
], |
|
|
|
"name": "Power State", |
|
|
|
"links": [], |
|
|
|
"maxPerRow": 4, |
|
|
|
"custom": { |
|
|
|
"showHeader": false, |
|
|
|
"colorMode": "background", |
|
|
|
"calc": "lastNotNull", |
|
|
|
"displayMode": "seriesToRows", |
|
|
|
"linkMode": "appendLinkColumn" |
|
|
|
}, |
|
|
|
"options": { |
|
|
|
"valueMappings": [ |
|
|
|
{ |
|
|
|
"type": "special", |
|
|
|
"result": { |
|
|
|
"color": "rgba(44, 157, 61, 1)", |
|
|
|
"text": "Normal" |
|
|
|
}, |
|
|
|
"match": { |
|
|
|
"special": 0 |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "special", |
|
|
|
"result": { |
|
|
|
"color": "rgba(255, 153, 25, 1)", |
|
|
|
"text": "Warning" |
|
|
|
}, |
|
|
|
"match": { |
|
|
|
"special": 1 |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "special", |
|
|
|
"result": { |
|
|
|
"color": "rgba(206, 79, 82, 1)", |
|
|
|
"text": "Critical" |
|
|
|
}, |
|
|
|
"match": { |
|
|
|
"special": 2 |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
"standardOptions": {} |
|
|
|
}, |
|
|
|
"overrides": [ |
|
|
|
{ |
|
|
|
"matcher": { |
|
|
|
"id": "byFrameRefID" |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "hexbin", |
|
|
|
"id": "38e2b452-3d6d-4b50-b821-6bafdcb6b1ba", |
|
|
|
"layout": { |
|
|
|
"h": 4, |
|
|
|
"w": 8, |
|
|
|
"x": 16, |
|
|
|
"y": 8, |
|
|
|
"i": "38e2b452-3d6d-4b50-b821-6bafdcb6b1ba", |
|
|
|
"isResizable": true |
|
|
|
}, |
|
|
|
"version": "3.0.0", |
|
|
|
"datasourceCate": "prometheus", |
|
|
|
"datasourceValue": "${datasource}", |
|
|
|
"targets": [ |
|
|
|
{ |
|
|
|
"refId": "A", |
|
|
|
"expr": "ipmi_power_watts{ident=\"$ident\"}", |
|
|
|
"legend": "{{name}}" |
|
|
|
} |
|
|
|
], |
|
|
|
"transformations": [ |
|
|
|
{ |
|
|
|
"id": "organize", |
|
|
|
"options": {} |
|
|
|
} |
|
|
|
], |
|
|
|
"name": "Power reading in Watts", |
|
|
|
"links": [], |
|
|
|
"maxPerRow": 4, |
|
|
|
"custom": { |
|
|
|
"textMode": "value", |
|
|
|
"calc": "lastNotNull", |
|
|
|
"valueField": "Value", |
|
|
|
"colorRange": [ |
|
|
|
"#ffeda0", |
|
|
|
"#fc4e2a", |
|
|
|
"#800026" |
|
|
|
], |
|
|
|
"reverseColorOrder": false, |
|
|
|
"colorDomainAuto": true |
|
|
|
}, |
|
|
|
"options": { |
|
|
|
"thresholds": { |
|
|
|
"steps": [ |
|
|
|
{ |
|
|
|
"color": "#634CD9", |
|
|
|
"value": null, |
|
|
|
"type": "base" |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
"standardOptions": {} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "table", |
|
|
|
"id": "726d9793-87a9-4942-ad36-8359f56cdbf2", |
|
|
|
"layout": { |
|
|
|
"h": 8, |
|
|
|
"w": 12, |
|
|
|
"x": 0, |
|
|
|
"y": 12, |
|
|
|
"i": "726d9793-87a9-4942-ad36-8359f56cdbf2", |
|
|
|
"isResizable": true |
|
|
|
}, |
|
|
|
"version": "3.0.0", |
|
|
|
"datasourceCate": "prometheus", |
|
|
|
"datasourceValue": "${datasource}", |
|
|
|
"targets": [ |
|
|
|
{ |
|
|
|
"refId": "A", |
|
|
|
"expr": "ipmi_sensor_state{ident=\"$ident\"}", |
|
|
|
"legend": "" |
|
|
|
} |
|
|
|
], |
|
|
|
"transformations": [ |
|
|
|
{ |
|
|
|
"id": "organize", |
|
|
|
"options": { |
|
|
|
"excludeByName": { |
|
|
|
"__name__": true, |
|
|
|
"id": true |
|
|
|
}, |
|
|
|
"indexByName": { |
|
|
|
"ident": 0, |
|
|
|
"__name__": 1, |
|
|
|
"id": 2, |
|
|
|
"name": 3, |
|
|
|
"type": 4, |
|
|
|
"value": 5 |
|
|
|
}, |
|
|
|
"renameByName": { |
|
|
|
"value": "state" |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
"name": "IPMI Sensors State", |
|
|
|
"links": [], |
|
|
|
"maxPerRow": 4, |
|
|
|
"custom": { |
|
|
|
"showHeader": true, |
|
|
|
"colorMode": "background", |
|
|
|
"calc": "lastNotNull", |
|
|
|
"displayMode": "labelsOfSeriesToRows", |
|
|
|
"linkMode": "appendLinkColumn", |
|
|
|
"columns": [] |
|
|
|
}, |
|
|
|
"options": { |
|
|
|
"valueMappings": [ |
|
|
|
{ |
|
|
|
"type": "special", |
|
|
|
"result": { |
|
|
|
"color": "rgba(44, 157, 61, 1)", |
|
|
|
"text": "Normal" |
|
|
|
}, |
|
|
|
"match": { |
|
|
|
"special": 0 |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "special", |
|
|
|
"result": { |
|
|
|
"color": "rgba(255, 174, 57, 1)", |
|
|
|
"text": "Warning" |
|
|
|
}, |
|
|
|
"match": { |
|
|
|
"special": 1 |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "special", |
|
|
|
"result": { |
|
|
|
"color": "rgba(206, 79, 82, 1)", |
|
|
|
"text": "Critical" |
|
|
|
}, |
|
|
|
"match": { |
|
|
|
"special": 2 |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
"standardOptions": {} |
|
|
|
}, |
|
|
|
"overrides": [ |
|
|
|
{ |
|
|
|
"matcher": { |
|
|
|
"id": "byFrameRefID" |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "table", |
|
|
|
"id": "59080d53-8b88-4f32-8d66-f4a3f7b092b4", |
|
|
|
"layout": { |
|
|
|
"h": 8, |
|
|
|
"w": 6, |
|
|
|
"x": 12, |
|
|
|
"y": 12, |
|
|
|
"i": "59080d53-8b88-4f32-8d66-f4a3f7b092b4", |
|
|
|
"isResizable": true |
|
|
|
}, |
|
|
|
"version": "3.0.0", |
|
|
|
"datasourceCate": "prometheus", |
|
|
|
"datasourceValue": "${datasource}", |
|
|
|
"targets": [ |
|
|
|
{ |
|
|
|
"refId": "A", |
|
|
|
"expr": "ipmi_temperature_state{ident=\"$ident\"}", |
|
|
|
"legend": "{{name}}" |
|
|
|
} |
|
|
|
], |
|
|
|
"transformations": [ |
|
|
|
{ |
|
|
|
"id": "organize", |
|
|
|
"options": {} |
|
|
|
} |
|
|
|
], |
|
|
|
"name": "Temperature State", |
|
|
|
"links": [], |
|
|
|
"maxPerRow": 4, |
|
|
|
"custom": { |
|
|
|
"showHeader": true, |
|
|
|
"colorMode": "background", |
|
|
|
"calc": "lastNotNull", |
|
|
|
"displayMode": "seriesToRows", |
|
|
|
"linkMode": "appendLinkColumn" |
|
|
|
}, |
|
|
|
"options": { |
|
|
|
"valueMappings": [ |
|
|
|
{ |
|
|
|
"type": "special", |
|
|
|
"result": { |
|
|
|
"color": "rgba(44, 157, 61, 1)", |
|
|
|
"text": "Normal" |
|
|
|
}, |
|
|
|
"match": { |
|
|
|
"special": 0 |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "special", |
|
|
|
"result": { |
|
|
|
"color": "rgba(255, 153, 25, 1)", |
|
|
|
"text": "Warning" |
|
|
|
}, |
|
|
|
"match": { |
|
|
|
"special": 1 |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "special", |
|
|
|
"result": { |
|
|
|
"color": "rgba(206, 79, 82, 1)", |
|
|
|
"text": "Critical" |
|
|
|
}, |
|
|
|
"match": { |
|
|
|
"special": 2 |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
"standardOptions": {} |
|
|
|
}, |
|
|
|
"overrides": [ |
|
|
|
{ |
|
|
|
"matcher": { |
|
|
|
"id": "byFrameRefID" |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "gauge", |
|
|
|
"id": "4c20f19c-878e-4dba-a6b2-b2af197ceee1", |
|
|
|
"layout": { |
|
|
|
"h": 8, |
|
|
|
"w": 6, |
|
|
|
"x": 18, |
|
|
|
"y": 12, |
|
|
|
"i": "4c20f19c-878e-4dba-a6b2-b2af197ceee1", |
|
|
|
"isResizable": true |
|
|
|
}, |
|
|
|
"version": "3.0.0", |
|
|
|
"datasourceCate": "prometheus", |
|
|
|
"datasourceValue": "${datasource}", |
|
|
|
"targets": [ |
|
|
|
{ |
|
|
|
"refId": "A", |
|
|
|
"expr": "ipmi_temperature_celsius{ident=\"$ident\"}", |
|
|
|
"legend": "{{name}}" |
|
|
|
} |
|
|
|
], |
|
|
|
"transformations": [ |
|
|
|
{ |
|
|
|
"id": "organize", |
|
|
|
"options": {} |
|
|
|
} |
|
|
|
], |
|
|
|
"name": "Temperatures", |
|
|
|
"links": [], |
|
|
|
"maxPerRow": 4, |
|
|
|
"custom": { |
|
|
|
"textMode": "value", |
|
|
|
"calc": "lastNotNull", |
|
|
|
"valueField": "Value" |
|
|
|
}, |
|
|
|
"options": { |
|
|
|
"thresholds": { |
|
|
|
"steps": [ |
|
|
|
{ |
|
|
|
"color": "rgba(138, 202, 255, 1)", |
|
|
|
"value": null, |
|
|
|
"type": "base" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"color": "#F2495C", |
|
|
|
"value": 70 |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
"valueMappings": [], |
|
|
|
"standardOptions": { |
|
|
|
"util": "none" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "table", |
|
|
|
"id": "25c1201e-a1b8-4c65-a00e-3b6322aa4da5", |
|
|
|
"layout": { |
|
|
|
"h": 7, |
|
|
|
"w": 24, |
|
|
|
"x": 0, |
|
|
|
"y": 20, |
|
|
|
"i": "25c1201e-a1b8-4c65-a00e-3b6322aa4da5", |
|
|
|
"isResizable": true |
|
|
|
}, |
|
|
|
"version": "3.0.0", |
|
|
|
"datasourceCate": "prometheus", |
|
|
|
"datasourceValue": "${datasource}", |
|
|
|
"targets": [ |
|
|
|
{ |
|
|
|
"refId": "A", |
|
|
|
"expr": "ipmi_voltage_state{ident=\"$ident\"}", |
|
|
|
"legend": "{{name}}" |
|
|
|
} |
|
|
|
], |
|
|
|
"transformations": [ |
|
|
|
{ |
|
|
|
"id": "organize", |
|
|
|
"options": { |
|
|
|
"excludeByName": { |
|
|
|
"__name__": true, |
|
|
|
"ident": true |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
"name": "Reported state of a voltage sensor", |
|
|
|
"links": [], |
|
|
|
"maxPerRow": 4, |
|
|
|
"custom": { |
|
|
|
"showHeader": true, |
|
|
|
"colorMode": "background", |
|
|
|
"calc": "lastNotNull", |
|
|
|
"displayMode": "labelsOfSeriesToRows", |
|
|
|
"linkMode": "appendLinkColumn", |
|
|
|
"columns": [] |
|
|
|
}, |
|
|
|
"options": { |
|
|
|
"valueMappings": [ |
|
|
|
{ |
|
|
|
"type": "special", |
|
|
|
"result": { |
|
|
|
"color": "rgba(44, 157, 61, 1)", |
|
|
|
"text": "Normal" |
|
|
|
}, |
|
|
|
"match": { |
|
|
|
"special": 0 |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "special", |
|
|
|
"result": { |
|
|
|
"color": "rgba(255, 174, 57, 1)", |
|
|
|
"text": "Warning" |
|
|
|
}, |
|
|
|
"match": { |
|
|
|
"special": 1 |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "special", |
|
|
|
"result": { |
|
|
|
"color": "rgba(206, 79, 82, 1)", |
|
|
|
"text": "Critical" |
|
|
|
}, |
|
|
|
"match": { |
|
|
|
"special": 2 |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
"standardOptions": {} |
|
|
|
}, |
|
|
|
"overrides": [ |
|
|
|
{ |
|
|
|
"matcher": {}, |
|
|
|
"properties": { |
|
|
|
"valueMappings": [] |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "gauge", |
|
|
|
"id": "4373d423-43e7-4001-b1f9-6ac53a4a1ae6", |
|
|
|
"layout": { |
|
|
|
"h": 4, |
|
|
|
"w": 24, |
|
|
|
"x": 0, |
|
|
|
"y": 27, |
|
|
|
"i": "4373d423-43e7-4001-b1f9-6ac53a4a1ae6", |
|
|
|
"isResizable": true |
|
|
|
}, |
|
|
|
"version": "3.0.0", |
|
|
|
"datasourceCate": "prometheus", |
|
|
|
"datasourceValue": "${datasource}", |
|
|
|
"targets": [ |
|
|
|
{ |
|
|
|
"refId": "A", |
|
|
|
"expr": "ipmi_voltage_volts{ident=\"$ident\"}", |
|
|
|
"legend": "{{name}}" |
|
|
|
} |
|
|
|
], |
|
|
|
"transformations": [ |
|
|
|
{ |
|
|
|
"id": "organize", |
|
|
|
"options": {} |
|
|
|
} |
|
|
|
], |
|
|
|
"name": "Voltage reading in Volts", |
|
|
|
"links": [], |
|
|
|
"maxPerRow": 4, |
|
|
|
"custom": { |
|
|
|
"textMode": "valueAndName", |
|
|
|
"calc": "lastNotNull", |
|
|
|
"valueField": "Value" |
|
|
|
}, |
|
|
|
"options": { |
|
|
|
"thresholds": { |
|
|
|
"steps": [ |
|
|
|
{ |
|
|
|
"color": "#73BF69", |
|
|
|
"value": null, |
|
|
|
"type": "base" |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
"valueMappings": [], |
|
|
|
"standardOptions": { |
|
|
|
"util": "none" |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
} |