Skip to content

Instantly share code, notes, and snippets.

@hkboujrida
Last active December 17, 2025 13:45
Show Gist options
  • Select an option

  • Save hkboujrida/fbcbe82f6c5aa49db5f7bda5b458edc3 to your computer and use it in GitHub Desktop.

Select an option

Save hkboujrida/fbcbe82f6c5aa49db5f7bda5b458edc3 to your computer and use it in GitHub Desktop.
{
"annotations": {
"list": []
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": null,
"links": [],
"panels": [
{
"collapsed": false,
"gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 },
"id": 20,
"panels": [],
"title": "System Critical Health",
"type": "row"
},
{
"gridPos": { "h": 8, "w": 6, "x": 0, "y": 1 },
"id": 1,
"options": {
"reduceOptions": { "values": false, "calcs": ["lastNotNull"], "fields": "" },
"orientation": "auto",
"textMode": "auto",
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto"
},
"targets": [
{ "expr": "AVERAGE_CPU_RATE", "refId": "A" }
],
"title": "CPU Rate (%)",
"type": "stat",
"fieldConfig": {
"defaults": {
"unit": "percent",
"max": 100,
"thresholds": { "steps": [ { "color": "green", "value": null }, { "color": "orange", "value": 80 }, { "color": "red", "value": 90 } ] }
}
}
},
{
"gridPos": { "h": 8, "w": 6, "x": 6, "y": 1 },
"id": 2,
"options": {
"reduceOptions": { "values": false, "calcs": ["lastNotNull"], "fields": "" },
"orientation": "auto",
"textMode": "auto",
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto"
},
"targets": [
{ "expr": "SYSTEM_ASP_USED", "refId": "A" }
],
"title": "Disk Used (ASP)",
"type": "stat",
"fieldConfig": {
"defaults": {
"unit": "percent",
"max": 100,
"thresholds": { "steps": [ { "color": "green", "value": null }, { "color": "orange", "value": 75 }, { "color": "red", "value": 90 } ] }
}
}
},
{
"gridPos": { "h": 8, "w": 6, "x": 12, "y": 1 },
"id": 3,
"options": {
"reduceOptions": { "values": false, "calcs": ["lastNotNull"], "fields": "" },
"orientation": "auto",
"textMode": "auto",
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto"
},
"targets": [
{ "expr": "ACTIVE_JOBS_IN_SYSTEM", "refId": "A" }
],
"title": "Active Jobs",
"type": "stat",
"fieldConfig": { "defaults": { "color": { "mode": "thresholds" } } }
},
{
"gridPos": { "h": 8, "w": 6, "x": 18, "y": 1 },
"id": 4,
"options": {
"reduceOptions": { "values": false, "calcs": ["lastNotNull"], "fields": "" },
"orientation": "auto",
"textMode": "auto",
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto"
},
"targets": [
{ "expr": "INTERACTIVE_JOBS_IN_SYSTEM", "refId": "A" }
],
"title": "Interactive Jobs",
"type": "stat"
},
{
"collapsed": false,
"gridPos": { "h": 1, "w": 24, "x": 0, "y": 9 },
"id": 22,
"panels": [],
"title": "Performance Trends",
"type": "row"
},
{
"gridPos": { "h": 10, "w": 12, "x": 0, "y": 10 },
"id": 5,
"title": "CPU Utilization History",
"type": "timeseries",
"targets": [
{ "expr": "AVERAGE_CPU_RATE", "legendFormat": "Avg Rate", "refId": "A" },
{ "expr": "SQL_CPU_UTILIZATION", "legendFormat": "SQL CPU", "refId": "B" }
],
"fieldConfig": { "defaults": { "unit": "percent", "max": 100 } }
},
{
"gridPos": { "h": 10, "w": 12, "x": 12, "y": 10 },
"id": 6,
"title": "Job Volume",
"type": "timeseries",
"targets": [
{ "expr": "TOTAL_JOBS_IN_SYSTEM", "legendFormat": "Total Jobs", "refId": "A" },
{ "expr": "ACTIVE_JOBS_IN_SYSTEM", "legendFormat": "Active Jobs", "refId": "B" }
]
},
{
"collapsed": false,
"gridPos": { "h": 1, "w": 24, "x": 0, "y": 20 },
"id": 24,
"panels": [],
"title": "Storage & Capacity Details",
"type": "row"
},
{
"gridPos": { "h": 8, "w": 8, "x": 0, "y": 21 },
"id": 7,
"title": "Temporary Storage",
"type": "timeseries",
"targets": [
{ "expr": "CURRENT_TEMPORARY_STORAGE", "legendFormat": "Current Temp", "refId": "A" },
{ "expr": "MAXIMUM_TEMPORARY_STORAGE_USED", "legendFormat": "Max Temp", "refId": "B" }
],
"fieldConfig": { "defaults": { "unit": "decbytes" } }
},
{
"gridPos": { "h": 8, "w": 8, "x": 8, "y": 21 },
"id": 8,
"title": "Memory Info",
"type": "stat",
"targets": [
{ "expr": "MAIN_STORAGE_SIZE", "legendFormat": "Main Storage", "refId": "A" }
],
"fieldConfig": { "defaults": { "unit": "decbytes" } }
},
{
"gridPos": { "h": 8, "w": 8, "x": 16, "y": 21 },
"id": 9,
"title": "Partition Info",
"type": "stat",
"targets": [
{ "expr": "CONFIGURED_CPUS", "legendFormat": "Configured CPUs", "refId": "A" },
{ "expr": "NUMBER_OF_PARTITIONS", "legendFormat": "Num Partitions", "refId": "B" }
]
}
],
"schemaVersion": 38,
"style": "dark",
"tags": ["IBM i", "AS400", "JDBC"],
"templating": { "list": [] },
"time": { "from": "now-3h", "to": "now" },
"title": "IBM i System Status (Uppercase)",
"version": 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment