Created
April 14, 2023 04:41
-
-
Save baonq-me/75f3041fea0e01f74d6a170c53c95a5e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": { | |
"type": "grafana", | |
"uid": "-- Grafana --" | |
}, | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", | |
"target": { | |
"limit": 100, | |
"matchAny": false, | |
"tags": [], | |
"type": "dashboard" | |
}, | |
"type": "dashboard" | |
} | |
] | |
}, | |
"editable": true, | |
"fiscalYearStartMonth": 0, | |
"graphTooltip": 0, | |
"id": 6, | |
"links": [], | |
"liveNow": false, | |
"panels": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 4, | |
"w": 3, | |
"x": 0, | |
"y": 0 | |
}, | |
"id": 13, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "name" | |
}, | |
"pluginVersion": "9.1.6", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"exemplar": false, | |
"expr": "hpilo_firmware_version{server_name=\"$server_name\"}", | |
"instant": true, | |
"legendFormat": "{{server_name}}", | |
"range": false, | |
"refId": "A" | |
} | |
], | |
"title": "Server name", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
} | |
] | |
} | |
}, | |
"overrides": [ | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "Power" | |
}, | |
"properties": [ | |
{ | |
"id": "unit", | |
"value": "kwatth" | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "Estimated money" | |
}, | |
"properties": [ | |
{ | |
"id": "unit", | |
"value": "currencyVND" | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 4, | |
"w": 5, | |
"x": 3, | |
"y": 0 | |
}, | |
"id": 19, | |
"interval": "5m", | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.1.6", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"expr": "sum_over_time(hpilo_power_supplies_reading{server_name=\"$server_name\", product_name!=\"Unknown HP Server\"}[$__range]) / (count_over_time(hpilo_power_supplies_reading{server_name=\"$server_name\", product_name!=\"Unknown HP Server\"}[1m]) * 60) / 1000", | |
"legendFormat": "Power", | |
"range": true, | |
"refId": "A" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"expr": "sum_over_time(hpilo_power_supplies_reading{server_name=\"$server_name\", product_name!=\"Unknown HP Server\"}[$__range]) / (count_over_time(hpilo_power_supplies_reading{server_name=\"$server_name\", product_name!=\"Unknown HP Server\"}[1m]) * 60) / 1000 * 2000", | |
"hide": false, | |
"legendFormat": "Estimated money", | |
"range": true, | |
"refId": "B" | |
} | |
], | |
"title": "Power consumtion", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "percentage", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "#EAB839", | |
"value": 40 | |
}, | |
{ | |
"color": "dark-orange", | |
"value": 60 | |
}, | |
{ | |
"color": "dark-red", | |
"value": 85 | |
} | |
] | |
}, | |
"unit": "watt" | |
}, | |
"overrides": [ | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "dedi3" | |
}, | |
"properties": [ | |
{ | |
"id": "min", | |
"value": 0 | |
}, | |
{ | |
"id": "max", | |
"value": 250 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "dedi2" | |
}, | |
"properties": [ | |
{ | |
"id": "max", | |
"value": 500 | |
}, | |
{ | |
"id": "min", | |
"value": 0 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "dedi5" | |
}, | |
"properties": [ | |
{ | |
"id": "max", | |
"value": 300 | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 6, | |
"w": 4, | |
"x": 8, | |
"y": 0 | |
}, | |
"id": 15, | |
"options": { | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"showThresholdLabels": false, | |
"showThresholdMarkers": true | |
}, | |
"pluginVersion": "9.1.6", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"expr": "sum(hpilo_power_supplies_reading{server_name=\"$server_name\", product_name!=\"Unknown HP Server\"}) by (server_name)", | |
"legendFormat": "{{server_name}}", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"title": "Power reading", | |
"type": "gauge" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisCenteredZero": false, | |
"axisColorMode": "text", | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 0, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "auto", | |
"spanNulls": false, | |
"stacking": { | |
"group": "A", | |
"mode": "none" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "percentage", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "#EAB839", | |
"value": 40 | |
}, | |
{ | |
"color": "dark-orange", | |
"value": 60 | |
}, | |
{ | |
"color": "dark-red", | |
"value": 85 | |
} | |
] | |
}, | |
"unit": "watt" | |
}, | |
"overrides": [ | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "dedi3" | |
}, | |
"properties": [ | |
{ | |
"id": "min", | |
"value": 0 | |
}, | |
{ | |
"id": "max", | |
"value": 250 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "dedi2" | |
}, | |
"properties": [ | |
{ | |
"id": "max", | |
"value": 500 | |
}, | |
{ | |
"id": "min", | |
"value": 0 | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 6, | |
"w": 12, | |
"x": 12, | |
"y": 0 | |
}, | |
"id": 20, | |
"options": { | |
"legend": { | |
"calcs": [], | |
"displayMode": "list", | |
"placement": "bottom", | |
"showLegend": false | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "9.1.6", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"expr": "sum(hpilo_power_supplies_reading{server_name=\"$server_name\", product_name!=\"Unknown HP Server\"}) by (server_name)", | |
"legendFormat": "{{server_name}}", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"title": "Power reading", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 5, | |
"x": 0, | |
"y": 4 | |
}, | |
"id": 4, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"firstNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "name" | |
}, | |
"pluginVersion": "9.1.6", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"exemplar": false, | |
"expr": "hpilo_firmware_version{server_name=\"$server_name\"}", | |
"instant": true, | |
"legendFormat": "{{product_name}}", | |
"range": false, | |
"refId": "A" | |
} | |
], | |
"title": "Server hardware", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 3, | |
"x": 5, | |
"y": 4 | |
}, | |
"id": 9, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.1.6", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"expr": "hpilo_firmware_version{server_name=\"$server_name\", product_name!=\"Unknown HP Server\"}", | |
"legendFormat": "__auto", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"title": "iLO version", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisCenteredZero": false, | |
"axisColorMode": "text", | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"axisSoftMin": 0, | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 0, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "smooth", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "auto", | |
"spanNulls": false, | |
"stacking": { | |
"group": "A", | |
"mode": "none" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "celsius" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 0, | |
"y": 6 | |
}, | |
"id": 7, | |
"options": { | |
"legend": { | |
"calcs": [ | |
"max", | |
"lastNotNull", | |
"diff" | |
], | |
"displayMode": "table", | |
"placement": "right", | |
"showLegend": true, | |
"sortBy": "Max", | |
"sortDesc": true | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"expr": "sum(hpilo_temperature_detail{server_name=\"$server_name\", product_name!=\"Unknown HP Server\"}) by (server_name, label)", | |
"legendFormat": "{{server_name}} {{label}}", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"title": "Components Temperature", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [ | |
{ | |
"options": { | |
"0": { | |
"color": "semi-dark-green", | |
"index": 0, | |
"text": "OK" | |
}, | |
"1": { | |
"color": "semi-dark-yellow", | |
"index": 1, | |
"text": "Degraded" | |
}, | |
"2": { | |
"color": "dark-red", | |
"index": 2, | |
"text": "Dead/Other" | |
} | |
}, | |
"type": "value" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 12, | |
"y": 6 | |
}, | |
"id": 12, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "value_and_name" | |
}, | |
"pluginVersion": "9.1.6", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"expr": "hpilo_battery{server_name=\"$server_name\", product_name!=\"Unknown HP Server\"}", | |
"hide": true, | |
"legendFormat": "{{__name__}}", | |
"range": true, | |
"refId": "A" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"expr": "hpilo_storage{server_name=\"$server_name\", product_name!=\"Unknown HP Server\"}", | |
"hide": false, | |
"legendFormat": "{{__name__}}", | |
"range": true, | |
"refId": "B" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"expr": "hpilo_fans{server_name=\"$server_name\", product_name!=\"Unknown HP Server\"}", | |
"hide": false, | |
"legendFormat": "{{__name__}}", | |
"range": true, | |
"refId": "C" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"expr": "hpilo_bios_hardware{server_name=\"$server_name\", product_name!=\"Unknown HP Server\"}", | |
"hide": false, | |
"legendFormat": "{{__name__}}", | |
"range": true, | |
"refId": "D" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"expr": "hpilo_memory{server_name=\"$server_name\", product_name!=\"Unknown HP Server\"}", | |
"hide": false, | |
"legendFormat": "{{__name__}}", | |
"range": true, | |
"refId": "E" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"expr": "hpilo_power_supplies{server_name=\"$server_name\", product_name!=\"Unknown HP Server\"}", | |
"hide": false, | |
"legendFormat": "{{__name__}}", | |
"range": true, | |
"refId": "F" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"expr": "hpilo_processor{server_name=\"$server_name\", product_name!=\"Unknown HP Server\"}", | |
"hide": false, | |
"legendFormat": "{{__name__}}", | |
"range": true, | |
"refId": "G" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"expr": "hpilo_network{server_name=\"$server_name\", product_name!=\"Unknown HP Server\"}", | |
"hide": false, | |
"legendFormat": "{{__name__}}", | |
"range": true, | |
"refId": "H" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"expr": "hpilo_temperature{server_name=\"$server_name\", product_name!=\"Unknown HP Server\"}", | |
"hide": false, | |
"legendFormat": "{{__name__}}", | |
"range": true, | |
"refId": "I" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"expr": "hpilo_vrm{server_name=\"$server_name\", product_name!=\"Unknown HP Server\"}", | |
"hide": false, | |
"legendFormat": "{{__name__}}", | |
"range": true, | |
"refId": "J" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"expr": "hpilo_drive{server_name=\"$server_name\", product_name!=\"Unknown HP Server\"}", | |
"hide": true, | |
"legendFormat": "{{__name__}}", | |
"range": true, | |
"refId": "K" | |
} | |
], | |
"title": "Overall health", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
} | |
] | |
}, | |
"unit": "decgbytes" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 3, | |
"x": 0, | |
"y": 15 | |
}, | |
"id": 22, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.1.6", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"expr": "sum(hpilo_memory_detail{server_name=\"$server_name\", product_name!=\"Unknown HP Server\"})", | |
"legendFormat": "Total memory", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"title": "Total memory", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
} | |
] | |
}, | |
"unit": "decgbytes" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 3, | |
"x": 3, | |
"y": 15 | |
}, | |
"id": 23, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "name" | |
}, | |
"pluginVersion": "9.1.6", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"exemplar": false, | |
"expr": "topk(1, hpilo_memory_detail{server_name=\"$server_name\", product_name!=\"Unknown HP Server\"})", | |
"format": "time_series", | |
"instant": false, | |
"legendFormat": "{{operating_frequency}}", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"title": "Memory speed", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 6, | |
"x": 6, | |
"y": 15 | |
}, | |
"id": 28, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "name" | |
}, | |
"pluginVersion": "9.1.6", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"expr": "sum(hpilo_power_supplies_detail{capacity_w!=\"0\", server_name=\"$server_name\", product_name!=\"Unknown HP Server\"}) by (psu_id, capacity_w)", | |
"legendFormat": "PSU {{psu_id}} - {{capacity_w}} W", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"title": "PSU status", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [], | |
"max": 100, | |
"min": 0, | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
} | |
] | |
}, | |
"unit": "percent" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 13, | |
"w": 12, | |
"x": 12, | |
"y": 15 | |
}, | |
"id": 17, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.1.6", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"expr": "sum(hpilo_fans_speed_percent{server_name=\"$server_name\"}) by (fan_id)", | |
"legendFormat": "Fan {{fan_id}}", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"title": "Fan speed", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "decgbytes" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 4, | |
"w": 8, | |
"x": 0, | |
"y": 18 | |
}, | |
"id": 24, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "name" | |
}, | |
"pluginVersion": "9.1.6", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"exemplar": false, | |
"expr": "topk(1, hpilo_processor_detail{server_name=\"$server_name\", product_name!=\"Unknown HP Server\"})", | |
"format": "time_series", | |
"instant": false, | |
"legendFormat": "{{name}}", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"title": "CPU name", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 4, | |
"w": 4, | |
"x": 8, | |
"y": 18 | |
}, | |
"id": 25, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.1.6", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"exemplar": false, | |
"expr": "count(hpilo_processor_detail{server_name=\"$server_name\", product_name!=\"Unknown HP Server\"})", | |
"format": "time_series", | |
"instant": false, | |
"legendFormat": "__auto", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"title": "CPU socket", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [ | |
{ | |
"options": { | |
"0": { | |
"color": "dark-red", | |
"index": 1, | |
"text": "Failure" | |
}, | |
"1": { | |
"color": "dark-green", | |
"index": 0, | |
"text": "Good" | |
} | |
}, | |
"type": "value" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 6, | |
"w": 12, | |
"x": 0, | |
"y": 22 | |
}, | |
"id": 27, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "value_and_name" | |
}, | |
"pluginVersion": "9.1.6", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"editorMode": "code", | |
"expr": "hpilo_power_supplies_detail{server_name=\"$server_name\", product_name!=\"Unknown HP Server\"}", | |
"legendFormat": "{{label}} - {{status}}", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"title": "PSU status", | |
"type": "stat" | |
} | |
], | |
"refresh": false, | |
"schemaVersion": 37, | |
"style": "dark", | |
"tags": [], | |
"templating": { | |
"list": [ | |
{ | |
"current": { | |
"selected": false, | |
"text": "dedi2", | |
"value": "dedi2" | |
}, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "ME26p0jnz" | |
}, | |
"definition": "label_values(hpilo_bios_hardware, server_name)", | |
"hide": 0, | |
"includeAll": false, | |
"label": "Server", | |
"multi": false, | |
"name": "server_name", | |
"options": [], | |
"query": { | |
"query": "label_values(hpilo_bios_hardware, server_name)", | |
"refId": "StandardVariableQuery" | |
}, | |
"refresh": 1, | |
"regex": "dedi.*", | |
"skipUrlSync": false, | |
"sort": 0, | |
"type": "query" | |
} | |
] | |
}, | |
"time": { | |
"from": "2023-01-14T19:57:03.413Z", | |
"to": "2023-01-15T07:57:16.340Z" | |
}, | |
"timepicker": {}, | |
"timezone": "", | |
"title": "HP iLO", | |
"uid": "7Kh-LB4Vk", | |
"version": 40, | |
"weekStart": "" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment