This commit is contained in:
m0duspwnens
2021-11-01 16:10:13 -04:00
parent 936c796b9d
commit f4d9455872
26 changed files with 3041 additions and 2888 deletions

View File

@@ -8,6 +8,7 @@
}, },
"type": "timeseries", "type": "timeseries",
"title": "Container CPU Usage Current", "title": "Container CPU Usage Current",
"transformations": [],
"datasource": "InfluxDB", "datasource": "InfluxDB",
"pluginVersion": "8.2.1", "pluginVersion": "8.2.1",
"interval": "30s", "interval": "30s",
@@ -67,6 +68,13 @@
{ {
"id": "custom.fillOpacity", "id": "custom.fillOpacity",
"value": 0 "value": 0
},
{
"id": "color",
"value": {
"mode": "fixed",
"fixedColor": "dark-red"
}
} }
] ]
} }
@@ -115,6 +123,7 @@
"type": "fill" "type": "fill"
} }
], ],
"hide": false,
"measurement": "docker_container_cpu", "measurement": "docker_container_cpu",
"orderByTime": "ASC", "orderByTime": "ASC",
"policy": "default", "policy": "default",
@@ -149,67 +158,65 @@
"operator": "=~", "operator": "=~",
"value": "/^$containers$/" "value": "/^$containers$/"
} }
], ]
"hide": false
}, },
{ {
"refId": "B", "alias": "$tag_host: n_cpus*100",
"hide": false,
"policy": "default",
"resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [
{
"key": "host",
"value": "/^$servername$/",
"operator": "=~"
}
],
"groupBy": [ "groupBy": [
{ {
"type": "time",
"params": [ "params": [
"$__interval" "$__interval"
] ],
"type": "time"
}, },
{ {
"type": "tag",
"params": [ "params": [
"host" "host"
] ],
"type": "tag"
}, },
{ {
"type": "fill",
"params": [ "params": [
"null" "null"
] ],
"type": "fill"
} }
], ],
"hide": false,
"measurement": "system",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [ "select": [
[ [
{ {
"type": "field",
"params": [ "params": [
"n_cpus" "n_cpus"
] ],
"type": "field"
}, },
{ {
"type": "last", "params": [],
"params": [] "type": "last"
}, },
{ {
"type": "math",
"params": [ "params": [
" * 100" " * 100"
] ],
"type": "math"
} }
] ]
], ],
"measurement": "system", "tags": [
"alias": "$tag_host: n_cpus*100" {
"key": "host",
"operator": "=~",
"value": "/^$servername$/"
}
]
} }
], ],
"transformations": [],
"maxDataPoints": null, "maxDataPoints": null,
"timeFrom": null, "timeFrom": null,
"timeShift": null "timeShift": null

View File

@@ -11,140 +11,6 @@
"datasource": "InfluxDB", "datasource": "InfluxDB",
"pluginVersion": "8.2.1", "pluginVersion": "8.2.1",
"interval": "30s", "interval": "30s",
"options": {
"tooltip": {
"mode": "single"
},
"legend": {
"displayMode": "table",
"placement": "right",
"calcs": [
"max",
"mean",
"lastNotNull"
]
}
},
"targets": [
{
"alias": "$tag_host: $tag_container_name",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"container_name"
],
"type": "tag"
},
{
"type": "tag",
"params": [
"host"
]
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "docker_container_cpu",
"orderByTime": "ASC",
"policy": "so_long_term",
"queryType": "randomWalk",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"type": "field",
"params": [
"mean_usage_percent"
]
},
{
"type": "mean",
"params": []
}
]
],
"tags": [
{
"key": "host",
"operator": "=~",
"value": "/^$servername$/"
},
{
"condition": "AND",
"key": "container_name",
"operator": "=~",
"value": "/^$containers$/"
}
]
},
{
"refId": "B",
"hide": false,
"policy": "so_long_term",
"resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [
{
"key": "host",
"value": "/^$servername$/",
"operator": "=~"
}
],
"groupBy": [
{
"type": "time",
"params": [
"$__interval"
]
},
{
"type": "tag",
"params": [
"host"
]
},
{
"type": "fill",
"params": [
"null"
]
}
],
"select": [
[
{
"type": "field",
"params": [
"mean_n_cpus"
]
},
{
"type": "last",
"params": []
},
{
"type": "math",
"params": [
" * 100"
]
}
]
],
"measurement": "system",
"alias": "$tag_host: n_cpus*100"
}
],
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"custom": { "custom": {
@@ -188,8 +54,8 @@
] ]
}, },
"mappings": [], "mappings": [],
"unit": "percent", "decimals": 1,
"decimals": 1 "unit": "percent"
}, },
"overrides": [ "overrides": [
{ {
@@ -201,13 +67,154 @@
{ {
"id": "custom.fillOpacity", "id": "custom.fillOpacity",
"value": 0 "value": 0
},
{
"id": "color",
"value": {
"mode": "fixed",
"fixedColor": "dark-red"
}
} }
] ]
} }
] ]
}, },
"maxDataPoints": null, "options": {
"tooltip": {
"mode": "single"
},
"legend": {
"displayMode": "table",
"placement": "right",
"calcs": [
"max",
"mean",
"lastNotNull"
]
}
},
"targets": [
{
"alias": "$tag_host: $tag_container_name",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"container_name"
],
"type": "tag"
},
{
"params": [
"host"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "docker_container_cpu",
"orderByTime": "ASC",
"policy": "so_long_term",
"queryType": "randomWalk",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"mean_usage_percent"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "host",
"operator": "=~",
"value": "/^$servername$/"
},
{
"condition": "AND",
"key": "container_name",
"operator": "=~",
"value": "/^$containers$/"
}
]
},
{
"alias": "$tag_host: n_cpus*100",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"host"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "system",
"orderByTime": "ASC",
"policy": "so_long_term",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"mean_n_cpus"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
" * 100"
],
"type": "math"
}
]
],
"tags": [
{
"key": "host",
"operator": "=~",
"value": "/^$servername$/"
}
]
}
],
"description": "", "description": "",
"maxDataPoints": null,
"timeFrom": null, "timeFrom": null,
"timeShift": null "timeShift": null
} }

View File

@@ -1,65 +1,69 @@
{ {
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "InfluxDB",
"editable": true,
"error": false,
"format": "percent",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"x": {{ PANELS.cpu_usage_guage.gridPos.x }},
"y": {{ PANELS.cpu_usage_guage.gridPos.y }},
"w": {{ PANELS.cpu_usage_guage.gridPos.w }},
"h": {{ PANELS.cpu_usage_guage.gridPos.h }}
},
"height": "150",
"id": 9, "id": 9,
"interval": null, "gridPos": {
"links": [], "x": {{ PANELS.cpu_usage_guage.gridPos.x }},
"mappingType": 1, "y": {{ PANELS.cpu_usage_guage.gridPos.y }},
"mappingTypes": [ "w": {{ PANELS.cpu_usage_guage.gridPos.w }},
{ "h": {{ PANELS.cpu_usage_guage.gridPos.h }}
"name": "value to text", },
"value": 1 "type": "gauge",
}, "title": "CPU usage",
{ "datasource": "InfluxDB",
"name": "range to text", "pluginVersion": "8.2.1",
"value": 2 "links": [],
} "fieldConfig": {
], "defaults": {
"maxDataPoints": 100, "thresholds": {
"nullPointMode": "connected", "mode": "absolute",
"nullText": null, "steps": [
"postfix": "", {
"postfixFontSize": "50%", "color": "rgba(50, 172, 45, 0.97)",
"prefix": "", "value": null
"prefixFontSize": "50%", },
"rangeMaps": [ {
{ "color": "rgba(237, 129, 40, 0.89)",
"from": "null", "value": 70
"text": "N/A", },
"to": "null" {
} "color": "rgba(245, 54, 54, 0.9)",
], "value": 80
"sparkline": { }
"fillColor": "rgba(31, 118, 189, 0.18)", ]
"full": false, },
"lineColor": "rgb(31, 120, 193)", "mappings": [
"show": false {
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"color": {
"mode": "thresholds"
},
"max": 100,
"min": 0,
"unit": "percent"
},
"overrides": []
},
"interval": "30",
"options": {
"reduceOptions": {
"values": false,
"calcs": [
"lastNotNull"
],
"fields": ""
},
"orientation": "horizontal",
"showThresholdLabels": false,
"showThresholdMarkers": true,
"text": {}
}, },
"tableColumn": "",
"targets": [ "targets": [
{ {
"dsType": "influxdb", "dsType": "influxdb",
@@ -104,8 +108,8 @@
"tags": [ "tags": [
{ {
"key": "host", "key": "host",
"operator": "=~", "operator": "=",
"value": "/^$servername$/" "value": "$servername"
}, },
{ {
"condition": "AND", "condition": "AND",
@@ -113,23 +117,10 @@
"operator": "=", "operator": "=",
"value": "cpu-total" "value": "cpu-total"
} }
] ],
"orderByTime": "ASC"
} }
], ],
"thresholds": "70,80,90", "maxDataPoints": null,
"title": "CPU usage", "cacheTimeout": null
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current",
"fieldConfig": {
"defaults": {},
"overrides": []
}
} }

View File

@@ -1,51 +1,30 @@
{ {
"aliasColors": {}, "id": 61871,
"dashLength": 10,
"datasource": "InfluxDB",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"fill": 1,
"gridPos": { "gridPos": {
"x": {{ PANELS.cpu_usage_tasks_all_graph.gridPos.x }}, "x": {{ PANELS.cpu_usage_tasks_all_graph.gridPos.x }},
"y": {{ PANELS.cpu_usage_tasks_all_graph.gridPos.y }}, "y": {{ PANELS.cpu_usage_tasks_all_graph.gridPos.y }},
"w": {{ PANELS.cpu_usage_tasks_all_graph.gridPos.w }}, "w": {{ PANELS.cpu_usage_tasks_all_graph.gridPos.w }},
"h": {{ PANELS.cpu_usage_tasks_all_graph.gridPos.h }} "h": {{ PANELS.cpu_usage_tasks_all_graph.gridPos.h }}
}, },
"id": 61871, "type": "timeseries",
"legend": { "title": "CPU Usage",
"alignAsTable": true, "datasource": "InfluxDB",
"avg": true, "pluginVersion": "8.2.1",
"current": true, "interval": "30s",
"hideEmpty": true,
"hideZero": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": { "options": {
"alertThreshold": true "tooltip": {
}, "mode": "single"
"pluginVersion": "7.5.4", },
"pointradius": 2, "legend": {
"renderer": "flot", "displayMode": "table",
"seriesOverrides": [ "placement": "right",
{ "calcs": [
"$$hashKey": "object:266", "max",
"alias": "/trend/", "mean",
"fill": 0, "lastNotNull"
"linewidth": 4, ]
"dashes": true,
"dashLength": 4
} }
], },
"spaceLength": 10,
"targets": [ "targets": [
{ {
"alias": "$tag_host: $col", "alias": "$tag_host: $col",
@@ -84,7 +63,8 @@
} }
] ]
], ],
"tags": [] "tags": [],
"hide": false
}, },
{ {
"alias": "$tag_host: $col", "alias": "$tag_host: $col",
@@ -102,9 +82,10 @@
"type": "fill" "type": "fill"
} }
], ],
"hide": false,
"orderByTime": "ASC", "orderByTime": "ASC",
"policy": "default", "policy": "default",
"query": "SELECT mean(mean_usage_user) as \"trend_user\", mean(mean_usage_system) as \"trend_system\", mean(mean_usage_softirq) as \"trend_softirq\", mean(mean_usage_steal) as \"trend_steal\", mean(mean_usage_nice) as \"trend_nice\", mean(mean_usage_irq) as \"trend_irq\", mean(mean_usage_iowait) as \"trend_iowait\", mean(mean_usage_guest) as \"trend_guest\", mean(mean_usage_guest_nice) as \"trend_guest_nice\" FROM \"so_long_term\".\"cpu\" WHERE \"host\" =~ /^$servername$/ and cpu = 'cpu-total' AND $timeFilter GROUP BY time($__interval), *", "query": "SELECT mean(mean_usage_user) as \"trend_user\", mean(mean_usage_system) as \"trend_system\", mean(mean_usage_softirq) as \"trend_softirq\", mean(mean_usage_steal) as \"trend_steal\", mean(mean_usage_nice) as \"trend_nice\", mean(mean_usage_irq) as \"trend_irq\", mean(mean_usage_iowait) as \"trend_iowait\", mean(mean_usage_guest) as \"trend_guest\", mean(mean_usage_guest_nice) as \"trend_guest_nice\" FROM \"so_long_term\".\"cpu\" WHERE \"host\" =~ /^$servername$/ and cpu = 'cpu-total' AND $timeFilter GROUP BY time($__interval), * fill(linear)",
"queryType": "randomWalk", "queryType": "randomWalk",
"rawQuery": true, "rawQuery": true,
"refId": "B", "refId": "B",
@@ -123,61 +104,90 @@
} }
] ]
], ],
"tags": [], "tags": []
"hide": false
} }
], ],
"thresholds": [], "fieldConfig": {
"timeRegions": [], "defaults": {
"title": "CPU Usage", "custom": {
"tooltip": { "drawStyle": "line",
"shared": true, "lineInterpolation": "linear",
"sort": 2, "barAlignment": 0,
"value_type": "individual" "lineWidth": 1,
}, "fillOpacity": 10,
"type": "graph", "gradientMode": "none",
"xaxis": { "spanNulls": false,
"buckets": null, "showPoints": "never",
"mode": "time", "pointSize": 5,
"name": null, "stacking": {
"show": true, "mode": "none",
"values": [] "group": "A"
}, },
"yaxes": [ "axisPlacement": "auto",
{ "axisLabel": "",
"$$hashKey": "object:202", "scaleDistribution": {
"decimals": null, "type": "linear"
"format": "percent", },
"label": null, "hideFrom": {
"logBase": 1, "tooltip": false,
"max": "100", "viz": false,
"min": "0", "legend": false
"show": true },
"thresholdsStyle": {
"mode": "off"
}
},
"color": {
"mode": "palette-classic"
},
"thresholds": {
"mode": "absolute",
"steps": [
{
"value": null,
"color": "green"
},
{
"value": 80,
"color": "red"
}
]
},
"mappings": [],
"unit": "percent",
"min": 0,
"decimals": 1
}, },
{ "overrides": [
"$$hashKey": "object:203", {
"format": "short", "matcher": {
"label": null, "id": "byRegexp",
"logBase": 1, "options": "/trend/"
"max": null, },
"min": null, "properties": [
"show": true {
} "id": "custom.fillOpacity",
], "value": 0
"yaxis": { },
"align": false, {
"alignLevel": null "id": "custom.lineWidth",
"value": 4
},
{
"id": "custom.lineStyle",
"value": {
"fill": "dash",
"dash": [
4,
10
]
}
}
]
}
]
}, },
"bars": false, "maxDataPoints": null,
"dashes": false,
"fillGradient": 0,
"hiddenSeries": false,
"percentage": false,
"points": false,
"stack": false,
"steppedLine": false,
"timeFrom": null, "timeFrom": null,
"timeShift": null, "timeShift": null
"maxDataPoints": 750,
"interval": "30s"
} }

View File

@@ -1,194 +1,189 @@
{ {
"aliasColors": {}, "id": 60200,
"maxDataPoints": 750, "gridPos": {
"interval": "30s", "x": {{ PANELS.disk_io_bytes_graph.gridPos.x }},
"bars": false, "y": {{ PANELS.disk_io_bytes_graph.gridPos.y }},
"dashLength": 10, "w": {{ PANELS.disk_io_bytes_graph.gridPos.w }},
"dashes": false, "h": {{ PANELS.disk_io_bytes_graph.gridPos.h }}
"datasource": "InfluxDB", },
"editable": true, "type": "timeseries",
"error": false, "title": "Disk I/O bytes for /dev/$disk",
"fieldConfig": { "datasource": "InfluxDB",
"defaults": { "pluginVersion": "8.2.1",
"links": [] "interval": "30s",
"links": [],
"fieldConfig": {
"defaults": {
"custom": {
"drawStyle": "line",
"lineInterpolation": "linear",
"barAlignment": 0,
"lineWidth": 1,
"fillOpacity": 10,
"gradientMode": "none",
"spanNulls": false,
"showPoints": "never",
"pointSize": 5,
"stacking": {
"mode": "none",
"group": "A"
}, },
"overrides": [] "axisPlacement": "auto",
}, "axisLabel": "",
"fill": 1, "scaleDistribution": {
"fillGradient": 0, "type": "linear"
"grid": {},
"gridPos": {
"x": {{ PANELS.disk_io_bytes_graph.gridPos.x }},
"y": {{ PANELS.disk_io_bytes_graph.gridPos.y }},
"w": {{ PANELS.disk_io_bytes_graph.gridPos.w }},
"h": {{ PANELS.disk_io_bytes_graph.gridPos.h }}
},
"hiddenSeries": false,
"id": 60200,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": true,
"max": true,
"min": false,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"maxPerRow": 6,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": null,
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [{
"alias": "$tag_host: $tag_name: $col",
"dsType": "influxdb",
"function": "mean",
"groupBy": [{
"interval": "auto",
"params": [
"auto"
],
"type": "time"
},
{
"key": "host",
"params": [
"tag"
],
"type": "tag"
},
{
"key": "path",
"params": [
"tag"
],
"type": "tag"
}
],
"measurement": "io_reads",
"policy": "default",
"query": "SELECT non_negative_derivative(mean(read_bytes),1s) as \"read\" FROM \"diskio\" WHERE \"host\" =~ /$servername$/ AND \"name\" =~ /$disk$/ AND $timeFilter GROUP BY time($__interval), *",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
"select": [
[{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}, },
{ "hideFrom": {
"alias": "$tag_host: $tag_name: $col", "tooltip": false,
"dsType": "influxdb", "viz": false,
"function": "mean", "legend": false
"groupBy": [{ },
"interval": "auto", "thresholdsStyle": {
"params": [ "mode": "off"
"auto"
],
"type": "time"
},
{
"key": "host",
"params": [
"tag"
],
"type": "tag"
},
{
"key": "path",
"params": [
"tag"
],
"type": "tag"
}
],
"measurement": "io_reads",
"policy": "default",
"query": "SELECT non_negative_derivative(mean(write_bytes),1s) as \"write\" FROM \"diskio\" WHERE \"host\" =~ /$servername$/ AND \"name\" =~ /$disk$/ AND $timeFilter GROUP BY time($__interval), *",
"rawQuery": true,
"refId": "C",
"resultFormat": "time_series",
"select": [
[{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
} }
], },
"thresholds": [], "color": {
"timeFrom": null, "mode": "palette-classic"
"timeRegions": [], },
"timeShift": null, "thresholds": {
"title": "Disk I/O bytes for /dev/$disk", "mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"mappings": [],
"links": [],
"unit": "bytes",
"decimals": 1
},
"overrides": []
},
"options": {
"tooltip": { "tooltip": {
"msResolution": false, "mode": "single"
"shared": true,
"sort": 0,
"value_type": "cumulative"
}, },
"type": "graph", "legend": {
"xaxis": { "displayMode": "table",
"buckets": null, "placement": "bottom",
"mode": "time", "calcs": [
"name": null, "max",
"show": true, "mean",
"values": [] "lastNotNull"
}, ]
"yaxes": [{ }
"format": "bytes", },
"logBase": 1, "targets": [
"max": null, {
"min": null, "alias": "$tag_host: $tag_name: $col",
"show": true "dsType": "influxdb",
"function": "mean",
"groupBy": [
{
"interval": "auto",
"params": [
"auto"
],
"type": "time"
}, },
{ {
"format": "short", "key": "host",
"logBase": 1, "params": [
"max": null, "tag"
"min": null, ],
"show": true "type": "tag"
},
{
"key": "path",
"params": [
"tag"
],
"type": "tag"
} }
], ],
"yaxis": { "measurement": "io_reads",
"align": false, "policy": "default",
"alignLevel": null "query": "SELECT non_negative_derivative(mean(read_bytes),1s) as \"read\" FROM \"diskio\" WHERE \"host\" =~ /$servername$/ AND \"name\" =~ /$disk$/ AND $timeFilter GROUP BY time($__interval), *",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
},
{
"alias": "$tag_host: $tag_name: $col",
"dsType": "influxdb",
"function": "mean",
"groupBy": [
{
"interval": "auto",
"params": [
"auto"
],
"type": "time"
},
{
"key": "host",
"params": [
"tag"
],
"type": "tag"
},
{
"key": "path",
"params": [
"tag"
],
"type": "tag"
}
],
"measurement": "io_reads",
"policy": "default",
"query": "SELECT non_negative_derivative(mean(write_bytes),1s) as \"write\" FROM \"diskio\" WHERE \"host\" =~ /$servername$/ AND \"name\" =~ /$disk$/ AND $timeFilter GROUP BY time($__interval), *",
"rawQuery": true,
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
} }
],
"scopedVars": {
"disk": {
"text": "sda",
"value": "sda",
"selected": false
}
},
"maxDataPoints": null,
"repeat": null,
"timeFrom": null,
"timeShift": null
} }

View File

@@ -1,193 +1,190 @@
{ {
"aliasColors": {}, "id": 13782,
"maxDataPoints": 750,
"interval": "30s",
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "InfluxDB",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"grid": {},
"gridPos": { "gridPos": {
"x": {{ PANELS.disk_io_requests_graph.gridPos.x }}, "x": {{ PANELS.disk_io_requests_graph.gridPos.x }},
"y": {{ PANELS.disk_io_requests_graph.gridPos.y }}, "y": {{ PANELS.disk_io_requests_graph.gridPos.y }},
"w": {{ PANELS.disk_io_requests_graph.gridPos.w }}, "w": {{ PANELS.disk_io_requests_graph.gridPos.w }},
"h": {{ PANELS.disk_io_requests_graph.gridPos.h }} "h": {{ PANELS.disk_io_requests_graph.gridPos.h }}
}, },
"hiddenSeries": false, "type": "timeseries",
"id": 13782, "title": "Disk I/O requests for /dev/$disk",
"legend": { "datasource": "InfluxDB",
"alignAsTable": true, "pluginVersion": "8.2.1",
"avg": true, "interval": "30s",
"current": true, "links": [],
"hideEmpty": true, "fieldConfig": {
"max": true, "defaults": {
"min": false, "custom": {
"rightSide": false, "drawStyle": "line",
"show": true, "lineInterpolation": "linear",
"sort": "current", "barAlignment": 0,
"sortDesc": true, "lineWidth": 1,
"total": false, "fillOpacity": 10,
"values": true "gradientMode": "none",
}, "spanNulls": false,
"lines": true, "showPoints": "never",
"linewidth": 1, "pointSize": 5,
"links": [], "stacking": {
"maxPerRow": 6, "mode": "none",
"nullPointMode": "connected", "group": "A"
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": null,
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [{
"alias": "$tag_host: $tag_name: $col",
"dsType": "influxdb",
"function": "mean",
"groupBy": [{
"interval": "auto",
"params": [
"auto"
],
"type": "time"
},
{
"key": "host",
"params": [
"tag"
],
"type": "tag"
},
{
"key": "path",
"params": [
"tag"
],
"type": "tag"
}
],
"measurement": "io_reads",
"policy": "default",
"query": "SELECT non_negative_derivative(mean(reads),1s) as \"read\" FROM \"diskio\" WHERE \"host\" =~ /$servername$/ AND \"name\" =~ /$disk$/ AND $timeFilter GROUP BY time($__interval), *",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
"select": [
[{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}, },
{ "axisPlacement": "auto",
"alias": "$tag_host: $tag_name: $col", "axisLabel": "",
"dsType": "influxdb", "scaleDistribution": {
"function": "mean", "type": "linear"
"groupBy": [{ },
"interval": "auto", "hideFrom": {
"params": [ "tooltip": false,
"auto" "viz": false,
], "legend": false
"type": "time" },
}, "thresholdsStyle": {
{ "mode": "off"
"key": "host",
"params": [
"tag"
],
"type": "tag"
},
{
"key": "path",
"params": [
"tag"
],
"type": "tag"
}
],
"measurement": "io_reads",
"policy": "default",
"query": "SELECT non_negative_derivative(mean(writes),1s) as \"write\" FROM \"diskio\" WHERE \"host\" =~ /$servername$/ AND \"name\" =~ /$disk$/ AND $timeFilter GROUP BY time($__interval), *",
"rawQuery": true,
"refId": "C",
"resultFormat": "time_series",
"select": [
[{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
} }
], },
"thresholds": [], "color": {
"timeFrom": null, "mode": "palette-classic"
"timeRegions": [], },
"timeShift": null, "thresholds": {
"title": "Disk I/O requests for /dev/$disk", "mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"mappings": [],
"links": [],
"unit": "iops",
"decimals": 1
},
"overrides": []
},
"options": {
"tooltip": { "tooltip": {
"msResolution": false, "mode": "single"
"shared": true,
"sort": 0,
"value_type": "cumulative"
}, },
"type": "graph", "legend": {
"xaxis": { "displayMode": "table",
"buckets": null, "placement": "bottom",
"mode": "time", "calcs": [
"name": null, "max",
"show": true, "mean",
"values": [] "lastNotNull"
}, ]
"yaxes": [{ }
"format": "iops", },
"logBase": 1, "targets": [
"max": null, {
"min": null, "alias": "$tag_host: $tag_name: $col",
"show": true "dsType": "influxdb",
"function": "mean",
"groupBy": [
{
"interval": "auto",
"params": [
"auto"
],
"type": "time"
}, },
{ {
"format": "short", "key": "host",
"logBase": 1, "params": [
"max": null, "tag"
"min": null, ],
"show": true "type": "tag"
},
{
"key": "path",
"params": [
"tag"
],
"type": "tag"
} }
], ],
"yaxis": { "measurement": "io_reads",
"align": false, "policy": "default",
"alignLevel": null "query": "SELECT non_negative_derivative(mean(reads),1s) as \"read\" FROM \"diskio\" WHERE \"host\" =~ /$servername$/ AND \"name\" =~ /$disk$/ AND $timeFilter GROUP BY time($__interval), *",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [],
"hide": false
},
{
"alias": "$tag_host: $tag_name: $col",
"dsType": "influxdb",
"function": "mean",
"groupBy": [
{
"interval": "auto",
"params": [
"auto"
],
"type": "time"
},
{
"key": "host",
"params": [
"tag"
],
"type": "tag"
},
{
"key": "path",
"params": [
"tag"
],
"type": "tag"
}
],
"measurement": "io_reads",
"policy": "default",
"query": "SELECT non_negative_derivative(mean(writes),1s) as \"write\" FROM \"diskio\" WHERE \"host\" =~ /$servername$/ AND \"name\" =~ /$disk$/ AND $timeFilter GROUP BY time($__interval), *",
"rawQuery": true,
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
} }
],
"scopedVars": {
"disk": {
"text": "sda",
"value": "sda",
"selected": false
}
},
"maxDataPoints": null,
"repeat": null,
"timeFrom": null,
"timeShift": null
} }

View File

@@ -1,193 +1,189 @@
{ {
"aliasColors": {}, "id": 56720,
"maxDataPoints": 750,
"interval": "30s",
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "InfluxDB",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"grid": {},
"gridPos": { "gridPos": {
"x": {{ PANELS.disk_io_time_graph.gridPos.x }}, "x": {{ PANELS.disk_io_time_graph.gridPos.x }},
"y": {{ PANELS.disk_io_time_graph.gridPos.y }}, "y": {{ PANELS.disk_io_time_graph.gridPos.y }},
"w": {{ PANELS.disk_io_time_graph.gridPos.w }}, "w": {{ PANELS.disk_io_time_graph.gridPos.w }},
"h": {{ PANELS.disk_io_time_graph.gridPos.h }} "h": {{ PANELS.disk_io_time_graph.gridPos.h }}
}, },
"hiddenSeries": false, "type": "timeseries",
"id": 56720, "title": "Disk I/O time for /dev/$disk",
"legend": { "datasource": "InfluxDB",
"alignAsTable": true, "pluginVersion": "8.2.1",
"avg": true, "interval": "30s",
"current": true, "links": [],
"hideEmpty": true, "fieldConfig": {
"max": true, "defaults": {
"min": false, "custom": {
"rightSide": false, "drawStyle": "line",
"show": true, "lineInterpolation": "linear",
"sort": "current", "barAlignment": 0,
"sortDesc": true, "lineWidth": 1,
"total": false, "fillOpacity": 10,
"values": true "gradientMode": "none",
}, "spanNulls": false,
"lines": true, "showPoints": "never",
"linewidth": 1, "pointSize": 5,
"links": [], "stacking": {
"maxPerRow": 6, "mode": "none",
"nullPointMode": "connected", "group": "A"
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": null,
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [{
"alias": "$tag_host: $tag_name: $col",
"dsType": "influxdb",
"function": "mean",
"groupBy": [{
"interval": "auto",
"params": [
"auto"
],
"type": "time"
},
{
"key": "host",
"params": [
"tag"
],
"type": "tag"
},
{
"key": "path",
"params": [
"tag"
],
"type": "tag"
}
],
"measurement": "io_reads",
"policy": "default",
"query": "SELECT non_negative_derivative(mean(read_time),1s) as \"read\" FROM \"diskio\" WHERE \"host\" =~ /$servername$/ AND \"name\" =~ /$disk$/ AND $timeFilter GROUP BY time($__interval), *",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
"select": [
[{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}, },
{ "axisPlacement": "auto",
"alias": "$tag_host: $tag_name: $col", "axisLabel": "",
"dsType": "influxdb", "scaleDistribution": {
"function": "mean", "type": "linear"
"groupBy": [{ },
"interval": "auto", "hideFrom": {
"params": [ "tooltip": false,
"auto" "viz": false,
], "legend": false
"type": "time" },
}, "thresholdsStyle": {
{ "mode": "off"
"key": "host",
"params": [
"tag"
],
"type": "tag"
},
{
"key": "path",
"params": [
"tag"
],
"type": "tag"
}
],
"measurement": "io_reads",
"policy": "default",
"query": "SELECT non_negative_derivative(mean(write_time),1s) as \"write\" FROM \"diskio\" WHERE \"host\" =~ /$servername$/ AND \"name\" =~ /$disk$/ AND $timeFilter GROUP BY time($__interval), *",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
} }
], },
"thresholds": [], "color": {
"timeFrom": null, "mode": "palette-classic"
"timeRegions": [], },
"timeShift": null, "thresholds": {
"title": "Disk I/O time for /dev/$disk", "mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"mappings": [],
"links": [],
"unit": "ms",
"decimals": 1
},
"overrides": []
},
"options": {
"tooltip": { "tooltip": {
"msResolution": false, "mode": "single"
"shared": true,
"sort": 0,
"value_type": "cumulative"
}, },
"type": "graph", "legend": {
"xaxis": { "displayMode": "table",
"buckets": null, "placement": "bottom",
"mode": "time", "calcs": [
"name": null, "max",
"show": true, "mean",
"values": [] "lastNotNull"
}, ]
"yaxes": [{ }
"format": "ms", },
"logBase": 1, "targets": [
"max": null, {
"min": null, "alias": "$tag_host: $tag_name: $col",
"show": true "dsType": "influxdb",
"function": "mean",
"groupBy": [
{
"interval": "auto",
"params": [
"auto"
],
"type": "time"
}, },
{ {
"format": "short", "key": "host",
"logBase": 1, "params": [
"max": null, "tag"
"min": null, ],
"show": true "type": "tag"
},
{
"key": "path",
"params": [
"tag"
],
"type": "tag"
} }
], ],
"yaxis": { "measurement": "io_reads",
"align": false, "policy": "default",
"alignLevel": null "query": "SELECT non_negative_derivative(mean(read_time),1s) as \"read\" FROM \"diskio\" WHERE \"host\" =~ /$servername$/ AND \"name\" =~ /$disk$/ AND $timeFilter GROUP BY time($__interval), *",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
},
{
"alias": "$tag_host: $tag_name: $col",
"dsType": "influxdb",
"function": "mean",
"groupBy": [
{
"interval": "auto",
"params": [
"auto"
],
"type": "time"
},
{
"key": "host",
"params": [
"tag"
],
"type": "tag"
},
{
"key": "path",
"params": [
"tag"
],
"type": "tag"
}
],
"measurement": "io_reads",
"policy": "default",
"query": "SELECT non_negative_derivative(mean(write_time),1s) as \"write\" FROM \"diskio\" WHERE \"host\" =~ /$servername$/ AND \"name\" =~ /$disk$/ AND $timeFilter GROUP BY time($__interval), *",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
} }
],
"scopedVars": {
"disk": {
"text": "sda",
"value": "sda",
"selected": false
}
},
"maxDataPoints": null,
"repeat": null,
"timeFrom": null,
"timeShift": null
} }

View File

@@ -1,186 +1,211 @@
{ {
"type": "graph", "id": 68888,
"title": "Disk Usage /nsm",
"gridPos": { "gridPos": {
"x": {{ PANELS.disk_usage_nsm_graph.gridPos.x }}, "x": {{ PANELS.disk_usage_nsm_graph.gridPos.x }},
"y": {{ PANELS.disk_usage_nsm_graph.gridPos.y }}, "y": {{ PANELS.disk_usage_nsm_graph.gridPos.y }},
"w": {{ PANELS.disk_usage_nsm_graph.gridPos.w }}, "w": {{ PANELS.disk_usage_nsm_graph.gridPos.w }},
"h": {{ PANELS.disk_usage_nsm_graph.gridPos.h }} "h": {{ PANELS.disk_usage_nsm_graph.gridPos.h }}
}, },
"id": 68888, "type": "timeseries",
"title": "Disk Usage /nsm",
"datasource": "InfluxDB",
"pluginVersion": "8.2.1",
"interval": "30s",
"options": {
"tooltip": {
"mode": "single"
},
"legend": {
"displayMode": "table",
"placement": "bottom",
"calcs": [
"max",
"mean",
"lastNotNull"
]
}
},
"targets": [ "targets": [
{ {
"refId": "A",
"queryType": "randomWalk",
"policy": "default",
"resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [],
"groupBy": [
{
"type": "time",
"params": [
"$__interval"
]
},
{
"type": "fill",
"params": [
"null"
]
}
],
"select": [
[
{
"type": "field",
"params": [
"value"
]
},
{
"type": "mean",
"params": []
}
]
],
"query": "SELECT mean(total) AS \"total\", mean(used) as \"used\" FROM \"disk\" WHERE \"host\" =~ /$servername$/ AND \"path\" = '/nsm' AND $timeFilter GROUP BY time($__interval), \"host\", \"path\"",
"rawQuery": true,
"alias": "$tag_host: mountpoint $tag_path - $col"
},
{
"refId": "B",
"queryType": "randomWalk",
"policy": "default",
"resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [],
"groupBy": [
{
"type": "time",
"params": [
"$__interval"
]
},
{
"type": "fill",
"params": [
"null"
]
}
],
"select": [
[
{
"type": "field",
"params": [
"value"
]
},
{
"type": "mean",
"params": []
}
]
],
"query": "SELECT mean(mean_total) AS \"trend_total\", mean(mean_used) as \"trend_used\" FROM \"so_long_term\".\"disk\" WHERE \"host\" =~ /$servername$/ AND \"path\" = '/nsm' AND $timeFilter GROUP BY time($__interval), \"host\", \"path\"",
"rawQuery": true,
"alias": "$tag_host: mountpoint $tag_path - $col", "alias": "$tag_host: mountpoint $tag_path - $col",
"hide": false "groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(total) AS \"total\", mean(used) as \"used\" FROM \"disk\" WHERE \"host\" =~ /$servername$/ AND \"path\" = '/nsm' AND $timeFilter GROUP BY time($__interval), \"host\", \"path\"",
"queryType": "randomWalk",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
},
{
"alias": "$tag_host: mountpoint $tag_path - $col",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(mean_total) AS \"trend_total\", mean(mean_used) as \"trend_used\" FROM \"so_long_term\".\"disk\" WHERE \"host\" =~ /$servername$/ AND \"path\" = '/nsm' AND $timeFilter GROUP BY time($__interval), \"host\", \"path\" fill(linear)",
"queryType": "randomWalk",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
} }
], ],
"options": {
"alertThreshold": true
},
"datasource": "InfluxDB",
"fieldConfig": { "fieldConfig": {
"defaults": {}, "defaults": {
"overrides": [] "custom": {
}, "drawStyle": "line",
"pluginVersion": "7.5.4", "lineInterpolation": "linear",
"renderer": "flot", "barAlignment": 0,
"yaxes": [ "lineWidth": 1,
{ "fillOpacity": 10,
"label": null, "gradientMode": "none",
"show": true, "spanNulls": false,
"logBase": 1, "showPoints": "never",
"min": "0", "pointSize": 5,
"max": null, "stacking": {
"format": "bytes", "mode": "none",
"$$hashKey": "object:235" "group": "A"
},
"axisPlacement": "auto",
"axisLabel": "",
"scaleDistribution": {
"type": "linear"
},
"hideFrom": {
"tooltip": false,
"viz": false,
"legend": false
},
"thresholdsStyle": {
"mode": "off"
}
},
"color": {
"mode": "palette-classic"
},
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"mappings": [],
"unit": "bytes",
"min": 0,
"decimals": 1
}, },
{ "overrides": [
"label": null, {
"show": true, "matcher": {
"logBase": 1, "id": "byRegexp",
"min": null, "options": "/total/"
"max": null, },
"format": "short", "properties": [
"$$hashKey": "object:236" {
} "id": "color",
], "value": {
"xaxis": { "fixedColor": "#C4162A",
"show": true, "mode": "fixed"
"mode": "time", }
"name": null, },
"values": [], {
"buckets": null "id": "custom.fillOpacity",
"value": 0
},
{
"id": "custom.lineWidth",
"value": 2
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/trend/"
},
"properties": [
{
"id": "custom.fillOpacity",
"value": 0
},
{
"id": "custom.lineWidth",
"value": 4
},
{
"id": "custom.lineStyle",
"value": {
"fill": "dash",
"dash": [
4,
10
]
}
}
]
}
]
}, },
"yaxis": { "maxDataPoints": null,
"align": false, "timeFrom": null,
"alignLevel": null "timeShift": null
},
"lines": true,
"fill": 1,
"linewidth": 1,
"dashLength": 10,
"spaceLength": 10,
"pointradius": 2,
"legend": {
"show": true,
"values": true,
"min": false,
"max": true,
"current": true,
"total": false,
"avg": true,
"alignAsTable": true
},
"nullPointMode": "connected",
"tooltip": {
"value_type": "individual",
"shared": true,
"sort": 0
},
"aliasColors": {},
"seriesOverrides": [
{
"$$hashKey": "object:486",
"alias": "/total/",
"fill": 0,
"linewidth": 2,
"color": "#C4162A",
"zindex": 3
},
{
"$$hashKey": "object:829",
"alias": "/trend/",
"fill": 0,
"linewidth": 4,
"dashes": true,
"dashLength": 4
}
],
"thresholds": [],
"timeRegions": [],
"steppedLine": true,
"fillGradient": 0,
"dashes": false,
"hiddenSeries": false,
"points": false,
"bars": false,
"stack": false,
"percentage": false,
"maxDataPoints": 750,
"interval": "30s"
} }

View File

@@ -1,186 +1,211 @@
{ {
"type": "graph", "id": 61880,
"title": "Disk Usage /",
"gridPos": { "gridPos": {
"x": {{ PANELS.disk_usage_root_graph.gridPos.x }}, "x": {{ PANELS.disk_usage_root_graph.gridPos.x }},
"y": {{ PANELS.disk_usage_root_graph.gridPos.y }}, "y": {{ PANELS.disk_usage_root_graph.gridPos.y }},
"w": {{ PANELS.disk_usage_root_graph.gridPos.w }}, "w": {{ PANELS.disk_usage_root_graph.gridPos.w }},
"h": {{ PANELS.disk_usage_root_graph.gridPos.h }} "h": {{ PANELS.disk_usage_root_graph.gridPos.h }}
}, },
"id": 61880, "type": "timeseries",
"title": "Disk Usage /",
"datasource": "InfluxDB",
"pluginVersion": "8.2.1",
"interval": "30s",
"options": {
"tooltip": {
"mode": "single"
},
"legend": {
"displayMode": "table",
"placement": "bottom",
"calcs": [
"max",
"mean",
"lastNotNull"
]
}
},
"targets": [ "targets": [
{ {
"refId": "A",
"queryType": "randomWalk",
"policy": "default",
"resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [],
"groupBy": [
{
"type": "time",
"params": [
"$__interval"
]
},
{
"type": "fill",
"params": [
"null"
]
}
],
"select": [
[
{
"type": "field",
"params": [
"value"
]
},
{
"type": "mean",
"params": []
}
]
],
"query": "SELECT mean(total) AS \"total\", mean(used) as \"used\" FROM \"disk\" WHERE \"host\" =~ /$servername$/ AND \"path\" = '/' AND $timeFilter GROUP BY time($__interval), \"host\", \"path\"",
"rawQuery": true,
"alias": "$tag_host: mountpoint $tag_path - $col"
},
{
"refId": "B",
"queryType": "randomWalk",
"policy": "default",
"resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [],
"groupBy": [
{
"type": "time",
"params": [
"$__interval"
]
},
{
"type": "fill",
"params": [
"null"
]
}
],
"select": [
[
{
"type": "field",
"params": [
"value"
]
},
{
"type": "mean",
"params": []
}
]
],
"query": "SELECT mean(mean_total) AS \"trend_total\", mean(mean_used) as \"trend_used\" FROM \"so_long_term\".\"disk\" WHERE \"host\" =~ /$servername$/ AND \"path\" = '/' AND $timeFilter GROUP BY time($__interval), \"host\", \"path\"",
"rawQuery": true,
"alias": "$tag_host: mountpoint $tag_path - $col", "alias": "$tag_host: mountpoint $tag_path - $col",
"hide": false "groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(total) AS \"total\", mean(used) as \"used\" FROM \"disk\" WHERE \"host\" =~ /$servername$/ AND \"path\" = '/' AND $timeFilter GROUP BY time($__interval), \"host\", \"path\"",
"queryType": "randomWalk",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
},
{
"alias": "$tag_host: mountpoint $tag_path - $col",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(mean_total) AS \"trend_total\", mean(mean_used) as \"trend_used\" FROM \"so_long_term\".\"disk\" WHERE \"host\" =~ /$servername$/ AND \"path\" = '/' AND $timeFilter GROUP BY time($__interval), \"host\", \"path\" fill(linear)",
"queryType": "randomWalk",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
} }
], ],
"options": {
"alertThreshold": true
},
"datasource": "InfluxDB",
"fieldConfig": { "fieldConfig": {
"defaults": {}, "defaults": {
"overrides": [] "custom": {
}, "drawStyle": "line",
"pluginVersion": "7.5.4", "lineInterpolation": "stepAfter",
"renderer": "flot", "barAlignment": 0,
"yaxes": [ "lineWidth": 1,
{ "fillOpacity": 10,
"label": null, "gradientMode": "none",
"show": true, "spanNulls": false,
"logBase": 1, "showPoints": "never",
"min": "0", "pointSize": 5,
"max": null, "stacking": {
"format": "bytes", "mode": "none",
"$$hashKey": "object:235" "group": "A"
},
"axisPlacement": "auto",
"axisLabel": "",
"scaleDistribution": {
"type": "linear"
},
"hideFrom": {
"tooltip": false,
"viz": false,
"legend": false
},
"thresholdsStyle": {
"mode": "off"
}
},
"color": {
"mode": "palette-classic"
},
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"mappings": [],
"unit": "bytes",
"min": 0,
"decimals": 1
}, },
{ "overrides": [
"label": null, {
"show": true, "matcher": {
"logBase": 1, "id": "byRegexp",
"min": null, "options": "/total/"
"max": null, },
"format": "short", "properties": [
"$$hashKey": "object:236" {
} "id": "color",
], "value": {
"xaxis": { "fixedColor": "#C4162A",
"show": true, "mode": "fixed"
"mode": "time", }
"name": null, },
"values": [], {
"buckets": null "id": "custom.fillOpacity",
"value": 0
},
{
"id": "custom.lineWidth",
"value": 2
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/trend/"
},
"properties": [
{
"id": "custom.fillOpacity",
"value": 0
},
{
"id": "custom.lineWidth",
"value": 4
},
{
"id": "custom.lineStyle",
"value": {
"fill": "dash",
"dash": [
4,
10
]
}
}
]
}
]
}, },
"yaxis": { "maxDataPoints": null,
"align": false, "timeFrom": null,
"alignLevel": null "timeShift": null
},
"lines": true,
"fill": 1,
"linewidth": 1,
"dashLength": 10,
"spaceLength": 10,
"pointradius": 2,
"legend": {
"show": true,
"values": true,
"min": false,
"max": true,
"current": true,
"total": false,
"avg": true,
"alignAsTable": true
},
"nullPointMode": "connected",
"tooltip": {
"value_type": "individual",
"shared": true,
"sort": 0
},
"aliasColors": {},
"seriesOverrides": [
{
"$$hashKey": "object:486",
"alias": "/total/",
"fill": 0,
"linewidth": 2,
"color": "#C4162A",
"zindex": 3
},
{
"$$hashKey": "object:829",
"alias": "/trend/",
"fill": 0,
"linewidth": 4,
"dashes": true,
"dashLength": 4
}
],
"thresholds": [],
"timeRegions": [],
"steppedLine": true,
"fillGradient": 0,
"dashes": false,
"hiddenSeries": false,
"points": false,
"bars": false,
"stack": false,
"percentage": false,
"maxDataPoints": 750,
"interval": "30s"
} }

View File

@@ -1,5 +1,16 @@
{ {
"id": 61867,
"gridPos": {
"x": {{ PANELS.io_wait_stat.gridPos.x }},
"y": {{ PANELS.io_wait_stat.gridPos.y }},
"w": {{ PANELS.io_wait_stat.gridPos.w }},
"h": {{ PANELS.io_wait_stat.gridPos.h }}
},
"type": "stat",
"title": "IOWait",
"datasource": "InfluxDB", "datasource": "InfluxDB",
"pluginVersion": "8.2.1",
"links": [],
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"thresholds": { "thresholds": {
@@ -21,31 +32,41 @@
}, },
"mappings": [ "mappings": [
{ {
"op": "=", "options": {
"text": "N/A", "match": "null",
"value": "null", "result": {
"$$hashKey": "object:1217", "text": "N/A"
"id": 0, }
"type": 1 },
"type": "special"
} }
], ],
"unit": "percent",
"decimals": 2,
"color": { "color": {
"mode": "thresholds" "mode": "thresholds"
} },
"decimals": 2,
"max": 100,
"min": 0,
"unit": "percent"
}, },
"overrides": [] "overrides": []
}, },
"gridPos": { "interval": "30",
"x": {{ PANELS.io_wait_stat.gridPos.x }}, "options": {
"y": {{ PANELS.io_wait_stat.gridPos.y }}, "reduceOptions": {
"w": {{ PANELS.io_wait_stat.gridPos.w }}, "values": false,
"h": {{ PANELS.io_wait_stat.gridPos.h }} "calcs": [
"lastNotNull"
],
"fields": ""
},
"orientation": "horizontal",
"text": {},
"textMode": "auto",
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto"
}, },
"id": 61867,
"links": [],
"maxDataPoints": 100,
"targets": [ "targets": [
{ {
"dsType": "influxdb", "dsType": "influxdb",
@@ -64,6 +85,7 @@
} }
], ],
"measurement": "cpu", "measurement": "cpu",
"orderByTime": "ASC",
"policy": "default", "policy": "default",
"query": "SELECT non_negative_derivative(mean(\"usage_iowait\"), 1s) FROM \"cpu\" WHERE (host =~ /$servername$/ AND \"cpu\" = 'cpu-total') AND $timeFilter GROUP BY time($interval) fill(null)", "query": "SELECT non_negative_derivative(mean(\"usage_iowait\"), 1s) FROM \"cpu\" WHERE (host =~ /$servername$/ AND \"cpu\" = 'cpu-total') AND $timeFilter GROUP BY time($interval) fill(null)",
"rawQuery": false, "rawQuery": false,
@@ -86,8 +108,8 @@
"tags": [ "tags": [
{ {
"key": "host", "key": "host",
"operator": "=~", "operator": "=",
"value": "/^$servername$/" "value": "$servername"
}, },
{ {
"condition": "AND", "condition": "AND",
@@ -95,28 +117,9 @@
"operator": "=", "operator": "=",
"value": "cpu-total" "value": "cpu-total"
} }
], ]
"orderByTime": "ASC"
} }
], ],
"title": "IOWait", "maxDataPoints": null,
"type": "stat", "cacheTimeout": null
"options": {
"reduceOptions": {
"values": false,
"calcs": [
"lastNotNull"
],
"fields": ""
},
"orientation": "horizontal",
"text": {},
"textMode": "auto",
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto"
},
"cacheTimeout": null,
"interval": null,
"pluginVersion": "7.5.4"
} }

View File

@@ -1,5 +1,17 @@
{ {
"id": 61859,
"gridPos": {
"x": {{ PANELS.load_average_5_minute_stat.gridPos.x }},
"y": {{ PANELS.load_average_5_minute_stat.gridPos.y }},
"w": {{ PANELS.load_average_5_minute_stat.gridPos.w }},
"h": {{ PANELS.load_average_5_minute_stat.gridPos.h }}
},
"type": "stat",
"title": "5 Minute Load Average - $cpucount Cores",
"datasource": "InfluxDB", "datasource": "InfluxDB",
"pluginVersion": "8.2.1",
"interval": "30",
"links": [],
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"thresholds": { "thresholds": {
@@ -7,7 +19,7 @@
"steps": [ "steps": [
{ {
"color": "rgba(50, 172, 45, 0.97)", "color": "rgba(50, 172, 45, 0.97)",
"value": "$cpucount / 2" "value": null
}, },
{ {
"color": "rgba(237, 129, 40, 0.89)", "color": "rgba(237, 129, 40, 0.89)",
@@ -21,30 +33,39 @@
}, },
"mappings": [ "mappings": [
{ {
"op": "=", "options": {
"text": "N/A", "from": null,
"value": "null", "result": {
"id": 0, "text": "N/A"
"type": 2 },
"to": null
},
"type": "range"
} }
], ],
"unit": "none",
"decimals": 1,
"color": { "color": {
"mode": "thresholds" "mode": "thresholds"
} },
"decimals": 1,
"unit": "none"
}, },
"overrides": [] "overrides": []
}, },
"gridPos": { "options": {
"x": {{ PANELS.load_average_5_minute_stat.gridPos.x }}, "reduceOptions": {
"y": {{ PANELS.load_average_5_minute_stat.gridPos.y }}, "values": false,
"w": {{ PANELS.load_average_5_minute_stat.gridPos.w }}, "calcs": [
"h": {{ PANELS.load_average_5_minute_stat.gridPos.h }} "lastNotNull"
],
"fields": ""
},
"orientation": "horizontal",
"text": {},
"textMode": "auto",
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto"
}, },
"id": 61859,
"links": [],
"maxDataPoints": 100,
"targets": [ "targets": [
{ {
"dsType": "influxdb", "dsType": "influxdb",
@@ -65,6 +86,8 @@
"measurement": "system", "measurement": "system",
"orderByTime": "ASC", "orderByTime": "ASC",
"policy": "default", "policy": "default",
"query": "SELECT last(\"load5\") FROM \"system\" WHERE (\"host\" = '$servername') AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": false,
"refId": "A", "refId": "A",
"resultFormat": "time_series", "resultFormat": "time_series",
"select": [ "select": [
@@ -84,30 +107,12 @@
"tags": [ "tags": [
{ {
"key": "host", "key": "host",
"operator": "=~", "operator": "=",
"value": "/^$servername$/" "value": "$servername"
} }
] ]
} }
], ],
"title": "5 Minute Load Average - $cpucount Cores",
"type": "stat",
"options": {
"reduceOptions": {
"values": false,
"calcs": [
"lastNotNull"
],
"fields": ""
},
"orientation": "horizontal",
"text": {},
"textMode": "auto",
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto"
},
"pluginVersion": "7.5.4",
"cacheTimeout": null, "cacheTimeout": null,
"interval": null "maxDataPoints": null
} }

View File

@@ -1,48 +1,30 @@
{ {
"aliasColors": {}, "id": 61869,
"dashLength": 10,
"datasource": "InfluxDB",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"gridPos": { "gridPos": {
"x": {{ PANELS.load_averages_graph.gridPos.x }}, "x": {{ PANELS.load_averages_graph.gridPos.x }},
"y": {{ PANELS.load_averages_graph.gridPos.y }}, "y": {{ PANELS.load_averages_graph.gridPos.y }},
"w": {{ PANELS.load_averages_graph.gridPos.w }}, "w": {{ PANELS.load_averages_graph.gridPos.w }},
"h": {{ PANELS.load_averages_graph.gridPos.h }} "h": {{ PANELS.load_averages_graph.gridPos.h }}
}, },
"id": 61869, "type": "timeseries",
"legend": { "title": "1 Minute Load Average",
"alignAsTable": true, "datasource": "InfluxDB",
"avg": true, "pluginVersion": "8.2.1",
"current": true, "interval": "30s",
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": { "options": {
"alertThreshold": true "tooltip": {
}, "mode": "single"
"pluginVersion": "7.5.4", },
"pointradius": 2, "legend": {
"renderer": "flot", "displayMode": "table",
"seriesOverrides": [ "placement": "bottom",
{ "calcs": [
"$$hashKey": "object:364", "max",
"alias": "/trend/", "mean",
"fill": 0, "lastNotNull"
"linewidth": 4, ]
"dashes": true,
"dashLength": 4
} }
], },
"spaceLength": 10,
"targets": [ "targets": [
{ {
"alias": "$tag_host: $col", "alias": "$tag_host: $col",
@@ -99,9 +81,10 @@
"type": "fill" "type": "fill"
} }
], ],
"hide": false,
"orderByTime": "ASC", "orderByTime": "ASC",
"policy": "default", "policy": "default",
"query": "SELECT mean(mean_load1) as \"trend_1 minute\" FROM \"so_long_term\".\"system\" WHERE host =~ /$servername$/ AND $timeFilter GROUP BY time($__interval), * ORDER BY asc", "query": "SELECT mean(mean_load1) as \"trend_1 minute\" FROM \"so_long_term\".\"system\" WHERE host =~ /$servername$/ AND $timeFilter GROUP BY time($__interval), * fill(linear) ORDER BY asc",
"queryType": "randomWalk", "queryType": "randomWalk",
"rawQuery": true, "rawQuery": true,
"refId": "B", "refId": "B",
@@ -120,61 +103,85 @@
} }
] ]
], ],
"tags": [], "tags": []
"hide": false
} }
], ],
"thresholds": [], "fieldConfig": {
"timeRegions": [], "defaults": {
"title": "1 Minute Load Average", "custom": {
"tooltip": { "drawStyle": "line",
"shared": true, "lineInterpolation": "linear",
"sort": 0, "barAlignment": 0,
"value_type": "individual" "lineWidth": 1,
}, "fillOpacity": 0,
"type": "graph", "gradientMode": "none",
"xaxis": { "spanNulls": false,
"buckets": null, "showPoints": "never",
"mode": "time", "pointSize": 5,
"name": null, "stacking": {
"show": true, "mode": "none",
"values": [] "group": "A"
}, },
"yaxes": [ "axisPlacement": "auto",
{ "axisLabel": "",
"$$hashKey": "object:287", "scaleDistribution": {
"format": "short", "type": "linear"
"label": null, },
"logBase": 1, "hideFrom": {
"max": null, "tooltip": false,
"min": null, "viz": false,
"show": true "legend": false
},
"thresholdsStyle": {
"mode": "off"
}
},
"color": {
"mode": "palette-classic"
},
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"mappings": [],
"unit": "short",
"decimals": 1
}, },
{ "overrides": [
"$$hashKey": "object:288", {
"format": "short", "matcher": {
"label": null, "id": "byRegexp",
"logBase": 1, "options": "/trend/"
"max": null, },
"min": null, "properties": [
"show": true {
} "id": "custom.fillOpacity",
], "value": 0
"yaxis": { },
"align": false, {
"alignLevel": null "id": "custom.lineWidth",
"value": 4
},
{
"id": "custom.lineStyle",
"value": {
"fill": "dash",
"dash": [
4,
10
]
}
}
]
}
]
}, },
"bars": false, "maxDataPoints": null,
"dashes": false,
"fill": 0,
"fillGradient": 0,
"hiddenSeries": false,
"percentage": false,
"points": false,
"stack": false,
"steppedLine": false,
"timeFrom": null, "timeFrom": null,
"timeShift": null, "timeShift": null
"maxDataPoints": 750,
"interval": "30s"
} }

View File

@@ -1,263 +1,282 @@
{ {
"type": "graph", "id": 61877,
"title": "Management Interface Drops",
"gridPos": { "gridPos": {
"x": {{ PANELS.management_interface_drops_graph.gridPos.x }}, "x": {{ PANELS.management_interface_drops_graph.gridPos.x }},
"y": {{ PANELS.management_interface_drops_graph.gridPos.y }}, "y": {{ PANELS.management_interface_drops_graph.gridPos.y }},
"w": {{ PANELS.management_interface_drops_graph.gridPos.w }}, "w": {{ PANELS.management_interface_drops_graph.gridPos.w }},
"h": {{ PANELS.management_interface_drops_graph.gridPos.h }} "h": {{ PANELS.management_interface_drops_graph.gridPos.h }}
}, },
"id": 61877, "type": "timeseries",
"title": "Management Interface Drops",
"datasource": "InfluxDB",
"pluginVersion": "8.2.1",
"maxDataPoints": 750,
"interval": "30s",
"options": {
"tooltip": {
"mode": "single"
},
"legend": {
"displayMode": "table",
"placement": "bottom",
"calcs": [
"max",
"mean",
"lastNotNull"
]
}
},
"targets": [ "targets": [
{ {
"refId": "A", "alias": "$tag_host: $tag_interface: $col",
"queryType": "randomWalk",
"policy": "default",
"resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [],
"groupBy": [ "groupBy": [
{ {
"type": "time",
"params": [ "params": [
"$__interval" "$__interval"
] ],
"type": "time"
}, },
{ {
"type": "fill",
"params": [ "params": [
"null" "null"
] ],
"type": "fill"
} }
], ],
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT non_negative_derivative(mean(drop_in), 1s) as \"in\" FROM \"net\" WHERE host =~ /$servername/ AND interface =~ /$manint/ AND $timeFilter GROUP BY time($__interval), host,interface fill(none)",
"queryType": "randomWalk",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [ "select": [
[ [
{ {
"type": "field",
"params": [ "params": [
"value" "value"
] ],
"type": "field"
}, },
{ {
"type": "mean", "params": [],
"params": [] "type": "mean"
} }
] ]
], ],
"query": "SELECT non_negative_derivative(mean(drop_in), 1s) as \"in\" FROM \"net\" WHERE host =~ /$servername/ AND interface =~ /$manint/ AND $timeFilter GROUP BY time($__interval), host,interface fill(none)", "tags": []
"rawQuery": true,
"alias": "$tag_host: $tag_interface: $col"
}, },
{ {
"refId": "B", "alias": "$tag_host: $tag_interface: $col",
"hide": false,
"policy": "default",
"resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [],
"groupBy": [ "groupBy": [
{ {
"type": "time",
"params": [ "params": [
"$__interval" "$__interval"
] ],
"type": "time"
}, },
{ {
"type": "fill",
"params": [ "params": [
"null" "null"
] ],
"type": "fill"
} }
], ],
"select": [ "hide": false,
[ "orderByTime": "ASC",
{ "policy": "default",
"type": "field",
"params": [
"value"
]
},
{
"type": "mean",
"params": []
}
]
],
"query": "SELECT non_negative_derivative(mean(drop_out), 1s) as \"out\" FROM \"net\" WHERE host =~ /$servername/ AND interface =~ /$manint/ AND $timeFilter GROUP BY time($__interval), host,interface fill(none)", "query": "SELECT non_negative_derivative(mean(drop_out), 1s) as \"out\" FROM \"net\" WHERE host =~ /$servername/ AND interface =~ /$manint/ AND $timeFilter GROUP BY time($__interval), host,interface fill(none)",
"rawQuery": true, "rawQuery": true,
"alias": "$tag_host: $tag_interface: $col" "refId": "B",
},
{
"refId": "C",
"queryType": "randomWalk",
"policy": "default",
"resultFormat": "time_series", "resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [],
"groupBy": [
{
"type": "time",
"params": [
"$__interval"
]
},
{
"type": "fill",
"params": [
"null"
]
}
],
"select": [ "select": [
[ [
{ {
"type": "field",
"params": [ "params": [
"value" "value"
] ],
"type": "field"
}, },
{ {
"type": "mean", "params": [],
"params": [] "type": "mean"
} }
] ]
], ],
"query": "SELECT non_negative_derivative(mean(mean_drop_in), 1s) as \"trend_in\" FROM \"so_long_term\".\"net\" WHERE host =~ /$servername/ AND interface =~ /$manint/ AND $timeFilter GROUP BY time($__interval), host,interface fill(none)", "tags": []
"rawQuery": true, },
{
"alias": "$tag_host: $tag_interface: $col", "alias": "$tag_host: $tag_interface: $col",
"hide": false
},
{
"refId": "D",
"hide": false,
"policy": "default",
"resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [],
"groupBy": [ "groupBy": [
{ {
"type": "time",
"params": [ "params": [
"$__interval" "$__interval"
] ],
"type": "time"
}, },
{ {
"type": "fill",
"params": [ "params": [
"null" "null"
] ],
"type": "fill"
} }
], ],
"hide": false,
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT non_negative_derivative(mean(mean_drop_in), 1s) as \"trend_in\" FROM \"so_long_term\".\"net\" WHERE host =~ /$servername/ AND interface =~ /$manint/ AND $timeFilter GROUP BY time($__interval), host,interface fill(none)",
"queryType": "randomWalk",
"rawQuery": true,
"refId": "C",
"resultFormat": "time_series",
"select": [ "select": [
[ [
{ {
"type": "field",
"params": [ "params": [
"value" "value"
] ],
"type": "field"
}, },
{ {
"type": "mean", "params": [],
"params": [] "type": "mean"
} }
] ]
], ],
"tags": []
},
{
"alias": "$tag_host: $tag_interface: $col",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT non_negative_derivative(mean(mean_drop_out), 1s) as \"trend_out\" FROM \"so_long_term\".\"net\" WHERE host =~ /$servername/ AND interface =~ /$manint/ AND $timeFilter GROUP BY time($__interval), host,interface fill(none)", "query": "SELECT non_negative_derivative(mean(mean_drop_out), 1s) as \"trend_out\" FROM \"so_long_term\".\"net\" WHERE host =~ /$servername/ AND interface =~ /$manint/ AND $timeFilter GROUP BY time($__interval), host,interface fill(none)",
"rawQuery": true, "rawQuery": true,
"alias": "$tag_host: $tag_interface: $col" "refId": "D",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
} }
], ],
"options": {
"alertThreshold": true
},
"datasource": "InfluxDB",
"fieldConfig": { "fieldConfig": {
"defaults": {}, "defaults": {
"overrides": [] "custom": {
}, "drawStyle": "line",
"pluginVersion": "7.5.4", "lineInterpolation": "linear",
"renderer": "flot", "barAlignment": 0,
"yaxes": [ "lineWidth": 1,
{ "fillOpacity": 10,
"label": "Drops per second", "gradientMode": "none",
"show": true, "spanNulls": false,
"logBase": 1, "showPoints": "never",
"pointSize": 5,
"stacking": {
"mode": "none",
"group": "A"
},
"axisPlacement": "auto",
"axisLabel": "Drops per second",
"scaleDistribution": {
"type": "linear"
},
"hideFrom": {
"tooltip": false,
"viz": false,
"legend": false
},
"thresholdsStyle": {
"mode": "off"
}
},
"color": {
"mode": "palette-classic"
},
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"mappings": [],
"unit": "pps",
"min": 0, "min": 0,
"max": null, "decimals": 1
"format": "pps",
"$$hashKey": "object:500"
}, },
{ "overrides": [
"label": null, {
"show": true, "matcher": {
"logBase": 1, "id": "byRegexp",
"min": null, "options": "/trend/"
"max": null, },
"format": "short", "properties": [
"$$hashKey": "object:501" {
} "id": "custom.fillOpacity",
], "value": 0
"xaxis": { },
"show": true, {
"mode": "time", "id": "custom.lineWidth",
"name": null, "value": 4
"values": [], },
"buckets": null {
"id": "custom.lineStyle",
"value": {
"fill": "dash",
"dash": [
4,
10
]
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/veth/"
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"tooltip": true,
"viz": true,
"legend": true
}
}
]
}
]
}, },
"yaxis": { "timeFrom": null,
"align": false, "timeShift": null
"alignLevel": null
},
"lines": true,
"fill": 1,
"linewidth": 1,
"dashLength": 10,
"spaceLength": 10,
"pointradius": 2,
"legend": {
"show": true,
"values": true,
"min": false,
"max": true,
"current": true,
"total": false,
"avg": true,
"alignAsTable": true
},
"nullPointMode": "connected",
"tooltip": {
"value_type": "individual",
"shared": true,
"sort": 0
},
"aliasColors": {},
"seriesOverrides": [
{
"$$hashKey": "object:592",
"alias": "/veth/",
"hiddenSeries": true,
"legend": false
},
{
"$$hashKey": "object:621",
"alias": "/trend/",
"fill": 0,
"linewidth": 4,
"dashes": true,
"dashLength": 4
}
],
"thresholds": [],
"timeRegions": [],
"fillGradient": 0,
"dashes": false,
"hiddenSeries": false,
"points": false,
"bars": false,
"stack": false,
"percentage": false,
"steppedLine": false,
"decimals": 0,
"maxDataPoints": 750,
"interval": "30s"
} }

View File

@@ -1,262 +1,283 @@
{ {
"type": "graph", "id": 61875,
"title": "Management Interface Packets",
"gridPos": { "gridPos": {
"x": {{ PANELS.management_interface_packets_graph.gridPos.x }}, "x": {{ PANELS.management_interface_packets_graph.gridPos.x }},
"y": {{ PANELS.management_interface_packets_graph.gridPos.y }}, "y": {{ PANELS.management_interface_packets_graph.gridPos.y }},
"w": {{ PANELS.management_interface_packets_graph.gridPos.w }}, "w": {{ PANELS.management_interface_packets_graph.gridPos.w }},
"h": {{ PANELS.management_interface_packets_graph.gridPos.h }} "h": {{ PANELS.management_interface_packets_graph.gridPos.h }}
}, },
"id": 61875, "type": "timeseries",
"title": "Management Interface Packets",
"datasource": "InfluxDB",
"pluginVersion": "8.2.1",
"interval": "30s",
"options": {
"tooltip": {
"mode": "single"
},
"legend": {
"displayMode": "table",
"placement": "bottom",
"calcs": [
"max",
"mean",
"lastNotNull"
]
}
},
"targets": [ "targets": [
{ {
"refId": "A",
"queryType": "randomWalk",
"policy": "default",
"resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [],
"groupBy": [
{
"type": "time",
"params": [
"$__interval"
]
},
{
"type": "fill",
"params": [
"null"
]
}
],
"select": [
[
{
"type": "field",
"params": [
"value"
]
},
{
"type": "mean",
"params": []
}
]
],
"query": "SELECT non_negative_derivative(mean(packets_recv), 1s) as \"in\" FROM \"net\" WHERE host =~ /$servername/ AND interface =~ /$manint/ AND $timeFilter GROUP BY time($__interval), * fill(none)",
"rawQuery": true,
"alias": "$tag_host: $tag_interface: $col"
},
{
"refId": "B",
"hide": false,
"policy": "default",
"resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [],
"groupBy": [
{
"type": "time",
"params": [
"$__interval"
]
},
{
"type": "fill",
"params": [
"null"
]
}
],
"select": [
[
{
"type": "field",
"params": [
"value"
]
},
{
"type": "mean",
"params": []
}
]
],
"query": "SELECT non_negative_derivative(mean(packets_sent), 1s) as \"out\" FROM \"net\" WHERE host =~ /$servername/ AND interface =~ /$manint/ AND $timeFilter GROUP BY time($__interval), * fill(none)",
"rawQuery": true,
"alias": "$tag_host: $tag_interface: $col"
},
{
"refId": "C",
"queryType": "randomWalk",
"policy": "default",
"resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [],
"groupBy": [
{
"type": "time",
"params": [
"$__interval"
]
},
{
"type": "fill",
"params": [
"null"
]
}
],
"select": [
[
{
"type": "field",
"params": [
"value"
]
},
{
"type": "mean",
"params": []
}
]
],
"query": "SELECT non_negative_derivative(mean(mean_packets_recv), 1s) as \"trend_in\" FROM \"so_long_term\".\"net\" WHERE host =~ /$servername/ AND interface =~ /$manint/ AND $timeFilter GROUP BY time($__interval), * fill(none)",
"rawQuery": true,
"alias": "$tag_host: $tag_interface: $col", "alias": "$tag_host: $tag_interface: $col",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT non_negative_derivative(mean(packets_recv), 1s) as \"in\" FROM \"net\" WHERE host =~ /$servername/ AND interface =~ /$manint/ AND $timeFilter GROUP BY time($__interval), * fill(none)",
"queryType": "randomWalk",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [],
"hide": false "hide": false
}, },
{ {
"refId": "D", "alias": "$tag_host: $tag_interface: $col",
"hide": false,
"policy": "default",
"resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [],
"groupBy": [ "groupBy": [
{ {
"type": "time",
"params": [ "params": [
"$__interval" "$__interval"
] ],
"type": "time"
}, },
{ {
"type": "fill",
"params": [ "params": [
"null" "null"
] ],
"type": "fill"
} }
], ],
"hide": false,
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT non_negative_derivative(mean(packets_sent), 1s) as \"out\" FROM \"net\" WHERE host =~ /$servername/ AND interface =~ /$manint/ AND $timeFilter GROUP BY time($__interval), * fill(none)",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
"select": [ "select": [
[ [
{ {
"type": "field",
"params": [ "params": [
"value" "value"
] ],
"type": "field"
}, },
{ {
"type": "mean", "params": [],
"params": [] "type": "mean"
} }
] ]
], ],
"tags": []
},
{
"alias": "$tag_host: $tag_interface: $col",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT non_negative_derivative(mean(mean_packets_recv), 1s) as \"trend_in\" FROM \"so_long_term\".\"net\" WHERE host =~ /$servername/ AND interface =~ /$manint/ AND $timeFilter GROUP BY time($__interval), * fill(none)",
"queryType": "randomWalk",
"rawQuery": true,
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
},
{
"alias": "$tag_host: $tag_interface: $col",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT non_negative_derivative(mean(mean_packets_sent), 1s) as \"trend_out\" FROM \"so_long_term\".\"net\" WHERE host =~ /$servername/ AND interface =~ /$manint/ AND $timeFilter GROUP BY time($__interval), * fill(none)", "query": "SELECT non_negative_derivative(mean(mean_packets_sent), 1s) as \"trend_out\" FROM \"so_long_term\".\"net\" WHERE host =~ /$servername/ AND interface =~ /$manint/ AND $timeFilter GROUP BY time($__interval), * fill(none)",
"rawQuery": true, "rawQuery": true,
"alias": "$tag_host: $tag_interface: $col" "refId": "D",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
} }
], ],
"options": {
"alertThreshold": true
},
"datasource": "InfluxDB",
"fieldConfig": { "fieldConfig": {
"defaults": {}, "defaults": {
"overrides": [] "custom": {
}, "drawStyle": "line",
"pluginVersion": "7.5.4", "lineInterpolation": "linear",
"renderer": "flot", "barAlignment": 0,
"yaxes": [ "lineWidth": 1,
{ "fillOpacity": 10,
"label": "Packets per second", "gradientMode": "none",
"show": true, "spanNulls": false,
"logBase": 1, "showPoints": "never",
"pointSize": 5,
"stacking": {
"mode": "none",
"group": "A"
},
"axisPlacement": "auto",
"axisLabel": "Packets per second",
"scaleDistribution": {
"type": "linear"
},
"hideFrom": {
"tooltip": false,
"viz": false,
"legend": false
},
"thresholdsStyle": {
"mode": "off"
}
},
"color": {
"mode": "palette-classic"
},
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"mappings": [],
"unit": "pps",
"min": 0, "min": 0,
"max": null, "decimals": 1
"format": "pps",
"$$hashKey": "object:241"
}, },
{ "overrides": [
"label": null, {
"show": true, "matcher": {
"logBase": 1, "id": "byRegexp",
"min": null, "options": "/trend/"
"max": null, },
"format": "short", "properties": [
"$$hashKey": "object:242" {
} "id": "custom.fillOpacity",
], "value": 0
"xaxis": { },
"show": true, {
"mode": "time", "id": "custom.lineWidth",
"name": null, "value": 4
"values": [], },
"buckets": null {
"id": "custom.lineStyle",
"value": {
"fill": "dash",
"dash": [
4,
10
]
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/veth/"
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"tooltip": true,
"viz": true,
"legend": true
}
}
]
}
]
}, },
"yaxis": { "maxDataPoints": null,
"align": false, "timeFrom": null,
"alignLevel": null "timeShift": null
},
"lines": true,
"fill": 1,
"linewidth": 1,
"dashLength": 10,
"spaceLength": 10,
"pointradius": 2,
"legend": {
"show": true,
"values": true,
"min": false,
"max": true,
"current": true,
"total": false,
"avg": true,
"alignAsTable": true
},
"nullPointMode": "connected",
"tooltip": {
"value_type": "individual",
"shared": true,
"sort": 0
},
"aliasColors": {},
"seriesOverrides": [
{
"$$hashKey": "object:413",
"alias": "/veth/",
"hiddenSeries": true,
"legend": false
},
{
"$$hashKey": "object:442",
"alias": "/trend/",
"fill": 0,
"linewidth": 4,
"dashes": true,
"dashLength": 4
}
],
"thresholds": [],
"timeRegions": [],
"fillGradient": 0,
"dashes": false,
"hiddenSeries": false,
"points": false,
"bars": false,
"stack": false,
"percentage": false,
"steppedLine": false,
"maxDataPoints": 750,
"interval": "30s"
} }

View File

@@ -56,7 +56,8 @@
}, },
"mappings": [], "mappings": [],
"links": [], "links": [],
"unit": "bps" "unit": "bps",
"decimals": 1
}, },
"overrides": [ "overrides": [
{ {
@@ -76,11 +77,11 @@
{ {
"id": "custom.lineStyle", "id": "custom.lineStyle",
"value": { "value": {
"fill": "dash",
"dash": [ "dash": [
4, 4,
10 10
] ],
"fill": "dash"
} }
} }
] ]
@@ -93,18 +94,17 @@
}, },
"legend": { "legend": {
"displayMode": "table", "displayMode": "table",
"placement": "bottom", "placement": "right",
"calcs": [ "calcs": [
"mean",
"lastNotNull",
"max", "max",
"min" "mean",
"lastNotNull"
] ]
} }
}, },
"targets": [ "targets": [
{ {
"alias": "$tag_host: $tag_interface: Inbound Current", "alias": "$tag_host: $tag_interface: RX Current",
"dsType": "influxdb", "dsType": "influxdb",
"groupBy": [ "groupBy": [
{ {
@@ -114,16 +114,16 @@
"type": "time" "type": "time"
}, },
{ {
"type": "tag",
"params": [ "params": [
"host" "host"
] ],
"type": "tag"
}, },
{ {
"type": "tag",
"params": [ "params": [
"interface" "interface"
] ],
"type": "tag"
}, },
{ {
"params": [ "params": [
@@ -178,7 +178,7 @@
] ]
}, },
{ {
"alias": "$tag_host: $tag_interface: Outbound Current", "alias": "$tag_host: $tag_interface: TX Current",
"dsType": "influxdb", "dsType": "influxdb",
"groupBy": [ "groupBy": [
{ {
@@ -188,16 +188,16 @@
"type": "time" "type": "time"
}, },
{ {
"type": "tag",
"params": [ "params": [
"host" "host"
] ],
"type": "tag"
}, },
{ {
"type": "tag",
"params": [ "params": [
"interface" "interface"
] ],
"type": "tag"
}, },
{ {
"params": [ "params": [
@@ -252,7 +252,7 @@
] ]
}, },
{ {
"alias": "$tag_host: $tag_interface: Inbound Trend", "alias": "$tag_host: $tag_interface: RX Trend",
"dsType": "influxdb", "dsType": "influxdb",
"groupBy": [ "groupBy": [
{ {
@@ -262,20 +262,20 @@
"type": "time" "type": "time"
}, },
{ {
"type": "tag",
"params": [ "params": [
"host" "host"
] ],
"type": "tag"
}, },
{ {
"type": "tag",
"params": [ "params": [
"interface" "interface"
] ],
"type": "tag"
}, },
{ {
"params": [ "params": [
"null" "linear"
], ],
"type": "fill" "type": "fill"
} }
@@ -327,7 +327,7 @@
] ]
}, },
{ {
"alias": "$tag_host: $tag_interface: Outbound Trend", "alias": "$tag_host: $tag_interface: TX Trend",
"dsType": "influxdb", "dsType": "influxdb",
"groupBy": [ "groupBy": [
{ {
@@ -337,20 +337,20 @@
"type": "time" "type": "time"
}, },
{ {
"type": "tag",
"params": [ "params": [
"host" "host"
] ],
"type": "tag"
}, },
{ {
"type": "tag",
"params": [ "params": [
"interface" "interface"
] ],
"type": "tag"
}, },
{ {
"params": [ "params": [
"null" "linear"
], ],
"type": "fill" "type": "fill"
} }
@@ -402,8 +402,8 @@
] ]
} }
], ],
"description": "",
"maxDataPoints": null, "maxDataPoints": null,
"timeFrom": null, "timeFrom": null,
"timeShift": null, "timeShift": null
"description": ""
} }

View File

@@ -1,55 +1,30 @@
{ {
"aliasColors": {}, "id": 61873,
"dashLength": 10,
"datasource": "InfluxDB",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"fill": 1,
"gridPos": { "gridPos": {
"x": {{ PANELS.memory_usage_graph.gridPos.x }}, "x": {{ PANELS.memory_usage_graph.gridPos.x }},
"y": {{ PANELS.memory_usage_graph.gridPos.y }}, "y": {{ PANELS.memory_usage_graph.gridPos.y }},
"w": {{ PANELS.memory_usage_graph.gridPos.w }}, "w": {{ PANELS.memory_usage_graph.gridPos.w }},
"h": {{ PANELS.memory_usage_graph.gridPos.h }} "h": {{ PANELS.memory_usage_graph.gridPos.h }}
}, },
"id": 61873, "type": "timeseries",
"legend": { "title": "Memory Usage",
"alignAsTable": true, "datasource": "InfluxDB",
"avg": true, "pluginVersion": "8.2.1",
"current": true, "interval": "30s",
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": { "options": {
"alertThreshold": true "tooltip": {
}, "mode": "single"
"pluginVersion": "7.5.4",
"pointradius": 2,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:295",
"alias": "/total/",
"color": "#C4162A",
"fill": 0
}, },
{ "legend": {
"$$hashKey": "object:164", "displayMode": "table",
"alias": "/trend/", "placement": "right",
"fill": 0, "calcs": [
"linewidth": 4, "max",
"dashes": true, "mean",
"dashLength": 4 "lastNotNull"
]
} }
], },
"spaceLength": 10,
"targets": [ "targets": [
{ {
"alias": "$tag_host: $col", "alias": "$tag_host: $col",
@@ -106,9 +81,10 @@
"type": "fill" "type": "fill"
} }
], ],
"hide": false,
"orderByTime": "ASC", "orderByTime": "ASC",
"policy": "default", "policy": "default",
"query": "SELECT mean(mean_total) as trend_total, mean(mean_used) as trend_used, mean(mean_cached) as trend_cached, mean(mean_free) as trend_free, mean(mean_buffered) as trend_buffered FROM \"so_long_term\".\"mem\" WHERE host =~ /$servername$/ AND $timeFilter GROUP BY time($__interval), host ORDER BY asc", "query": "SELECT mean(mean_total) as trend_total, mean(mean_used) as trend_used, mean(mean_cached) as trend_cached, mean(mean_free) as trend_free, mean(mean_buffered) as trend_buffered FROM \"so_long_term\".\"mem\" WHERE host =~ /$servername$/ AND $timeFilter GROUP BY time($__interval), host fill(linear) ORDER BY asc",
"queryType": "randomWalk", "queryType": "randomWalk",
"rawQuery": true, "rawQuery": true,
"refId": "B", "refId": "B",
@@ -127,61 +103,106 @@
} }
] ]
], ],
"tags": [], "tags": []
"hide": false
} }
], ],
"thresholds": [], "fieldConfig": {
"timeRegions": [], "defaults": {
"title": "Memory Usage", "custom": {
"tooltip": { "drawStyle": "line",
"shared": true, "lineInterpolation": "linear",
"sort": 0, "barAlignment": 0,
"value_type": "individual" "lineWidth": 1,
}, "fillOpacity": 10,
"type": "graph", "gradientMode": "none",
"xaxis": { "spanNulls": false,
"buckets": null, "showPoints": "never",
"mode": "time", "pointSize": 5,
"name": null, "stacking": {
"show": true, "mode": "none",
"values": [] "group": "A"
}, },
"yaxes": [ "axisPlacement": "auto",
{ "axisLabel": "",
"$$hashKey": "object:235", "scaleDistribution": {
"format": "bytes", "type": "linear"
"label": null, },
"logBase": 1, "hideFrom": {
"max": null, "tooltip": false,
"min": "0", "viz": false,
"show": true "legend": false
},
"thresholdsStyle": {
"mode": "off"
}
},
"color": {
"mode": "palette-classic"
},
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"mappings": [],
"unit": "bytes",
"min": 0,
"decimals": 1
}, },
{ "overrides": [
"$$hashKey": "object:236", {
"format": "short", "matcher": {
"label": null, "id": "byRegexp",
"logBase": 1, "options": "/total/"
"max": null, },
"min": null, "properties": [
"show": true {
} "id": "color",
], "value": {
"yaxis": { "fixedColor": "#C4162A",
"align": false, "mode": "fixed"
"alignLevel": null }
},
{
"id": "custom.fillOpacity",
"value": 0
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/trend/"
},
"properties": [
{
"id": "custom.fillOpacity",
"value": 0
},
{
"id": "custom.lineWidth",
"value": 4
},
{
"id": "custom.lineStyle",
"value": {
"fill": "dash",
"dash": [
4,
10
]
}
}
]
}
]
}, },
"bars": false, "maxDataPoints": null,
"dashes": false,
"description": "", "description": "",
"fillGradient": 0,
"hiddenSeries": false,
"percentage": false,
"points": false,
"stack": false,
"steppedLine": false,
"timeFrom": null, "timeFrom": null,
"timeShift": null, "timeShift": null
"maxDataPoints": 750,
"interval": "30s"
} }

View File

@@ -1,263 +1,282 @@
{ {
"type": "graph", "id": 61387,
"title": "Monitor Interface Drops",
"gridPos": { "gridPos": {
"x": {{ PANELS.monitor_interface_drops_graph.gridPos.x }}, "x": {{ PANELS.monitor_interface_drops_graph.gridPos.x }},
"y": {{ PANELS.monitor_interface_drops_graph.gridPos.y }}, "y": {{ PANELS.monitor_interface_drops_graph.gridPos.y }},
"w": {{ PANELS.monitor_interface_drops_graph.gridPos.w }}, "w": {{ PANELS.monitor_interface_drops_graph.gridPos.w }},
"h": {{ PANELS.monitor_interface_drops_graph.gridPos.h }} "h": {{ PANELS.monitor_interface_drops_graph.gridPos.h }}
}, },
"id": 61387, "type": "timeseries",
"title": "Monitor Interface Drops",
"datasource": "InfluxDB",
"pluginVersion": "8.2.1",
"maxDataPoints": 750,
"interval": "30s",
"options": {
"tooltip": {
"mode": "single"
},
"legend": {
"displayMode": "table",
"placement": "bottom",
"calcs": [
"max",
"mean",
"lastNotNull"
]
}
},
"targets": [ "targets": [
{ {
"refId": "A", "alias": "$tag_host: $tag_interface: $col",
"queryType": "randomWalk",
"policy": "default",
"resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [],
"groupBy": [ "groupBy": [
{ {
"type": "time",
"params": [ "params": [
"$__interval" "$__interval"
] ],
"type": "time"
}, },
{ {
"type": "fill",
"params": [ "params": [
"null" "null"
] ],
"type": "fill"
} }
], ],
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT non_negative_derivative(mean(drop_in), 1s) as \"in\" FROM \"net\" WHERE host =~ /$servername/ AND interface =~ /$monint/ AND $timeFilter GROUP BY time($__interval), host,interface fill(none)",
"queryType": "randomWalk",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [ "select": [
[ [
{ {
"type": "field",
"params": [ "params": [
"value" "value"
] ],
"type": "field"
}, },
{ {
"type": "mean", "params": [],
"params": [] "type": "mean"
} }
] ]
], ],
"query": "SELECT non_negative_derivative(mean(drop_in), 1s) as \"in\" FROM \"net\" WHERE host =~ /$servername/ AND interface =~ /$monint/ AND $timeFilter GROUP BY time($__interval), host,interface fill(none)", "tags": []
"rawQuery": true,
"alias": "$tag_host: $tag_interface: $col"
}, },
{ {
"refId": "B", "alias": "$tag_host: $tag_interface: $col",
"hide": false,
"policy": "default",
"resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [],
"groupBy": [ "groupBy": [
{ {
"type": "time",
"params": [ "params": [
"$__interval" "$__interval"
] ],
"type": "time"
}, },
{ {
"type": "fill",
"params": [ "params": [
"null" "null"
] ],
"type": "fill"
} }
], ],
"select": [ "hide": false,
[ "orderByTime": "ASC",
{ "policy": "default",
"type": "field",
"params": [
"value"
]
},
{
"type": "mean",
"params": []
}
]
],
"query": "SELECT non_negative_derivative(mean(drop_out), 1s) as \"out\" FROM \"net\" WHERE host =~ /$servername/ AND interface =~ /$monint/ AND $timeFilter GROUP BY time($__interval), host,interface fill(none)", "query": "SELECT non_negative_derivative(mean(drop_out), 1s) as \"out\" FROM \"net\" WHERE host =~ /$servername/ AND interface =~ /$monint/ AND $timeFilter GROUP BY time($__interval), host,interface fill(none)",
"rawQuery": true, "rawQuery": true,
"alias": "$tag_host: $tag_interface: $col" "refId": "B",
},
{
"refId": "C",
"queryType": "randomWalk",
"policy": "default",
"resultFormat": "time_series", "resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [],
"groupBy": [
{
"type": "time",
"params": [
"$__interval"
]
},
{
"type": "fill",
"params": [
"null"
]
}
],
"select": [ "select": [
[ [
{ {
"type": "field",
"params": [ "params": [
"value" "value"
] ],
"type": "field"
}, },
{ {
"type": "mean", "params": [],
"params": [] "type": "mean"
} }
] ]
], ],
"query": "SELECT non_negative_derivative(mean(mean_drop_in), 1s) as \"trend_in\" FROM \"so_long_term\".\"net\" WHERE host =~ /$servername/ AND interface =~ /$monint/ AND $timeFilter GROUP BY time($__interval), host,interface fill(none)", "tags": []
"rawQuery": true, },
{
"alias": "$tag_host: $tag_interface: $col", "alias": "$tag_host: $tag_interface: $col",
"hide": false
},
{
"refId": "D",
"hide": false,
"policy": "default",
"resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [],
"groupBy": [ "groupBy": [
{ {
"type": "time",
"params": [ "params": [
"$__interval" "$__interval"
] ],
"type": "time"
}, },
{ {
"type": "fill",
"params": [ "params": [
"null" "null"
] ],
"type": "fill"
} }
], ],
"hide": false,
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT non_negative_derivative(mean(mean_drop_in), 1s) as \"trend_in\" FROM \"so_long_term\".\"net\" WHERE host =~ /$servername/ AND interface =~ /$monint/ AND $timeFilter GROUP BY time($__interval), host,interface fill(none)",
"queryType": "randomWalk",
"rawQuery": true,
"refId": "C",
"resultFormat": "time_series",
"select": [ "select": [
[ [
{ {
"type": "field",
"params": [ "params": [
"value" "value"
] ],
"type": "field"
}, },
{ {
"type": "mean", "params": [],
"params": [] "type": "mean"
} }
] ]
], ],
"tags": []
},
{
"alias": "$tag_host: $tag_interface: $col",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT non_negative_derivative(mean(mean_drop_out), 1s) as \"trend_out\" FROM \"so_long_term\".\"net\" WHERE host =~ /$servername/ AND interface =~ /$monint/ AND $timeFilter GROUP BY time($__interval), host,interface fill(none)", "query": "SELECT non_negative_derivative(mean(mean_drop_out), 1s) as \"trend_out\" FROM \"so_long_term\".\"net\" WHERE host =~ /$servername/ AND interface =~ /$monint/ AND $timeFilter GROUP BY time($__interval), host,interface fill(none)",
"rawQuery": true, "rawQuery": true,
"alias": "$tag_host: $tag_interface: $col" "refId": "D",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
} }
], ],
"options": {
"alertThreshold": true
},
"datasource": "InfluxDB",
"fieldConfig": { "fieldConfig": {
"defaults": {}, "defaults": {
"overrides": [] "custom": {
}, "drawStyle": "line",
"pluginVersion": "7.5.4", "lineInterpolation": "linear",
"renderer": "flot", "barAlignment": 0,
"yaxes": [ "lineWidth": 1,
{ "fillOpacity": 10,
"label": "Drops per second", "gradientMode": "none",
"show": true, "spanNulls": false,
"logBase": 1, "showPoints": "never",
"pointSize": 5,
"stacking": {
"mode": "none",
"group": "A"
},
"axisPlacement": "auto",
"axisLabel": "Drops per second",
"scaleDistribution": {
"type": "linear"
},
"hideFrom": {
"tooltip": false,
"viz": false,
"legend": false
},
"thresholdsStyle": {
"mode": "off"
}
},
"color": {
"mode": "palette-classic"
},
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"mappings": [],
"unit": "pps",
"min": 0, "min": 0,
"max": null, "decimals": 1
"format": "pps",
"$$hashKey": "object:500"
}, },
{ "overrides": [
"label": null, {
"show": true, "matcher": {
"logBase": 1, "id": "byRegexp",
"min": null, "options": "/trend/"
"max": null, },
"format": "short", "properties": [
"$$hashKey": "object:501" {
} "id": "custom.fillOpacity",
], "value": 0
"xaxis": { },
"show": true, {
"mode": "time", "id": "custom.lineWidth",
"name": null, "value": 4
"values": [], },
"buckets": null {
"id": "custom.lineStyle",
"value": {
"fill": "dash",
"dash": [
4,
10
]
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/veth/"
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"tooltip": true,
"viz": true,
"legend": true
}
}
]
}
]
}, },
"yaxis": { "timeFrom": null,
"align": false, "timeShift": null
"alignLevel": null
},
"lines": true,
"fill": 1,
"linewidth": 1,
"dashLength": 10,
"spaceLength": 10,
"pointradius": 2,
"legend": {
"show": true,
"values": true,
"min": false,
"max": true,
"current": true,
"total": false,
"avg": true,
"alignAsTable": true
},
"nullPointMode": "connected",
"tooltip": {
"value_type": "individual",
"shared": true,
"sort": 0
},
"aliasColors": {},
"seriesOverrides": [
{
"$$hashKey": "object:592",
"alias": "/veth/",
"hiddenSeries": true,
"legend": false
},
{
"$$hashKey": "object:621",
"alias": "/trend/",
"fill": 0,
"linewidth": 4,
"dashes": true,
"dashLength": 4
}
],
"thresholds": [],
"timeRegions": [],
"fillGradient": 0,
"dashes": false,
"hiddenSeries": false,
"points": false,
"bars": false,
"stack": false,
"percentage": false,
"steppedLine": false,
"decimals": 0,
"maxDataPoints": 750,
"interval": "30s"
} }

View File

@@ -1,262 +1,282 @@
{ {
"type": "graph", "id": 61878,
"title": "Monitor Interface Packets",
"gridPos": { "gridPos": {
"x": {{ PANELS.monitor_interface_packets_graph.gridPos.x }}, "x": {{ PANELS.monitor_interface_packets_graph.gridPos.x }},
"y": {{ PANELS.monitor_interface_packets_graph.gridPos.y }}, "y": {{ PANELS.monitor_interface_packets_graph.gridPos.y }},
"w": {{ PANELS.monitor_interface_packets_graph.gridPos.w }}, "w": {{ PANELS.monitor_interface_packets_graph.gridPos.w }},
"h": {{ PANELS.monitor_interface_packets_graph.gridPos.h }} "h": {{ PANELS.monitor_interface_packets_graph.gridPos.h }}
}, },
"id": 61878, "type": "timeseries",
"title": "Monitor Interface Packets",
"datasource": "InfluxDB",
"pluginVersion": "8.2.1",
"maxDataPoints": 750,
"interval": "30s",
"options": {
"tooltip": {
"mode": "single"
},
"legend": {
"displayMode": "table",
"placement": "bottom",
"calcs": [
"max",
"mean",
"last"
]
}
},
"targets": [ "targets": [
{ {
"refId": "A", "alias": "$tag_host: $tag_interface: $col",
"queryType": "randomWalk",
"policy": "default",
"resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [],
"groupBy": [ "groupBy": [
{ {
"type": "time",
"params": [ "params": [
"$__interval" "$__interval"
] ],
"type": "time"
}, },
{ {
"type": "fill",
"params": [ "params": [
"null" "null"
] ],
"type": "fill"
} }
], ],
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT non_negative_derivative(mean(packets_recv), 1s) as \"in\" FROM \"net\" WHERE host =~ /$servername/ AND interface =~ /$monint/ AND $timeFilter GROUP BY time($__interval), * fill(none)",
"queryType": "randomWalk",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [ "select": [
[ [
{ {
"type": "field",
"params": [ "params": [
"value" "value"
] ],
"type": "field"
}, },
{ {
"type": "mean", "params": [],
"params": [] "type": "mean"
} }
] ]
], ],
"query": "SELECT non_negative_derivative(mean(packets_recv), 1s) as \"in\" FROM \"net\" WHERE host =~ /$servername/ AND interface =~ /$monint/ AND $timeFilter GROUP BY time($__interval), * fill(none)", "tags": []
"rawQuery": true,
"alias": "$tag_host: $tag_interface: $col"
}, },
{ {
"refId": "B", "alias": "$tag_host: $tag_interface: $col",
"hide": false,
"policy": "default",
"resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [],
"groupBy": [ "groupBy": [
{ {
"type": "time",
"params": [ "params": [
"$__interval" "$__interval"
] ],
"type": "time"
}, },
{ {
"type": "fill",
"params": [ "params": [
"null" "null"
] ],
"type": "fill"
} }
], ],
"select": [ "hide": false,
[ "orderByTime": "ASC",
{ "policy": "default",
"type": "field",
"params": [
"value"
]
},
{
"type": "mean",
"params": []
}
]
],
"query": "SELECT non_negative_derivative(mean(packets_sent), 1s) as \"out\" FROM \"net\" WHERE host =~ /$servername/ AND interface =~ /$monint/ AND $timeFilter GROUP BY time($__interval), * fill(none)", "query": "SELECT non_negative_derivative(mean(packets_sent), 1s) as \"out\" FROM \"net\" WHERE host =~ /$servername/ AND interface =~ /$monint/ AND $timeFilter GROUP BY time($__interval), * fill(none)",
"rawQuery": true, "rawQuery": true,
"alias": "$tag_host: $tag_interface: $col" "refId": "B",
},
{
"refId": "C",
"queryType": "randomWalk",
"policy": "default",
"resultFormat": "time_series", "resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [],
"groupBy": [
{
"type": "time",
"params": [
"$__interval"
]
},
{
"type": "fill",
"params": [
"null"
]
}
],
"select": [ "select": [
[ [
{ {
"type": "field",
"params": [ "params": [
"value" "value"
] ],
"type": "field"
}, },
{ {
"type": "mean", "params": [],
"params": [] "type": "mean"
} }
] ]
], ],
"query": "SELECT non_negative_derivative(mean(mean_packets_recv), 1s) as \"trend_in\" FROM \"so_long_term\".\"net\" WHERE host =~ /$servername/ AND interface =~ /$monint/ AND $timeFilter GROUP BY time($__interval), * fill(none)", "tags": []
"rawQuery": true, },
{
"alias": "$tag_host: $tag_interface: $col", "alias": "$tag_host: $tag_interface: $col",
"hide": false
},
{
"refId": "D",
"hide": false,
"policy": "default",
"resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [],
"groupBy": [ "groupBy": [
{ {
"type": "time",
"params": [ "params": [
"$__interval" "$__interval"
] ],
"type": "time"
}, },
{ {
"type": "fill",
"params": [ "params": [
"null" "null"
] ],
"type": "fill"
} }
], ],
"hide": false,
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT non_negative_derivative(mean(mean_packets_recv), 1s) as \"trend_in\" FROM \"so_long_term\".\"net\" WHERE host =~ /$servername/ AND interface =~ /$monint/ AND $timeFilter GROUP BY time($__interval), * fill(none)",
"queryType": "randomWalk",
"rawQuery": true,
"refId": "C",
"resultFormat": "time_series",
"select": [ "select": [
[ [
{ {
"type": "field",
"params": [ "params": [
"value" "value"
] ],
"type": "field"
}, },
{ {
"type": "mean", "params": [],
"params": [] "type": "mean"
} }
] ]
], ],
"tags": []
},
{
"alias": "$tag_host: $tag_interface: $col",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT non_negative_derivative(mean(mean_packets_sent), 1s) as \"trend_out\" FROM \"so_long_term\".\"net\" WHERE host =~ /$servername/ AND interface =~ /$monint/ AND $timeFilter GROUP BY time($__interval), * fill(none)", "query": "SELECT non_negative_derivative(mean(mean_packets_sent), 1s) as \"trend_out\" FROM \"so_long_term\".\"net\" WHERE host =~ /$servername/ AND interface =~ /$monint/ AND $timeFilter GROUP BY time($__interval), * fill(none)",
"rawQuery": true, "rawQuery": true,
"alias": "$tag_host: $tag_interface: $col" "refId": "D",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
} }
], ],
"options": {
"alertThreshold": true
},
"datasource": "InfluxDB",
"fieldConfig": { "fieldConfig": {
"defaults": {}, "defaults": {
"overrides": [] "custom": {
}, "drawStyle": "line",
"pluginVersion": "7.5.4", "lineInterpolation": "linear",
"renderer": "flot", "barAlignment": 0,
"yaxes": [ "lineWidth": 1,
{ "fillOpacity": 10,
"label": "Packets per second", "gradientMode": "none",
"show": true, "spanNulls": false,
"logBase": 1, "showPoints": "never",
"pointSize": 5,
"stacking": {
"mode": "none",
"group": "A"
},
"axisPlacement": "auto",
"axisLabel": "Packets per second",
"scaleDistribution": {
"type": "linear"
},
"hideFrom": {
"tooltip": false,
"viz": false,
"legend": false
},
"thresholdsStyle": {
"mode": "off"
}
},
"color": {
"mode": "palette-classic"
},
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"mappings": [],
"unit": "pps",
"min": 0, "min": 0,
"max": null, "decimals": 1
"format": "pps",
"$$hashKey": "object:241"
}, },
{ "overrides": [
"label": null, {
"show": true, "matcher": {
"logBase": 1, "id": "byRegexp",
"min": null, "options": "/trend/"
"max": null, },
"format": "short", "properties": [
"$$hashKey": "object:242" {
} "id": "custom.fillOpacity",
], "value": 0
"xaxis": { },
"show": true, {
"mode": "time", "id": "custom.lineWidth",
"name": null, "value": 4
"values": [], },
"buckets": null {
"id": "custom.lineStyle",
"value": {
"fill": "dash",
"dash": [
4,
10
]
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/veth/"
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"tooltip": true,
"viz": true,
"legend": true
}
}
]
}
]
}, },
"yaxis": { "timeFrom": null,
"align": false, "timeShift": null
"alignLevel": null
},
"lines": true,
"fill": 1,
"linewidth": 1,
"dashLength": 10,
"spaceLength": 10,
"pointradius": 2,
"legend": {
"show": true,
"values": true,
"min": false,
"max": true,
"current": true,
"total": false,
"avg": true,
"alignAsTable": true
},
"nullPointMode": "connected",
"tooltip": {
"value_type": "individual",
"shared": true,
"sort": 0
},
"aliasColors": {},
"seriesOverrides": [
{
"$$hashKey": "object:413",
"alias": "/veth/",
"hiddenSeries": true,
"legend": false
},
{
"$$hashKey": "object:442",
"alias": "/trend/",
"fill": 0,
"linewidth": 4,
"dashes": true,
"dashLength": 4
}
],
"thresholds": [],
"timeRegions": [],
"fillGradient": 0,
"dashes": false,
"hiddenSeries": false,
"points": false,
"bars": false,
"stack": false,
"percentage": false,
"steppedLine": false,
"maxDataPoints": 750,
"interval": "30s"
} }

View File

@@ -56,7 +56,8 @@
}, },
"mappings": [], "mappings": [],
"links": [], "links": [],
"unit": "bps" "unit": "bps",
"decimals": 1
}, },
"overrides": [ "overrides": [
{ {
@@ -76,11 +77,27 @@
{ {
"id": "custom.lineStyle", "id": "custom.lineStyle",
"value": { "value": {
"fill": "dash",
"dash": [ "dash": [
4, 4,
10 10
] ],
"fill": "dash"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/veth/"
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"tooltip": true,
"viz": true,
"legend": true
} }
} }
] ]
@@ -93,18 +110,17 @@
}, },
"legend": { "legend": {
"displayMode": "table", "displayMode": "table",
"placement": "bottom", "placement": "right",
"calcs": [ "calcs": [
"mean",
"lastNotNull",
"max", "max",
"min" "mean",
"last"
] ]
} }
}, },
"targets": [ "targets": [
{ {
"alias": "$tag_host: $tag_interface: Inbound Current", "alias": "$tag_host: $tag_interface: RX Current",
"dsType": "influxdb", "dsType": "influxdb",
"groupBy": [ "groupBy": [
{ {
@@ -114,16 +130,16 @@
"type": "time" "type": "time"
}, },
{ {
"type": "tag",
"params": [ "params": [
"host" "host"
] ],
"type": "tag"
}, },
{ {
"type": "tag",
"params": [ "params": [
"interface" "interface"
] ],
"type": "tag"
}, },
{ {
"params": [ "params": [
@@ -178,7 +194,7 @@
] ]
}, },
{ {
"alias": "$tag_host: $tag_interface: Inbound Trend", "alias": "$tag_host: $tag_interface: RX Trend",
"dsType": "influxdb", "dsType": "influxdb",
"groupBy": [ "groupBy": [
{ {
@@ -188,16 +204,16 @@
"type": "time" "type": "time"
}, },
{ {
"type": "tag",
"params": [ "params": [
"host" "host"
] ],
"type": "tag"
}, },
{ {
"type": "tag",
"params": [ "params": [
"interface" "interface"
] ],
"type": "tag"
}, },
{ {
"params": [ "params": [
@@ -253,8 +269,8 @@
] ]
} }
], ],
"description": "",
"maxDataPoints": null, "maxDataPoints": null,
"timeFrom": null, "timeFrom": null,
"timeShift": null, "timeShift": null
"description": ""
} }

View File

@@ -1,56 +1,69 @@
{ {
"colorValue": true, "id": 12,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "InfluxDB",
"editable": true,
"format": "percent",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": { "gridPos": {
"x": {{ PANELS.nsm_used_guage.gridPos.x }}, "x": {{ PANELS.nsm_used_guage.gridPos.x }},
"y": {{ PANELS.nsm_used_guage.gridPos.y }}, "y": {{ PANELS.nsm_used_guage.gridPos.y }},
"w": {{ PANELS.nsm_used_guage.gridPos.w }}, "w": {{ PANELS.nsm_used_guage.gridPos.w }},
"h": {{ PANELS.nsm_used_guage.gridPos.h }} "h": {{ PANELS.nsm_used_guage.gridPos.h }}
}, },
"height": "150", "type": "gauge",
"id": 12, "title": "NSM used",
"datasource": "InfluxDB",
"pluginVersion": "8.2.1",
"links": [], "links": [],
"mappingType": 1, "fieldConfig": {
"mappingTypes": [ "defaults": {
{ "thresholds": {
"name": "value to text", "mode": "absolute",
"value": 1 "steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 85
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 95
}
]
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"color": {
"mode": "thresholds"
},
"decimals": 0,
"max": 100,
"min": 0,
"unit": "percent"
}, },
{ "overrides": []
"name": "range to text", },
"value": 2 "interval": "30",
} "options": {
], "reduceOptions": {
"maxDataPoints": 100, "values": false,
"nullPointMode": "connected", "calcs": [
"postfixFontSize": "50%", "lastNotNull"
"prefixFontSize": "50%", ],
"rangeMaps": [ "fields": ""
{ },
"from": "null", "orientation": "horizontal",
"text": "N/A", "showThresholdLabels": false,
"to": "null" "showThresholdMarkers": true,
} "text": {}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
}, },
"targets": [ "targets": [
{ {
@@ -70,6 +83,7 @@
} }
], ],
"measurement": "disk", "measurement": "disk",
"orderByTime": "ASC",
"policy": "default", "policy": "default",
"refId": "A", "refId": "A",
"resultFormat": "time_series", "resultFormat": "time_series",
@@ -90,8 +104,8 @@
"tags": [ "tags": [
{ {
"key": "host", "key": "host",
"operator": "=~", "operator": "=",
"value": "/^$servername$/" "value": "$servername"
}, },
{ {
"condition": "AND", "condition": "AND",
@@ -99,33 +113,9 @@
"operator": "=", "operator": "=",
"value": "/nsm" "value": "/nsm"
} }
], ]
"orderByTime": "ASC"
} }
], ],
"thresholds": "85,95,100", "maxDataPoints": null,
"title": "NSM used", "cacheTimeout": null
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"cacheTimeout": null,
"colorBackground": false,
"decimals": 0,
"error": false,
"interval": null,
"nullText": null,
"postfix": "",
"prefix": "",
"tableColumn": ""
} }

View File

@@ -1,5 +1,16 @@
{ {
"id": 26,
"gridPos": {
"x": {{ PANELS.pcap_retention_stat.gridPos.x }},
"y": {{ PANELS.pcap_retention_stat.gridPos.y }},
"w": {{ PANELS.pcap_retention_stat.gridPos.w }},
"h": {{ PANELS.pcap_retention_stat.gridPos.h }}
},
"type": "stat",
"title": "PCAP Retention",
"datasource": "InfluxDB", "datasource": "InfluxDB",
"pluginVersion": "8.2.1",
"links": [],
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"thresholds": { "thresholds": {
@@ -13,31 +24,39 @@
}, },
"mappings": [ "mappings": [
{ {
"op": "=", "options": {
"text": "N/A", "match": "null",
"value": "null", "result": {
"$$hashKey": "object:1382", "text": "N/A"
"id": 0, }
"type": 1 },
"type": "special"
} }
], ],
"unit": "d",
"decimals": 2,
"color": { "color": {
"mode": "thresholds" "mode": "thresholds"
} },
"decimals": 2,
"unit": "d"
}, },
"overrides": [] "overrides": []
}, },
"gridPos": { "interval": "30",
"x": {{ PANELS.pcap_retention_stat.gridPos.x }}, "options": {
"y": {{ PANELS.pcap_retention_stat.gridPos.y }}, "reduceOptions": {
"w": {{ PANELS.pcap_retention_stat.gridPos.w }}, "values": false,
"h": {{ PANELS.pcap_retention_stat.gridPos.h }} "calcs": [
"lastNotNull"
],
"fields": ""
},
"orientation": "horizontal",
"text": {},
"textMode": "value",
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto"
}, },
"id": 26,
"links": [],
"maxDataPoints": 100,
"targets": [ "targets": [
{ {
"dsType": "influxdb", "dsType": "influxdb",
@@ -89,24 +108,6 @@
] ]
} }
], ],
"title": "PCAP Retention", "maxDataPoints": null,
"type": "stat", "cacheTimeout": null
"options": {
"reduceOptions": {
"values": false,
"calcs": [
"lastNotNull"
],
"fields": ""
},
"orientation": "horizontal",
"text": {},
"textMode": "value",
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto"
},
"cacheTimeout": null,
"interval": null,
"pluginVersion": "7.5.4"
} }

View File

@@ -1,57 +1,107 @@
{ {
"aliasColors": {}, "id": 61852,
"dashLength": 10,
"datasource": "InfluxDB",
"editable": true,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"gridPos": { "gridPos": {
"x": {{ PANELS.process_status_graph.gridPos.x }}, "x": {{ PANELS.process_status_graph.gridPos.x }},
"y": {{ PANELS.process_status_graph.gridPos.y }}, "y": {{ PANELS.process_status_graph.gridPos.y }},
"w": {{ PANELS.process_status_graph.gridPos.w }}, "w": {{ PANELS.process_status_graph.gridPos.w }},
"h": {{ PANELS.process_status_graph.gridPos.h }} "h": {{ PANELS.process_status_graph.gridPos.h }}
}, },
"height": "350", "type": "timeseries",
"id": 61852, "title": "Process Status",
"legend": { "datasource": "InfluxDB",
"alignAsTable": true, "pluginVersion": "8.2.1",
"avg": true, "interval": "30s",
"current": true,
"hideEmpty": true,
"hideZero": true,
"max": true,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [], "links": [],
"nullPointMode": "connected", "fieldConfig": {
"options": { "defaults": {
"alertThreshold": true "custom": {
"drawStyle": "line",
"lineInterpolation": "linear",
"barAlignment": 0,
"lineWidth": 1,
"fillOpacity": 10,
"gradientMode": "none",
"spanNulls": false,
"showPoints": "never",
"pointSize": 5,
"stacking": {
"mode": "none",
"group": "A"
},
"axisPlacement": "auto",
"axisLabel": "",
"scaleDistribution": {
"type": "linear"
},
"hideFrom": {
"tooltip": false,
"viz": false,
"legend": false
},
"thresholdsStyle": {
"mode": "off"
}
},
"color": {
"mode": "palette-classic"
},
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"mappings": [],
"links": [],
"unit": "short",
"decimals": 1
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/trend/"
},
"properties": [
{
"id": "custom.fillOpacity",
"value": 0
},
{
"id": "custom.lineWidth",
"value": 4
},
{
"id": "custom.lineStyle",
"value": {
"fill": "dash",
"dash": [
4,
10
]
}
}
]
}
]
}, },
"pluginVersion": "7.5.4", "options": {
"pointradius": 5, "tooltip": {
"renderer": "flot", "mode": "single"
"seriesOverrides": [ },
{ "legend": {
"$$hashKey": "object:549", "displayMode": "table",
"alias": "/trend/", "placement": "bottom",
"fill": 0, "calcs": [
"linewidth": 4, "max",
"dashes": true, "mean",
"dashLength": 4 "lastNotNull"
]
} }
], },
"spaceLength": 10,
"targets": [ "targets": [
{ {
"alias": "$tag_host: $col", "alias": "$tag_host: $col",
@@ -71,6 +121,7 @@
} }
], ],
"measurement": "processes", "measurement": "processes",
"orderByTime": "ASC",
"policy": "default", "policy": "default",
"query": "SELECT mean(running) as running, mean(blocked) as blocked, mean(sleeping) as sleeping, mean(stopped) as stopped, mean(zombies) as zombies, mean(paging) as paging, mean(unknown) as unknown FROM \"processes\" WHERE host =~ /$servername$/ AND $timeFilter GROUP BY time($__interval), host ORDER BY asc", "query": "SELECT mean(running) as running, mean(blocked) as blocked, mean(sleeping) as sleeping, mean(stopped) as stopped, mean(zombies) as zombies, mean(paging) as paging, mean(unknown) as unknown FROM \"processes\" WHERE host =~ /$servername$/ AND $timeFilter GROUP BY time($__interval), host ORDER BY asc",
"rawQuery": true, "rawQuery": true,
@@ -96,8 +147,7 @@
"operator": "=~", "operator": "=~",
"value": "/^$server$/" "value": "/^$server$/"
} }
], ]
"orderByTime": "ASC"
}, },
{ {
"alias": "$tag_host: $col", "alias": "$tag_host: $col",
@@ -116,9 +166,11 @@
"type": "fill" "type": "fill"
} }
], ],
"hide": false,
"measurement": "processes", "measurement": "processes",
"orderByTime": "ASC",
"policy": "default", "policy": "default",
"query": "SELECT mean(mean_running) as trend_running, mean(mean_blocked) as trend_blocked, mean(mean_sleeping) as trend_sleeping, mean(mean_stopped) as trend_stopped, mean(mean_zombies) as trend_zombies, mean(mean_paging) as trend_paging, mean(mean_unknown) as trend_unknown FROM \"so_long_term\".\"processes\" WHERE host =~ /$servername$/ AND $timeFilter GROUP BY time($__interval), host ORDER BY asc", "query": "SELECT mean(mean_running) as trend_running, mean(mean_blocked) as trend_blocked, mean(mean_sleeping) as trend_sleeping, mean(mean_stopped) as trend_stopped, mean(mean_zombies) as trend_zombies, mean(mean_paging) as trend_paging, mean(mean_unknown) as trend_unknown FROM \"so_long_term\".\"processes\" WHERE host =~ /$servername$/ AND $timeFilter GROUP BY time($__interval), host fill(linear) ORDER BY asc",
"rawQuery": true, "rawQuery": true,
"refId": "A", "refId": "A",
"resultFormat": "time_series", "resultFormat": "time_series",
@@ -142,63 +194,10 @@
"operator": "=~", "operator": "=~",
"value": "/^$server$/" "value": "/^$server$/"
} }
], ]
"orderByTime": "ASC",
"hide": false
} }
], ],
"thresholds": [], "maxDataPoints": null,
"timeRegions": [],
"title": "Process Status",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true,
"$$hashKey": "object:512"
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true,
"$$hashKey": "object:513"
}
],
"yaxis": {
"align": false,
"alignLevel": null
},
"bars": false,
"dashes": false,
"error": false,
"fillGradient": 0,
"hiddenSeries": false,
"percentage": false,
"points": false,
"stack": false,
"steppedLine": false,
"timeFrom": null, "timeFrom": null,
"timeShift": null, "timeShift": null
"maxDataPoints": 750,
"interval": "30s"
} }

View File

@@ -1,65 +1,69 @@
{ {
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "InfluxDB",
"editable": true,
"error": false,
"format": "percent",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"x": {{ PANELS.ram_usage_guage.gridPos.x }},
"y": {{ PANELS.ram_usage_guage.gridPos.y }},
"w": {{ PANELS.ram_usage_guage.gridPos.w }},
"h": {{ PANELS.ram_usage_guage.gridPos.h }}
},
"height": "150",
"id": 61860, "id": 61860,
"interval": null, "gridPos": {
"links": [], "x": {{ PANELS.ram_usage_guage.gridPos.x }},
"mappingType": 1, "y": {{ PANELS.ram_usage_guage.gridPos.y }},
"mappingTypes": [ "w": {{ PANELS.ram_usage_guage.gridPos.w }},
{ "h": {{ PANELS.ram_usage_guage.gridPos.h }}
"name": "value to text", },
"value": 1 "type": "gauge",
}, "title": "RAM usage",
{ "datasource": "InfluxDB",
"name": "range to text", "pluginVersion": "8.2.1",
"value": 2 "links": [],
} "fieldConfig": {
], "defaults": {
"maxDataPoints": 100, "thresholds": {
"nullPointMode": "connected", "mode": "absolute",
"nullText": null, "steps": [
"postfix": "", {
"postfixFontSize": "50%", "color": "rgba(50, 172, 45, 0.97)",
"prefix": "", "value": null
"prefixFontSize": "50%", },
"rangeMaps": [ {
{ "color": "rgba(237, 129, 40, 0.89)",
"from": "null", "value": 70
"text": "N/A", },
"to": "null" {
} "color": "rgba(245, 54, 54, 0.9)",
], "value": 80
"sparkline": { }
"fillColor": "rgba(31, 118, 189, 0.18)", ]
"full": false, },
"lineColor": "rgb(31, 120, 193)", "mappings": [
"show": false {
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"color": {
"mode": "thresholds"
},
"max": 100,
"min": 0,
"unit": "percent"
},
"overrides": []
},
"interval": "30",
"options": {
"reduceOptions": {
"values": false,
"calcs": [
"lastNotNull"
],
"fields": ""
},
"orientation": "horizontal",
"showThresholdLabels": false,
"showThresholdMarkers": true,
"text": {}
}, },
"tableColumn": "",
"targets": [ "targets": [
{ {
"dsType": "influxdb", "dsType": "influxdb",
@@ -98,26 +102,13 @@
"tags": [ "tags": [
{ {
"key": "host", "key": "host",
"operator": "=~", "operator": "=",
"value": "/^$servername$/" "value": "$servername"
} }
] ],
"orderByTime": "ASC"
} }
], ],
"thresholds": "70,80,90", "maxDataPoints": null,
"title": "RAM usage", "cacheTimeout": null
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current",
"fieldConfig": {
"defaults": {},
"overrides": []
}
} }

View File

@@ -1,56 +1,69 @@
{ {
"colorValue": true, "id": 61866,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "InfluxDB",
"editable": true,
"format": "percent",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": { "gridPos": {
"x": {{ PANELS.rootfs_used_guage.gridPos.x }}, "x": {{ PANELS.rootfs_used_guage.gridPos.x }},
"y": {{ PANELS.rootfs_used_guage.gridPos.y }}, "y": {{ PANELS.rootfs_used_guage.gridPos.y }},
"w": {{ PANELS.rootfs_used_guage.gridPos.w }}, "w": {{ PANELS.rootfs_used_guage.gridPos.w }},
"h": {{ PANELS.rootfs_used_guage.gridPos.h }} "h": {{ PANELS.rootfs_used_guage.gridPos.h }}
}, },
"height": "150", "type": "gauge",
"id": 61866, "title": "RootFS used",
"datasource": "InfluxDB",
"pluginVersion": "8.2.1",
"links": [], "links": [],
"mappingType": 1, "fieldConfig": {
"mappingTypes": [ "defaults": {
{ "thresholds": {
"name": "value to text", "mode": "absolute",
"value": 1 "steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 70
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 80
}
]
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"color": {
"mode": "thresholds"
},
"decimals": 0,
"max": 100,
"min": 0,
"unit": "percent"
}, },
{ "overrides": []
"name": "range to text", },
"value": 2 "interval": "30",
} "options": {
], "reduceOptions": {
"maxDataPoints": 100, "values": false,
"nullPointMode": "connected", "calcs": [
"postfixFontSize": "50%", "lastNotNull"
"prefixFontSize": "50%", ],
"rangeMaps": [ "fields": ""
{ },
"from": "null", "orientation": "horizontal",
"text": "N/A", "showThresholdLabels": false,
"to": "null" "showThresholdMarkers": true,
} "text": {}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
}, },
"targets": [ "targets": [
{ {
@@ -70,6 +83,7 @@
} }
], ],
"measurement": "disk", "measurement": "disk",
"orderByTime": "ASC",
"policy": "default", "policy": "default",
"refId": "A", "refId": "A",
"resultFormat": "time_series", "resultFormat": "time_series",
@@ -90,8 +104,8 @@
"tags": [ "tags": [
{ {
"key": "host", "key": "host",
"operator": "=~", "operator": "=",
"value": "/^$servername$/" "value": "$servername"
}, },
{ {
"condition": "AND", "condition": "AND",
@@ -99,33 +113,9 @@
"operator": "=", "operator": "=",
"value": "/" "value": "/"
} }
], ]
"orderByTime": "ASC"
} }
], ],
"thresholds": "70,80,90", "maxDataPoints": null,
"title": "RootFS used", "cacheTimeout": null
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"cacheTimeout": null,
"colorBackground": false,
"decimals": 0,
"error": false,
"interval": null,
"nullText": null,
"postfix": "",
"prefix": "",
"tableColumn": ""
} }

View File

@@ -1,180 +1,187 @@
{ {
"type": "graph", "id": 68890,
"title": "Swap I/O Bytes",
"gridPos": { "gridPos": {
"x": {{ PANELS.swap_io_bytes_graph.gridPos.x }}, "x": {{ PANELS.swap_io_bytes_graph.gridPos.x }},
"y": {{ PANELS.swap_io_bytes_graph.gridPos.y }}, "y": {{ PANELS.swap_io_bytes_graph.gridPos.y }},
"w": {{ PANELS.swap_io_bytes_graph.gridPos.w }}, "w": {{ PANELS.swap_io_bytes_graph.gridPos.w }},
"h": {{ PANELS.swap_io_bytes_graph.gridPos.h }} "h": {{ PANELS.swap_io_bytes_graph.gridPos.h }}
}, },
"id": 68890, "type": "timeseries",
"title": "Swap I/O Bytes",
"datasource": "InfluxDB",
"pluginVersion": "8.2.1",
"interval": "30s",
"options": {
"tooltip": {
"mode": "single"
},
"legend": {
"displayMode": "table",
"placement": "bottom",
"calcs": [
"max",
"mean",
"lastNotNull"
]
}
},
"targets": [ "targets": [
{ {
"refId": "A",
"queryType": "randomWalk",
"policy": "default",
"resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [],
"groupBy": [
{
"type": "time",
"params": [
"$__interval"
]
},
{
"type": "fill",
"params": [
"null"
]
}
],
"select": [
[
{
"type": "field",
"params": [
"value"
]
},
{
"type": "mean",
"params": []
}
]
],
"query": "SELECT non_negative_derivative(mean(\"in\")) as \"in\", non_negative_derivative(mean(\"out\")) as \"out\" FROM \"swap\" WHERE host =~ /$servername$/ AND $timeFilter GROUP BY time($__interval), host ORDER BY asc",
"rawQuery": true,
"alias": "$tag_host: $col"
},
{
"refId": "B",
"queryType": "randomWalk",
"policy": "default",
"resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [],
"groupBy": [
{
"type": "time",
"params": [
"$__interval"
]
},
{
"type": "fill",
"params": [
"null"
]
}
],
"select": [
[
{
"type": "field",
"params": [
"value"
]
},
{
"type": "mean",
"params": []
}
]
],
"query": "SELECT non_negative_derivative(mean(\"mean_in\")) as \"trend_in\", non_negative_derivative(mean(\"mean_out\")) as \"trend_out\" FROM \"so_long_term\".\"swap\" WHERE host =~ /$servername$/ AND $timeFilter GROUP BY time($__interval), host ORDER BY asc",
"rawQuery": true,
"alias": "$tag_host: $col", "alias": "$tag_host: $col",
"hide": false "groupBy": [
} {
], "params": [
"options": { "$__interval"
"alertThreshold": true ],
}, "type": "time"
"datasource": "InfluxDB", },
"fieldConfig": { {
"defaults": {}, "params": [
"overrides": [] "null"
}, ],
"pluginVersion": "7.5.4", "type": "fill"
"renderer": "flot", }
"yaxes": [ ],
{ "orderByTime": "ASC",
"label": null, "policy": "default",
"show": true, "query": "SELECT non_negative_derivative(mean(\"in\")) as \"in\", non_negative_derivative(mean(\"out\")) as \"out\" FROM \"swap\" WHERE host =~ /$servername$/ AND $timeFilter GROUP BY time($__interval), host ORDER BY asc",
"logBase": 1, "queryType": "randomWalk",
"min": null, "rawQuery": true,
"max": null, "refId": "A",
"format": "bytes", "resultFormat": "time_series",
"$$hashKey": "object:156" "select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}, },
{ {
"label": null, "alias": "$tag_host: $col",
"show": true, "groupBy": [
"logBase": 1, {
"min": null, "params": [
"max": null, "$__interval"
"format": "short", ],
"$$hashKey": "object:157" "type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT non_negative_derivative(mean(\"mean_in\")) as \"trend_in\", non_negative_derivative(mean(\"mean_out\")) as \"trend_out\" FROM \"so_long_term\".\"swap\" WHERE host =~ /$servername$/ AND $timeFilter GROUP BY time($__interval), host fill(linear) ORDER BY asc",
"queryType": "randomWalk",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
} }
], ],
"xaxis": { "fieldConfig": {
"show": true, "defaults": {
"mode": "time", "custom": {
"name": null, "drawStyle": "line",
"values": [], "lineInterpolation": "linear",
"buckets": null "barAlignment": 0,
"lineWidth": 1,
"fillOpacity": 10,
"gradientMode": "none",
"spanNulls": false,
"showPoints": "never",
"pointSize": 5,
"stacking": {
"mode": "none",
"group": "A"
},
"axisPlacement": "auto",
"axisLabel": "",
"scaleDistribution": {
"type": "linear"
},
"hideFrom": {
"tooltip": false,
"viz": false,
"legend": false
},
"thresholdsStyle": {
"mode": "off"
}
},
"color": {
"mode": "palette-classic"
},
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"mappings": [],
"unit": "bytes",
"decimals": 1
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/trend/"
},
"properties": [
{
"id": "custom.fillOpacity",
"value": 0
},
{
"id": "custom.lineWidth",
"value": 4
},
{
"id": "custom.lineStyle",
"value": {
"fill": "dash",
"dash": [
4,
10
]
}
}
]
}
]
}, },
"yaxis": { "maxDataPoints": null,
"align": false,
"alignLevel": null
},
"lines": true,
"fill": 1,
"linewidth": 1,
"dashLength": 10,
"spaceLength": 10,
"pointradius": 2,
"legend": {
"show": true,
"values": true,
"min": false,
"max": true,
"current": true,
"total": false,
"avg": true,
"alignAsTable": true
},
"nullPointMode": "connected",
"tooltip": {
"value_type": "individual",
"shared": true,
"sort": 0
},
"aliasColors": {},
"seriesOverrides": [
{
"$$hashKey": "object:322",
"alias": "/trend/",
"fill": 0,
"linewidth": 4,
"dashes": true,
"dashLength": 4
}
],
"thresholds": [],
"timeRegions": [],
"fillGradient": 0,
"dashes": false,
"hiddenSeries": false,
"points": false,
"bars": false,
"stack": false,
"percentage": false,
"steppedLine": false,
"timeFrom": null, "timeFrom": null,
"timeShift": null, "timeShift": null
"maxDataPoints": 750,
"interval": "30s"
} }

View File

@@ -1,66 +1,70 @@
{ {
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "InfluxDB",
"decimals": 0,
"editable": true,
"error": false,
"format": "percent",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"x": {{ PANELS.swap_usage_guage.gridPos.x }},
"y": {{ PANELS.swap_usage_guage.gridPos.y }},
"w": {{ PANELS.swap_usage_guage.gridPos.w }},
"h": {{ PANELS.swap_usage_guage.gridPos.h }}
},
"height": "150",
"id": 61863, "id": 61863,
"interval": null, "gridPos": {
"links": [], "x": {{ PANELS.swap_usage_guage.gridPos.x }},
"mappingType": 1, "y": {{ PANELS.swap_usage_guage.gridPos.y }},
"mappingTypes": [ "w": {{ PANELS.swap_usage_guage.gridPos.w }},
{ "h": {{ PANELS.swap_usage_guage.gridPos.h }}
"name": "value to text", },
"value": 1 "type": "gauge",
}, "title": "Swap usage",
{ "datasource": "InfluxDB",
"name": "range to text", "pluginVersion": "8.2.1",
"value": 2 "links": [],
} "fieldConfig": {
], "defaults": {
"maxDataPoints": 100, "thresholds": {
"nullPointMode": "connected", "mode": "absolute",
"nullText": null, "steps": [
"postfix": "", {
"postfixFontSize": "50%", "color": "rgba(50, 172, 45, 0.97)",
"prefix": "", "value": null
"prefixFontSize": "50%", },
"rangeMaps": [ {
{ "color": "rgba(237, 129, 40, 0.89)",
"from": "null", "value": 50
"text": "N/A", },
"to": "null" {
} "color": "rgba(245, 54, 54, 0.9)",
], "value": 70
"sparkline": { }
"fillColor": "rgba(31, 118, 189, 0.18)", ]
"full": false, },
"lineColor": "rgb(31, 120, 193)", "mappings": [
"show": false {
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"color": {
"mode": "thresholds"
},
"decimals": 0,
"max": 100,
"min": 0,
"unit": "percent"
},
"overrides": []
},
"interval": "30",
"options": {
"reduceOptions": {
"values": false,
"calcs": [
"lastNotNull"
],
"fields": ""
},
"orientation": "horizontal",
"showThresholdLabels": false,
"showThresholdMarkers": true,
"text": {}
}, },
"tableColumn": "",
"targets": [ "targets": [
{ {
"dsType": "influxdb", "dsType": "influxdb",
@@ -99,26 +103,13 @@
"tags": [ "tags": [
{ {
"key": "host", "key": "host",
"operator": "=~", "operator": "=",
"value": "/^$servername$/" "value": "$servername"
} }
] ],
"orderByTime": "ASC"
} }
], ],
"thresholds": "50,70,90", "maxDataPoints": null,
"title": "Swap usage", "cacheTimeout": null
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current",
"fieldConfig": {
"defaults": {},
"overrides": []
}
} }