2021-09-07 09:14:08 +00:00
{
"__inputs" : [
{
"name" : "DS_INFLUXDB-SYSMON" ,
"label" : "InfluxDB-sysmon" ,
"description" : "" ,
"type" : "datasource" ,
"pluginId" : "influxdb" ,
"pluginName" : "InfluxDB"
}
] ,
"__requires" : [
{
"type" : "grafana" ,
"id" : "grafana" ,
"name" : "Grafana" ,
2021-09-22 13:46:48 +00:00
"version" : "8.1.4"
2021-09-07 09:14:08 +00:00
} ,
{
"type" : "datasource" ,
"id" : "influxdb" ,
"name" : "InfluxDB" ,
"version" : "1.0.0"
} ,
{
"type" : "panel" ,
"id" : "stat" ,
"name" : "Stat" ,
"version" : ""
} ,
2021-09-07 11:24:38 +00:00
{
"type" : "panel" ,
"id" : "table" ,
"name" : "Table" ,
"version" : ""
} ,
2021-09-22 13:46:48 +00:00
{
"type" : "panel" ,
"id" : "text" ,
"name" : "Text" ,
"version" : ""
} ,
2021-09-07 09:14:08 +00:00
{
"type" : "panel" ,
"id" : "timeseries" ,
"name" : "Time series" ,
"version" : ""
}
] ,
"annotations" : {
"list" : [
{
"builtIn" : 1 ,
"datasource" : "-- Grafana --" ,
"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"
}
]
} ,
"description" : "Metrics from within host / guest / partition." ,
"editable" : true ,
"gnetId" : null ,
"graphTooltip" : 0 ,
"id" : null ,
2021-09-22 13:46:48 +00:00
"iteration" : 1632317604857 ,
2021-09-07 09:14:08 +00:00
"links" : [ ] ,
"panels" : [
2021-09-22 13:46:48 +00:00
{
"datasource" : null ,
"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"
} ,
"pluginVersion" : "8.1.4" ,
"transparent" : true ,
"type" : "text"
} ,
2021-09-07 09:14:08 +00:00
{
"collapsed" : false ,
"datasource" : null ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2021-09-22 13:46:48 +00:00
"y" : 3
2021-09-07 09:14:08 +00:00
} ,
"id" : 4 ,
"panels" : [ ] ,
"repeat" : "hostname" ,
"title" : "${hostname}" ,
"type" : "row"
} ,
{
"datasource" : "${DS_INFLUXDB-SYSMON}" ,
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
2021-09-07 11:24:38 +00:00
"mode" : "fixed"
} ,
"custom" : {
"align" : "left" ,
"displayMode" : "auto"
2021-09-07 09:14:08 +00:00
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
2021-09-07 11:24:38 +00:00
"unit" : "string"
} ,
"overrides" : [ ]
2021-09-07 09:14:08 +00:00
} ,
"gridPos" : {
"h" : 6 ,
"w" : 12 ,
"x" : 0 ,
2021-09-22 13:46:48 +00:00
"y" : 4
2021-09-07 09:14:08 +00:00
} ,
"id" : 16 ,
"options" : {
2021-09-07 11:24:38 +00:00
"showHeader" : true ,
"sortBy" : [ ]
2021-09-07 09:14:08 +00:00
} ,
2021-09-22 13:46:48 +00:00
"pluginVersion" : "8.1.4" ,
2021-09-07 09:14:08 +00:00
"targets" : [
{
2021-09-07 11:24:38 +00:00
"groupBy" : [
{
"params" : [
"pid"
] ,
"type" : "tag"
}
] ,
2021-09-07 09:14:08 +00:00
"measurement" : "base_process" ,
"orderByTime" : "ASC" ,
"policy" : "default" ,
"refId" : "A" ,
2021-09-07 11:24:38 +00:00
"resultFormat" : "table" ,
2021-09-07 09:14:08 +00:00
"select" : [
[
{
"params" : [
"user"
] ,
"type" : "field"
} ,
2021-09-07 11:24:38 +00:00
{
"params" : [ ] ,
"type" : "last"
} ,
2021-09-07 09:14:08 +00:00
{
"params" : [
"user"
] ,
"type" : "alias"
}
] ,
[
{
"params" : [
"group"
] ,
"type" : "field"
} ,
2021-09-07 11:24:38 +00:00
{
"params" : [ ] ,
"type" : "last"
} ,
2021-09-07 09:14:08 +00:00
{
"params" : [
"group"
] ,
"type" : "alias"
}
] ,
[
{
"params" : [
2021-09-07 11:24:38 +00:00
"prio"
2021-09-07 09:14:08 +00:00
] ,
"type" : "field"
} ,
2021-09-07 11:24:38 +00:00
{
"params" : [ ] ,
"type" : "last"
} ,
2021-09-07 09:14:08 +00:00
{
"params" : [
2021-09-07 11:24:38 +00:00
"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$/"
}
]
}
] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Details" ,
2021-09-07 11:24:38 +00:00
"type" : "table"
2021-09-07 09:14:08 +00:00
} ,
{
"datasource" : "${DS_INFLUXDB-SYSMON}" ,
"fieldConfig" : {
"defaults" : {
"color" : {
2021-09-22 13:46:48 +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.rss"
} ,
"properties" : [
{
"id" : "displayName" ,
"value" : "Resident"
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
2021-09-07 11:24:38 +00:00
"options" : "base_process.vsz"
2021-09-07 09:14:08 +00:00
} ,
"properties" : [
{
"id" : "displayName" ,
"value" : "Virtual"
}
]
}
]
} ,
"gridPos" : {
"h" : 6 ,
"w" : 7 ,
"x" : 12 ,
2021-09-22 13:46:48 +00:00
"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"
} ,
2021-09-22 13:46:48 +00:00
"pluginVersion" : "8.1.4" ,
2021-09-07 09:14:08 +00:00
"targets" : [
{
"groupBy" : [
{
"params" : [
"$__interval"
] ,
"type" : "time"
} ,
{
"params" : [
"linear"
] ,
"type" : "fill"
}
] ,
"measurement" : "base_process" ,
"orderByTime" : "ASC" ,
"policy" : "default" ,
"refId" : "A" ,
"resultFormat" : "time_series" ,
"select" : [
[
{
"params" : [
"mem_rss"
] ,
"type" : "field"
} ,
{
"params" : [ ] ,
2021-09-07 11:24:38 +00:00
"type" : "sum"
2021-09-07 09:14:08 +00:00
} ,
{
"params" : [
"rss"
] ,
"type" : "alias"
}
] ,
[
{
"params" : [
2021-09-07 11:24:38 +00:00
"mem_vsz"
2021-09-07 09:14:08 +00:00
] ,
"type" : "field"
} ,
{
"params" : [ ] ,
2021-09-07 11:24:38 +00:00
"type" : "sum"
2021-09-07 09:14:08 +00:00
} ,
{
"params" : [
2021-09-07 11:24:38 +00:00
"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$/"
}
]
}
] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Memory Metrics" ,
"type" : "stat"
} ,
{
"datasource" : "${DS_INFLUXDB-SYSMON}" ,
"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 ,
2021-09-22 13:46:48 +00:00
"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
} ,
2021-09-22 13:46:48 +00:00
"pluginVersion" : "8.1.4" ,
2021-09-07 09:14:08 +00:00
"targets" : [
{
"groupBy" : [
{
"params" : [
"$__interval"
] ,
"type" : "time"
} ,
{
"params" : [
2021-09-07 11:24:38 +00:00
"previous"
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" : [ ] ,
2021-09-07 11:24:38 +00:00
"type" : "sum"
2021-09-07 09:14:08 +00:00
} ,
{
"params" : [
"read"
] ,
"type" : "alias"
}
] ,
[
{
"params" : [
"write_bytes"
] ,
"type" : "field"
} ,
{
"params" : [ ] ,
2021-09-07 11:24:38 +00:00
"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$/"
}
]
}
] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Disk Metrics" ,
2021-09-10 10:15:33 +00:00
"type" : "stat"
2021-09-07 09:14:08 +00:00
} ,
{
"datasource" : "${DS_INFLUXDB-SYSMON}" ,
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"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 ,
2021-09-22 13:46:48 +00:00
"y" : 10
2021-09-07 09:14:08 +00:00
} ,
"id" : 24 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom"
} ,
"tooltip" : {
"mode" : "multi"
}
} ,
"pluginVersion" : "8.0.6" ,
"targets" : [
{
"alias" : "$col" ,
"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" : [ ] ,
2021-09-07 11:24:38 +00:00
"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" : [ ] ,
2021-09-07 11:24:38 +00:00
"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"
} ,
{
"datasource" : "${DS_INFLUXDB-SYSMON}" ,
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"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 ,
2021-09-22 13:46:48 +00:00
"y" : 10
2021-09-07 09:14:08 +00:00
} ,
"id" : 25 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom"
} ,
"tooltip" : {
"mode" : "multi"
}
} ,
"pluginVersion" : "8.0.6" ,
"targets" : [
{
"alias" : "$col" ,
"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" : [ ] ,
2021-09-07 11:24:38 +00:00
"type" : "sum"
2021-09-07 09:14:08 +00:00
} ,
{
"params" : [
"files"
] ,
"type" : "alias"
}
] ,
[
{
"params" : [
"threads"
] ,
"type" : "field"
} ,
{
"params" : [ ] ,
2021-09-07 11:24:38 +00:00
"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" ,
"schemaVersion" : 30 ,
"style" : "dark" ,
"tags" : [ ] ,
"templating" : {
"list" : [
{
"allValue" : null ,
"current" : { } ,
"datasource" : "${DS_INFLUXDB-SYSMON}" ,
"definition" : "SHOW TAG VALUES FROM \"base_memory\" WITH KEY = \"hostname\" WHERE time > now() - 60m" ,
"description" : null ,
"error" : null ,
"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
} ,
{
"allValue" : null ,
"current" : { } ,
"datasource" : "${DS_INFLUXDB-SYSMON}" ,
"definition" : "SHOW TAG VALUES FROM \"base_process\" WITH KEY = \"name\" WHERE hostname =~ /$hostname/AND time > now() - 60m" ,
"description" : null ,
"error" : null ,
"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"
} ,
{
2021-09-10 10:15:33 +00:00
"allValue" : null ,
2021-09-07 09:14:08 +00:00
"current" : { } ,
"datasource" : "${DS_INFLUXDB-SYSMON}" ,
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
"description" : null ,
"error" : null ,
"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" : "" ,
"title" : "Sysmon - Process Explorer" ,
"uid" : "Vjut5mS7k" ,
2021-09-22 13:46:48 +00:00
"version" : 18
2021-09-07 09:14:08 +00:00
}