{ alias: 'Critical', color: 'dark-red', dashes: true, fill: 0 },
],
},
+
+ // PSU Temperatures
+ g.graphPanel.new(
+ title='PSU Temperatures',
+ datasource='$datasource',
+ format='celsius',
+ ).addTarget(
+ g.prometheus.target(
+ 'ceph_hardware_temperature_celsius{hostname=~"$hostname", sensor_name=~"PSU.*_TEMP.*"}',
+ legendFormat='{{sensor_name}}'
+ )
+ ).addTarget(
+ g.prometheus.target('vector(65)', legendFormat='Critical')
+ )
+ + {
+ gridPos: { x: 0, y: 20, w: 12, h: 8 },
+ yaxes: [{ min: 0 }, {}],
+ seriesOverrides: [
+ { alias: 'Critical', color: 'dark-red', dashes: true, fill: 0 },
+ ],
+ },
] },
// Row 5: FAN Speed History
},
{ }
]
+ },
+ {
+ "aliasColors": { },
+ "bars": false,
+ "dashLength": 10,
+ "dashes": false,
+ "datasource": "$datasource",
+ "fill": 1,
+ "fillGradient": 0,
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 20
+ },
+ "id": 35,
+ "legend": {
+ "alignAsTable": false,
+ "avg": false,
+ "current": false,
+ "max": false,
+ "min": false,
+ "rightSide": false,
+ "show": true,
+ "sideWidth": null,
+ "total": false,
+ "values": false
+ },
+ "lines": true,
+ "linewidth": 1,
+ "links": [ ],
+ "nullPointMode": "null",
+ "percentage": false,
+ "pointradius": 5,
+ "points": false,
+ "renderer": "flot",
+ "repeat": null,
+ "seriesOverrides": [
+ {
+ "alias": "Critical",
+ "color": "dark-red",
+ "dashes": true,
+ "fill": 0
+ }
+ ],
+ "spaceLength": 10,
+ "stack": false,
+ "steppedLine": false,
+ "targets": [
+ {
+ "expr": "ceph_hardware_temperature_celsius{hostname=~\"$hostname\", sensor_name=~\"PSU.*_TEMP.*\"}",
+ "format": "time_series",
+ "intervalFactor": 2,
+ "legendFormat": "{{sensor_name}}",
+ "refId": "A"
+ },
+ {
+ "expr": "vector(65)",
+ "format": "time_series",
+ "intervalFactor": 2,
+ "legendFormat": "Critical",
+ "refId": "B"
+ }
+ ],
+ "thresholds": [ ],
+ "timeFrom": null,
+ "timeShift": null,
+ "title": "PSU Temperatures",
+ "tooltip": {
+ "shared": true,
+ "sort": 0,
+ "value_type": "individual"
+ },
+ "type": "graph",
+ "xaxis": {
+ "buckets": null,
+ "mode": "time",
+ "name": null,
+ "show": true,
+ "values": [ ]
+ },
+ "yaxes": [
+ {
+ "min": 0
+ },
+ { }
+ ]
}
],
"repeat": null,
"x": 0,
"y": 4
},
- "id": 35,
+ "id": 36,
"panels": [
{
"aliasColors": { },
"x": 0,
"y": 5
},
- "id": 36,
+ "id": 37,
"legend": {
"alignAsTable": false,
"avg": false,
"x": 12,
"y": 5
},
- "id": 37,
+ "id": 38,
"legend": {
"alignAsTable": false,
"avg": false,