sysmon/doc/Sysmon - Process Explorer.json

1054 lines
24 KiB
JSON
Raw Normal View History

2021-09-07 09:14:08 +00:00
{
2022-10-28 08:49:17 +00:00
"__inputs": [
{
"name": "DS_SYSMON",
"label": "sysmon",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.1.6"
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
2021-09-07 09:14:08 +00:00
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
2021-09-07 09:14:08 +00:00
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
2021-09-10 10:15:33 +00:00
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
2021-09-07 09:14:08 +00:00
"type": "dashboard"
}
]
},
2022-08-20 08:02:05 +00:00
"description": "https://bitbucket.org/mnellemann/sysmon/ - Metrics from within host / guest / partition.",
2021-09-07 09:14:08 +00:00
"editable": true,
2022-08-20 08:02:05 +00:00
"fiscalYearStartMonth": 0,
2021-09-07 09:14:08 +00:00
"graphTooltip": 0,
2022-10-28 08:49:17 +00:00
"id": null,
2021-09-07 09:14:08 +00:00
"links": [],
2022-08-20 08:02:05 +00:00
"liveNow": false,
2021-09-07 09:14:08 +00:00
"panels": [
{
"datasource": {
"type": "influxdb",
2022-10-28 08:49:17 +00:00
"uid": "${DS_SYSMON}"
},
"gridPos": {
"h": 3,
"w": 24,
"x": 0,
"y": 0
},
"id": 30,
"options": {
"content": "## Metrics are collected by an agent running inside of each LPAR / VM / Host.\n \n For more information: [bitbucket.org/mnellemann/sysmon](https://bitbucket.org/mnellemann/sysmon)\n ",
"mode": "markdown"
},
2022-10-28 08:17:51 +00:00
"pluginVersion": "9.1.6",
"targets": [
{
"datasource": {
"type": "influxdb",
2022-10-28 08:49:17 +00:00
"uid": "${DS_SYSMON}"
},
"refId": "A"
}
],
"transparent": true,
"type": "text"
},
2021-09-07 09:14:08 +00:00
{
"collapsed": false,
"datasource": {
"type": "influxdb",
"uid": "5KYZifB7z"
},
2021-09-07 09:14:08 +00:00
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 3
2021-09-07 09:14:08 +00:00
},
"id": 4,
"panels": [],
"repeat": "hostname",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "5KYZifB7z"
},
"refId": "A"
}
],
2021-09-07 09:14:08 +00:00
"title": "${hostname}",
"type": "row"
},
{
2022-08-20 08:02:05 +00:00
"datasource": {
"type": "influxdb",
2022-10-28 08:49:17 +00:00
"uid": "${DS_SYSMON}"
2022-08-20 08:02:05 +00:00
},
2021-09-07 09:14:08 +00:00
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "fixed"
},
"custom": {
"align": "left",
"displayMode": "auto",
"inspect": false
2021-09-07 09:14:08 +00:00
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "string"
},
"overrides": []
2021-09-07 09:14:08 +00:00
},
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 4
2021-09-07 09:14:08 +00:00
},
"id": 16,
"options": {
2022-08-20 08:02:05 +00:00
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": []
2021-09-07 09:14:08 +00:00
},
2022-10-28 08:17:51 +00:00
"pluginVersion": "9.1.6",
2021-09-07 09:14:08 +00:00
"targets": [
{
"datasource": {
"type": "influxdb",
2022-10-28 08:49:17 +00:00
"uid": "${DS_SYSMON}"
},
"groupBy": [
{
"params": [
"pid"
],
"type": "tag"
}
],
2021-09-07 09:14:08 +00:00
"measurement": "base_process",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "table",
2021-09-07 09:14:08 +00:00
"select": [
[
{
"params": [
"user"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
2021-09-07 09:14:08 +00:00
{
"params": [
"user"
],
"type": "alias"
}
],
[
{
"params": [
"group"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
2021-09-07 09:14:08 +00:00
{
"params": [
"group"
],
"type": "alias"
}
],
[
{
"params": [
"prio"
2021-09-07 09:14:08 +00:00
],
"type": "field"
},
{
"params": [],
"type": "last"
},
2021-09-07 09:14:08 +00:00
{
"params": [
"priority"
2021-09-07 09:14:08 +00:00
],
"type": "alias"
}
]
],
"tags": [
{
"key": "hostname",
"operator": "=~",
"value": "/^$hostname$/"
},
{
"condition": "AND",
"key": "name",
"operator": "=~",
"value": "/^$process$/"
},
{
"condition": "AND",
"key": "pid",
"operator": "=~",
"value": "/^$pid$/"
}
]
}
],
"title": "Details",
"type": "table"
2021-09-07 09:14:08 +00:00
},
{
2022-08-20 08:02:05 +00:00
"datasource": {
"type": "influxdb",
2022-10-28 08:49:17 +00:00
"uid": "${DS_SYSMON}"
2022-08-20 08:02:05 +00:00
},
2021-09-07 09:14:08 +00:00
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
2021-09-07 09:14:08 +00:00
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "bytes"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "base_process.rss"
},
"properties": [
{
"id": "displayName",
"value": "Resident"
}
]
},
{
"matcher": {
"id": "byName",
"options": "base_process.vsz"
2021-09-07 09:14:08 +00:00
},
"properties": [
{
"id": "displayName",
"value": "Virtual"
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 7,
"x": 12,
"y": 4
2021-09-07 09:14:08 +00:00
},
"id": 19,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
2022-10-28 08:17:51 +00:00
"pluginVersion": "9.1.6",
2021-09-07 09:14:08 +00:00
"targets": [
{
2022-08-20 08:02:05 +00:00
"datasource": {
"type": "influxdb",
2022-10-28 08:49:17 +00:00
"uid": "${DS_SYSMON}"
2022-08-20 08:02:05 +00:00
},
2021-09-07 09:14:08 +00:00
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
2022-08-20 08:02:05 +00:00
"null"
2021-09-07 09:14:08 +00:00
],
"type": "fill"
}
],
"measurement": "base_process",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"mem_rss"
],
"type": "field"
},
{
"params": [],
"type": "sum"
2021-09-07 09:14:08 +00:00
},
{
"params": [
"rss"
],
"type": "alias"
}
],
[
{
"params": [
"mem_vsz"
2021-09-07 09:14:08 +00:00
],
"type": "field"
},
{
"params": [],
"type": "sum"
2021-09-07 09:14:08 +00:00
},
{
"params": [
"vsz"
2021-09-07 09:14:08 +00:00
],
"type": "alias"
}
]
],
"tags": [
{
"key": "hostname",
"operator": "=~",
"value": "/^$hostname$/"
},
{
"condition": "AND",
"key": "name",
"operator": "=~",
"value": "/^$process$/"
},
{
"condition": "AND",
"key": "pid",
"operator": "=~",
"value": "/^$pid$/"
}
]
}
],
"title": "Memory Metrics",
"type": "stat"
},
{
2022-08-20 08:02:05 +00:00
"datasource": {
"type": "influxdb",
2022-10-28 08:49:17 +00:00
"uid": "${DS_SYSMON}"
2022-08-20 08:02:05 +00:00
},
2021-09-07 09:14:08 +00:00
"fieldConfig": {
"defaults": {
"color": {
2021-09-10 10:15:33 +00:00
"mode": "thresholds"
2021-09-07 09:14:08 +00:00
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "bytes"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "base_process.read"
},
"properties": [
{
"id": "displayName",
"value": "Read Bytes"
}
]
},
{
"matcher": {
"id": "byName",
"options": "base_process.write"
},
"properties": [
{
"id": "displayName",
"value": "Write Bytes"
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 5,
"x": 19,
"y": 4
2021-09-07 09:14:08 +00:00
},
"id": 26,
"options": {
2021-09-10 10:15:33 +00:00
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
2021-09-07 09:14:08 +00:00
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
2021-09-10 10:15:33 +00:00
"text": {},
"textMode": "auto"
2021-09-07 09:14:08 +00:00
},
2022-10-28 08:17:51 +00:00
"pluginVersion": "9.1.6",
2021-09-07 09:14:08 +00:00
"targets": [
{
2022-08-20 08:02:05 +00:00
"datasource": {
"type": "influxdb",
2022-10-28 08:49:17 +00:00
"uid": "${DS_SYSMON}"
2022-08-20 08:02:05 +00:00
},
2021-09-07 09:14:08 +00:00
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
2022-08-20 08:02:05 +00:00
"null"
2021-09-07 09:14:08 +00:00
],
"type": "fill"
}
],
"measurement": "base_process",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"read_bytes"
],
"type": "field"
},
{
"params": [],
"type": "sum"
2021-09-07 09:14:08 +00:00
},
{
"params": [
"read"
],
"type": "alias"
}
],
[
{
"params": [
"write_bytes"
],
"type": "field"
},
{
"params": [],
"type": "sum"
2021-09-07 09:14:08 +00:00
},
{
"params": [
"write"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "hostname",
"operator": "=~",
"value": "/^$hostname$/"
},
{
"condition": "AND",
"key": "name",
"operator": "=~",
"value": "/^$process$/"
},
{
"condition": "AND",
"key": "pid",
"operator": "=~",
"value": "/^$pid$/"
}
]
}
],
"title": "Disk Metrics",
2021-09-10 10:15:33 +00:00
"type": "stat"
2021-09-07 09:14:08 +00:00
},
{
2022-08-20 08:02:05 +00:00
"datasource": {
"type": "influxdb",
2022-10-28 08:49:17 +00:00
"uid": "${DS_SYSMON}"
2022-08-20 08:02:05 +00:00
},
2021-09-07 09:14:08 +00:00
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
2022-10-28 08:17:51 +00:00
"axisCenteredZero": false,
"axisColorMode": "text",
2021-09-07 09:14:08 +00:00
"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": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "dtdurationms"
},
"overrides": []
},
"gridPos": {
"h": 11,
"w": 12,
"x": 0,
"y": 10
2021-09-07 09:14:08 +00:00
},
"id": 24,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
2022-10-28 08:17:51 +00:00
"placement": "bottom",
"showLegend": true
2021-09-07 09:14:08 +00:00
},
"tooltip": {
2022-08-20 08:02:05 +00:00
"mode": "multi",
"sort": "none"
2021-09-07 09:14:08 +00:00
}
},
"pluginVersion": "8.0.6",
"targets": [
{
"alias": "$col",
"datasource": {
"type": "influxdb",
2022-10-28 08:49:17 +00:00
"uid": "${DS_SYSMON}"
},
2021-09-07 09:14:08 +00:00
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "base_process",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT non_negative_difference(sum(last(\"user_time\"),last(\"kernel_time\"))) FROM \"base_process\" WHERE (\"hostname\" =~ /^$hostname$/) AND $timeFilter GROUP BY time($__interval), \"pid\", \"name\" fill(null)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"user_time"
],
"type": "field"
},
{
"params": [],
"type": "sum"
2021-09-07 09:14:08 +00:00
},
{
"params": [],
"type": "non_negative_difference"
},
{
"params": [
"user"
],
"type": "alias"
}
],
[
{
"params": [
"kernel_time"
],
"type": "field"
},
{
"params": [],
"type": "sum"
2021-09-07 09:14:08 +00:00
},
{
"params": [],
"type": "non_negative_difference"
},
{
"params": [
"kernel"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "hostname",
"operator": "=~",
"value": "/^$hostname$/"
},
{
"condition": "AND",
"key": "name",
"operator": "=~",
"value": "/^$process$/"
},
{
"condition": "AND",
"key": "pid",
"operator": "=~",
"value": "/^$pid$/"
}
]
}
],
"title": "Processor Time",
"type": "timeseries"
},
{
2022-08-20 08:02:05 +00:00
"datasource": {
"type": "influxdb",
2022-10-28 08:49:17 +00:00
"uid": "${DS_SYSMON}"
2022-08-20 08:02:05 +00:00
},
2021-09-07 09:14:08 +00:00
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
2022-10-28 08:17:51 +00:00
"axisCenteredZero": false,
"axisColorMode": "text",
2021-09-07 09:14:08 +00:00
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 11,
"w": 12,
"x": 12,
"y": 10
2021-09-07 09:14:08 +00:00
},
"id": 25,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
2022-10-28 08:17:51 +00:00
"placement": "bottom",
"showLegend": true
2021-09-07 09:14:08 +00:00
},
"tooltip": {
2022-08-20 08:02:05 +00:00
"mode": "multi",
"sort": "none"
2021-09-07 09:14:08 +00:00
}
},
"pluginVersion": "8.0.6",
"targets": [
{
"alias": "$col",
"datasource": {
"type": "influxdb",
2022-10-28 08:49:17 +00:00
"uid": "${DS_SYSMON}"
},
2021-09-07 09:14:08 +00:00
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "base_process",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT sum(non_negative_derivative(mean(\"user_time\"), 30s), non_negative_derivative(mean(\"user_time\"), 30s)) FROM \"base_process\" WHERE (\"hostname\" =~ /^$hostname$/) AND $timeFilter GROUP BY time($__interval), \"pid\", \"name\" fill(null)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"files"
],
"type": "field"
},
{
"params": [],
"type": "sum"
2021-09-07 09:14:08 +00:00
},
{
"params": [
"files"
],
"type": "alias"
}
],
[
{
"params": [
"threads"
],
"type": "field"
},
{
"params": [],
"type": "sum"
2021-09-07 09:14:08 +00:00
},
{
"params": [
"threads"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "hostname",
"operator": "=~",
"value": "/^$hostname$/"
},
{
"condition": "AND",
"key": "name",
"operator": "=~",
"value": "/^$process$/"
},
{
"condition": "AND",
"key": "pid",
"operator": "=~",
"value": "/^$pid$/"
}
]
}
],
"title": "Threads & Open Files",
"type": "timeseries"
}
],
"refresh": "1m",
2022-10-28 08:17:51 +00:00
"schemaVersion": 37,
2021-09-07 09:14:08 +00:00
"style": "dark",
"tags": [],
"templating": {
"list": [
{
2022-10-28 08:49:17 +00:00
"current": {},
2022-08-20 08:02:05 +00:00
"datasource": {
"type": "influxdb",
2022-10-28 08:49:17 +00:00
"uid": "${DS_SYSMON}"
2022-08-20 08:02:05 +00:00
},
2021-09-07 09:14:08 +00:00
"definition": "SHOW TAG VALUES FROM \"base_memory\" WITH KEY = \"hostname\" WHERE time > now() - 60m",
"hide": 0,
"includeAll": false,
"label": "Host",
"multi": false,
"name": "hostname",
"options": [],
"query": "SHOW TAG VALUES FROM \"base_memory\" WITH KEY = \"hostname\" WHERE time > now() - 60m",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
2021-09-10 10:15:33 +00:00
"sort": 5,
2021-09-07 09:14:08 +00:00
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
2022-10-28 08:49:17 +00:00
"current": {},
2022-08-20 08:02:05 +00:00
"datasource": {
"type": "influxdb",
2022-10-28 08:49:17 +00:00
"uid": "${DS_SYSMON}"
2022-08-20 08:02:05 +00:00
},
2021-09-07 09:14:08 +00:00
"definition": "SHOW TAG VALUES FROM \"base_process\" WITH KEY = \"name\" WHERE hostname =~ /$hostname/AND time > now() - 60m",
"hide": 0,
"includeAll": false,
"label": "Process",
"multi": false,
"name": "process",
"options": [],
"query": "SHOW TAG VALUES FROM \"base_process\" WITH KEY = \"name\" WHERE hostname =~ /$hostname/AND time > now() - 60m",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
2021-09-10 10:15:33 +00:00
"sort": 5,
2021-09-07 09:14:08 +00:00
"type": "query"
},
{
2022-10-28 08:49:17 +00:00
"current": {},
2022-08-20 08:02:05 +00:00
"datasource": {
"type": "influxdb",
2022-10-28 08:49:17 +00:00
"uid": "${DS_SYSMON}"
2022-08-20 08:02:05 +00:00
},
2021-09-10 10:15:33 +00:00
"definition": "SELECT DISTINCT(\"pid\") FROM (SELECT * FROM \"base_process\" WHERE time > now() - 60m AND \"hostname\" =~ /$hostname/ AND \"name\" =~ /$process/)",
2021-09-07 09:14:08 +00:00
"hide": 0,
"includeAll": true,
"label": "PID",
"multi": false,
"name": "pid",
"options": [],
2021-09-10 10:15:33 +00:00
"query": "SELECT DISTINCT(\"pid\") FROM (SELECT * FROM \"base_process\" WHERE time > now() - 60m AND \"hostname\" =~ /$hostname/ AND \"name\" =~ /$process/)",
"refresh": 2,
2021-09-07 09:14:08 +00:00
"regex": "",
"skipUrlSync": false,
2021-09-10 10:15:33 +00:00
"sort": 3,
2021-09-07 09:14:08 +00:00
"type": "query"
}
]
},
"time": {
2021-09-10 10:15:33 +00:00
"from": "now-6h",
2021-09-07 09:14:08 +00:00
"to": "now-30s"
},
"timepicker": {
"nowDelay": "30s",
"refresh_intervals": [
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
2022-10-28 08:17:51 +00:00
"title": "Sysmon - Process Explorer",
2021-09-07 09:14:08 +00:00
"uid": "Vjut5mS7k",
2022-10-28 08:49:17 +00:00
"version": 3,
2022-08-20 08:02:05 +00:00
"weekStart": ""
2021-09-07 09:14:08 +00:00
}