7237 lines
170 KiB
JSON
7237 lines
170 KiB
JSON
{
|
|
"__inputs": [
|
|
{
|
|
"name": "DS_INFLUXDB",
|
|
"label": "InfluxDB",
|
|
"description": "",
|
|
"type": "datasource",
|
|
"pluginId": "influxdb",
|
|
"pluginName": "InfluxDB"
|
|
}
|
|
],
|
|
"__requires": [
|
|
{
|
|
"type": "panel",
|
|
"id": "gauge",
|
|
"name": "Gauge",
|
|
"version": ""
|
|
},
|
|
{
|
|
"type": "grafana",
|
|
"id": "grafana",
|
|
"name": "Grafana",
|
|
"version": "7.4.3"
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "grafana-worldmap-panel",
|
|
"name": "Worldmap Panel",
|
|
"version": "0.3.2"
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "graph",
|
|
"name": "Graph",
|
|
"version": ""
|
|
},
|
|
{
|
|
"type": "datasource",
|
|
"id": "influxdb",
|
|
"name": "InfluxDB",
|
|
"version": "1.0.0"
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "singlestat",
|
|
"name": "Singlestat",
|
|
"version": ""
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "stat",
|
|
"name": "Stat",
|
|
"version": ""
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "table",
|
|
"name": "Table",
|
|
"version": ""
|
|
}
|
|
],
|
|
"annotations": {
|
|
"list": [
|
|
{
|
|
"builtIn": 1,
|
|
"datasource": "-- Grafana --",
|
|
"enable": true,
|
|
"hide": true,
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
"name": "Annotations & Alerts",
|
|
"type": "dashboard"
|
|
}
|
|
]
|
|
},
|
|
"editable": true,
|
|
"gnetId": null,
|
|
"graphTooltip": 0,
|
|
"id": null,
|
|
"iteration": 1623767773661,
|
|
"links": [],
|
|
"panels": [
|
|
{
|
|
"collapsed": false,
|
|
"datasource": "$dataSource",
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"id": 16,
|
|
"panels": [],
|
|
"title": "Hardware",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "$dataSource",
|
|
"decimals": null,
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
"hideTimeOverride": true,
|
|
"id": 49,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "20%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"groupBy": [],
|
|
"measurement": "system",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT \"n_users\" FROM \"system\" WHERE (\"host\" =~ /^$Host$/) AND $timeFilter",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"n_users"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": ".7,1.5",
|
|
"timeFrom": "30s",
|
|
"title": "Active Users",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"datasource": "$dataSource",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"displayName": "CPU",
|
|
"mappings": [],
|
|
"max": 100,
|
|
"min": 0,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "#EAB839",
|
|
"value": 70
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 85
|
|
}
|
|
]
|
|
},
|
|
"unit": "percent"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 2,
|
|
"x": 2,
|
|
"y": 1
|
|
},
|
|
"id": 8,
|
|
"options": {
|
|
"orientation": "auto",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"last"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true,
|
|
"text": {}
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"targets": [
|
|
{
|
|
"alias": "CPU Total",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"previous"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "cpu",
|
|
"orderByTime": "ASC",
|
|
"policy": "autogen",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"usage_idle"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
},
|
|
{
|
|
"params": [
|
|
" * -1 + 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "cpu",
|
|
"operator": "=",
|
|
"value": "cpu-total"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "CPU Total",
|
|
"type": "gauge"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"cacheTimeout": null,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "$dataSource",
|
|
"decimals": 2,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {},
|
|
"custom": {},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": []
|
|
},
|
|
"unit": "percent"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 8,
|
|
"x": 4,
|
|
"y": 1
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 6,
|
|
"interval": null,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"max": true,
|
|
"min": false,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"sort": "avg",
|
|
"sortDesc": false,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "null",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "7.4.3",
|
|
"pointradius": 2,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": true,
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_cpu",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"10s"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"cpu"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"measurement": "cpu",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "B",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"usage_system"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "cpu",
|
|
"operator": "=~",
|
|
"value": "/^$CPU$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "CPU",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"decimals": 0,
|
|
"format": "percent",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": "100",
|
|
"min": "0",
|
|
"show": true
|
|
},
|
|
{
|
|
"decimals": 2,
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
},
|
|
{
|
|
"datasource": "$dataSource",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "left",
|
|
"filterable": false
|
|
},
|
|
"decimals": 0,
|
|
"displayName": "",
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "short"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Running"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "idle"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 62
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "zombies"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 108
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "wait"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 77
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "blocked"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 92
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "sleeping"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 87
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 5,
|
|
"x": 12,
|
|
"y": 1
|
|
},
|
|
"id": 219,
|
|
"options": {
|
|
"showHeader": true,
|
|
"sortBy": []
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "processes",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"running"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"Running"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"idle"
|
|
],
|
|
"type": "field"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"sleeping"
|
|
],
|
|
"type": "field"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"wait"
|
|
],
|
|
"type": "field"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"blocked"
|
|
],
|
|
"type": "field"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"zombies"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Process Information",
|
|
"transformations": [
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"Running",
|
|
"idle",
|
|
"sleeping",
|
|
"wait",
|
|
"blocked",
|
|
"zombies"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "$dataSource",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"links": []
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 7,
|
|
"x": 17,
|
|
"y": 1
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 18,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"max": true,
|
|
"min": false,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"nullPointMode": "null",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "7.4.3",
|
|
"pointradius": 2,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "$col",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"10s"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"measurement": "system",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"load1"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
},
|
|
{
|
|
"params": [
|
|
"load1"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"load5"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
},
|
|
{
|
|
"params": [
|
|
"load5"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"load15"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
},
|
|
{
|
|
"params": [
|
|
"load15"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "Load",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"decimals": 1,
|
|
"format": "none",
|
|
"label": "",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "$dataSource",
|
|
"decimals": null,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 0,
|
|
"y": 4
|
|
},
|
|
"hideTimeOverride": true,
|
|
"id": 45,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"alias": "Load 15m",
|
|
"groupBy": [],
|
|
"measurement": "system",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"uptime_format"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": ".7,1.5",
|
|
"timeFrom": "30s",
|
|
"title": "Uptime",
|
|
"type": "singlestat",
|
|
"valueFontSize": "50%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"datasource": "$dataSource",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "left",
|
|
"filterable": false
|
|
},
|
|
"decimals": 0,
|
|
"displayName": "",
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "locale"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 5,
|
|
"x": 12,
|
|
"y": 4
|
|
},
|
|
"id": 220,
|
|
"options": {
|
|
"showHeader": true
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "pf",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"match"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"Match"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"state-mismatch"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
"State Mismatch"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"state-insert"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
"State Insert"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "PF Information",
|
|
"transformations": [
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"Match",
|
|
"State Mismatch",
|
|
"State Insert"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"cacheTimeout": null,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "$dataSource",
|
|
"decimals": 2,
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {},
|
|
"custom": {},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": []
|
|
},
|
|
"unit": "percent"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 8,
|
|
"x": 0,
|
|
"y": 7
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 223,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"max": true,
|
|
"min": false,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "null",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "7.4.3",
|
|
"pointradius": 2,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"repeatDirection": "h",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_path",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"path"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"measurement": "disk",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT \"used_percent\" FROM \"disk\" WHERE (\"host\" =~ /^$Host$/ AND \"path\" = '/var/run' AND \"device\" =~ /^$Disk$/) AND $timeFilter GROUP BY \"device\"",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"used_percent"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "device",
|
|
"operator": "!=",
|
|
"value": "devfs"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "device",
|
|
"operator": "=~",
|
|
"value": "/^$Disk$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "Disk Utilization",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "percent",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": "100",
|
|
"min": "0",
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "$dataSource",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {},
|
|
"custom": {},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": []
|
|
},
|
|
"unit": "percent"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 8,
|
|
"x": 8,
|
|
"y": 7
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 17,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"max": true,
|
|
"min": true,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"nullPointMode": "null",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "7.4.3",
|
|
"pointradius": 2,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "$col",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"10s"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"measurement": "mem",
|
|
"orderByTime": "ASC",
|
|
"policy": "autogen",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"used_percent"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"Ram Used"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "$col",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"10s"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"none"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "swap",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "B",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"used_percent"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"SWAP Used"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "Ram",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "percent",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": "100",
|
|
"min": "0",
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "$dataSource",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"links": []
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 8,
|
|
"x": 16,
|
|
"y": 7
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 103,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"max": true,
|
|
"min": true,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"nullPointMode": "null",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "7.4.3",
|
|
"pointradius": 2,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_sensor",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"10s"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"sensor"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "temperature",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"degrees"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "sensor",
|
|
"operator": "=~",
|
|
"value": "/^$Sensor$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "Temperature Sensors",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "celsius",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
},
|
|
{
|
|
"collapsed": false,
|
|
"datasource": "$dataSource",
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 13
|
|
},
|
|
"id": 525,
|
|
"panels": [],
|
|
"title": "pfBlocker Stats",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "$dataSource",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "left",
|
|
"filterable": false
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Source IP"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 163
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Blocked"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 130
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 3,
|
|
"x": 0,
|
|
"y": 14
|
|
},
|
|
"id": 160,
|
|
"interval": null,
|
|
"links": [],
|
|
"maxDataPoints": null,
|
|
"options": {
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": true,
|
|
"displayName": "Blocked"
|
|
}
|
|
]
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_src_ip",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"src_ip"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"limit": "",
|
|
"measurement": "tail_ipblock",
|
|
"orderByTime": "ASC",
|
|
"policy": "autogen",
|
|
"query": "SELECT TOP(\"count\",\"src_ip\",10) FROM (SELECT count(\"action\") FROM \"autogen\".\"tail_ip_block_log\" WHERE (\"host\" =~ /^$Host$/ AND \"action\" = 'block' AND \"direction\" = 'in') AND $timeFilter GROUP BY \"src_ip\") WHERE $timeFilter",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"action"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
}
|
|
]
|
|
],
|
|
"slimit": "",
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "action",
|
|
"operator": "=",
|
|
"value": "block"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "direction",
|
|
"operator": "=",
|
|
"value": "in"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "IP - Top 10 Blocked - IN",
|
|
"transformations": [
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"top",
|
|
"src_ip"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {},
|
|
"indexByName": {
|
|
"src_ip": 0,
|
|
"top": 1
|
|
},
|
|
"renameByName": {
|
|
"src_ip": "Source IP",
|
|
"top": "Blocked"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "$dataSource",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "left",
|
|
"filterable": false
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Source IP"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 163
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Blocked"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 133
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 3,
|
|
"x": 3,
|
|
"y": 14
|
|
},
|
|
"id": 716,
|
|
"interval": null,
|
|
"links": [],
|
|
"maxDataPoints": null,
|
|
"options": {
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": true,
|
|
"displayName": "Blocked"
|
|
}
|
|
]
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_src_ip",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"src_ip"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"limit": "",
|
|
"measurement": "tail_ipblock",
|
|
"orderByTime": "ASC",
|
|
"policy": "autogen",
|
|
"query": "SELECT TOP(\"count\",\"src_ip\",10) FROM (SELECT count(\"action\") FROM \"autogen\".\"tail_ip_block_log\" WHERE (\"host\" =~ /^$Host$/ AND \"action\" = 'block' AND \"direction\" = 'out') AND $timeFilter GROUP BY \"src_ip\") WHERE $timeFilter",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"action"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
}
|
|
]
|
|
],
|
|
"slimit": "",
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "action",
|
|
"operator": "=",
|
|
"value": "block"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "direction",
|
|
"operator": "=",
|
|
"value": "in"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "IP - Top 10 Blocked - OUT",
|
|
"transformations": [
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"top",
|
|
"src_ip"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {},
|
|
"indexByName": {
|
|
"src_ip": 0,
|
|
"top": 1
|
|
},
|
|
"renameByName": {
|
|
"src_ip": "Source IP",
|
|
"top": "Blocked"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"datasource": "$dataSource",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 4000
|
|
}
|
|
]
|
|
},
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 3,
|
|
"x": 6,
|
|
"y": 14
|
|
},
|
|
"id": 642,
|
|
"options": {
|
|
"colorMode": "value",
|
|
"graphMode": "area",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"sum"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"text": {},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"targets": [
|
|
{
|
|
"alias": "$col",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"10s"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "tail_ip_block_log",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"action"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
},
|
|
{
|
|
"params": [
|
|
"Blocked Inbound"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "direction",
|
|
"operator": "=",
|
|
"value": "in"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "action",
|
|
"operator": "=",
|
|
"value": "block"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "$col",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"10s"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"measurement": "tail_ip_block_log",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "B",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"action"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
},
|
|
{
|
|
"params": [
|
|
"Blocked Outbound"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "direction",
|
|
"operator": "=",
|
|
"value": "out"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "action",
|
|
"operator": "=",
|
|
"value": "block"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "IP - Blocked Packet Stats",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"circleMaxSize": "20",
|
|
"circleMinSize": "1",
|
|
"colors": [
|
|
"#37872D",
|
|
"#E0B400",
|
|
"#FA6400",
|
|
"#C4162A"
|
|
],
|
|
"datasource": "$dataSource",
|
|
"decimals": 0,
|
|
"description": "",
|
|
"esMetric": "Count",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 6,
|
|
"x": 9,
|
|
"y": 14
|
|
},
|
|
"hideEmpty": false,
|
|
"hideZero": false,
|
|
"id": 563,
|
|
"initialZoom": 1,
|
|
"locationData": "countries",
|
|
"mapCenter": "(0°, 0°)",
|
|
"mapCenterLatitude": 0,
|
|
"mapCenterLongitude": 0,
|
|
"maxDataPoints": 1,
|
|
"mouseWheelZoom": false,
|
|
"showLegend": false,
|
|
"stickyLabels": false,
|
|
"tableQueryOptions": {
|
|
"geohashField": "geohash",
|
|
"latitudeField": "latitude",
|
|
"longitudeField": "longitude",
|
|
"metricField": "metric",
|
|
"queryType": "geohash"
|
|
},
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_geoip_code",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"10m"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"geoip_code"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"measurement": "tail_ip_block_log",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT count(\"action\") FROM \"ip_block_log\" WHERE $timeFilter GROUP BY \"GeoIP\"",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"action"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "action",
|
|
"operator": "=",
|
|
"value": "block"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "direction",
|
|
"operator": "=",
|
|
"value": "in"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "10,100,1000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "IP - Src/Dst Blocked Geo",
|
|
"type": "grafana-worldmap-panel",
|
|
"unitPlural": "",
|
|
"unitSingle": "",
|
|
"valueName": "total"
|
|
},
|
|
{
|
|
"datasource": "$dataSource",
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 4000
|
|
}
|
|
]
|
|
},
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 3,
|
|
"x": 15,
|
|
"y": 14
|
|
},
|
|
"id": 718,
|
|
"options": {
|
|
"colorMode": "value",
|
|
"graphMode": "area",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"sum"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"text": {},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"targets": [
|
|
{
|
|
"alias": "$col",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"10s"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "tail_dnsbl_log",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"duplicateeventstatus"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
},
|
|
{
|
|
"params": [
|
|
"Blocked Domain Queries"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "DNSBL - Blocked Domain Queries",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "$dataSource",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "left",
|
|
"filterable": false
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "TLD"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 231
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Blocked"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 105
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Source IP"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 193
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 3,
|
|
"x": 18,
|
|
"y": 14
|
|
},
|
|
"id": 717,
|
|
"interval": null,
|
|
"links": [],
|
|
"maxDataPoints": null,
|
|
"options": {
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": true,
|
|
"displayName": "Blocked"
|
|
}
|
|
]
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_src_ip",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"tld"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"limit": "",
|
|
"measurement": "tail_dnsbl",
|
|
"orderByTime": "ASC",
|
|
"policy": "autogen",
|
|
"query": "SELECT TOP(\"count\",\"src_ip\",10) FROM (SELECT count(\"domain\") FROM \"autogen\".\"tail_dnsbl_log\" WHERE (\"host\" =~ /^$Host$/) AND $timeFilter GROUP BY \"src_ip\") WHERE $timeFilter",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"domain"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
}
|
|
]
|
|
],
|
|
"slimit": "",
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "DNSBL- Source IP - Top 10 Blocked",
|
|
"transformations": [
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"top",
|
|
"src_ip"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {},
|
|
"indexByName": {
|
|
"src_ip": 0,
|
|
"top": 1
|
|
},
|
|
"renameByName": {
|
|
"count": "Blocked",
|
|
"src_ip": "Source IP",
|
|
"tld": "TLD",
|
|
"top": "Blocked"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "$dataSource",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "left",
|
|
"filterable": false
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "TLD"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 231
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Blocked"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 69
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 3,
|
|
"x": 21,
|
|
"y": 14
|
|
},
|
|
"id": 719,
|
|
"interval": null,
|
|
"links": [],
|
|
"maxDataPoints": null,
|
|
"options": {
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": true,
|
|
"displayName": "Blocked"
|
|
}
|
|
]
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_src_ip",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"tld"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"limit": "",
|
|
"measurement": "tail_dnsbl",
|
|
"orderByTime": "ASC",
|
|
"policy": "autogen",
|
|
"query": "SELECT TOP(\"count\",\"tld\",10) FROM (SELECT count(\"domain\") FROM \"autogen\".\"tail_dnsbl_log\" WHERE (\"host\" =~ /^$Host$/) AND $timeFilter GROUP BY \"tld\") WHERE $timeFilter",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"domain"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
}
|
|
]
|
|
],
|
|
"slimit": "",
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "DNSBL - Top 10 Blocked Domains",
|
|
"transformations": [
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"tld",
|
|
"top"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {},
|
|
"indexByName": {
|
|
"tld": 0,
|
|
"top": 1
|
|
},
|
|
"renameByName": {
|
|
"count": "Blocked",
|
|
"src_ip": "Source IP",
|
|
"tld": "TLD",
|
|
"top": "Blocked"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"collapsed": false,
|
|
"datasource": "$dataSource",
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 23
|
|
},
|
|
"id": 1005,
|
|
"panels": [],
|
|
"title": "pfBlocker Details",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "$dataSource",
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "left",
|
|
"filterable": false
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Dest Port"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 105
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Dest IP"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 128
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 5,
|
|
"x": 0,
|
|
"y": 24
|
|
},
|
|
"id": 1059,
|
|
"interval": null,
|
|
"links": [],
|
|
"maxDataPoints": null,
|
|
"options": {
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": true,
|
|
"displayName": "Blocked Count"
|
|
}
|
|
]
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_src_ip",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"src_ip"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"limit": "",
|
|
"measurement": "tail_ipblock",
|
|
"orderByTime": "ASC",
|
|
"policy": "autogen",
|
|
"query": "SELECT TOP(\"blocked\",10),src_ip,dest_ip, dest_port FROM\n(\nSELECT count(\"action\") as \"blocked\" FROM \"autogen\".\"tail_ip_block_log\" WHERE (\"host\" =~ /^$Host$/ AND \"action\" = 'block' AND \"direction\" = 'in' and protocolid =~ /^(6$|17$)/) AND $timeFilter GROUP BY src_ip,dest_ip,dest_port\n) WHERE $timeFilter",
|
|
"rawQuery": true,
|
|
"refId": "C",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"action"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
}
|
|
]
|
|
],
|
|
"slimit": "",
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "action",
|
|
"operator": "=",
|
|
"value": "block"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "direction",
|
|
"operator": "=",
|
|
"value": "in"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "IP - Top 10 Blocked - IN (By Host/Port)",
|
|
"transformations": [
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"src_ip",
|
|
"dest_ip",
|
|
"dest_port",
|
|
"top"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {},
|
|
"indexByName": {
|
|
"dest_ip": 1,
|
|
"dest_port": 2,
|
|
"src_ip": 0,
|
|
"top": 3
|
|
},
|
|
"renameByName": {
|
|
"dest_ip": "Dest IP",
|
|
"dest_port": "Dest Port",
|
|
"foo": "",
|
|
"src_ip": "Source IP",
|
|
"top": "Blocked Count"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "$dataSource",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "left",
|
|
"filterable": false
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Source IP"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 163
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 3,
|
|
"x": 5,
|
|
"y": 24
|
|
},
|
|
"id": 1051,
|
|
"interval": null,
|
|
"links": [],
|
|
"maxDataPoints": null,
|
|
"options": {
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": true,
|
|
"displayName": "Blocked Count"
|
|
}
|
|
]
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_src_ip",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"src_ip"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"limit": "",
|
|
"measurement": "tail_ipblock",
|
|
"orderByTime": "ASC",
|
|
"policy": "autogen",
|
|
"query": "SELECT TOP(\"blocked\",10),dest_port FROM\n(\nSELECT count(\"action\") as \"blocked\" FROM \"autogen\".\"tail_ip_block_log\" WHERE (\"host\" =~ /^$Host$/ AND \"action\" = 'block' AND \"direction\" = 'in' and protocolid =~ /^(6$|17$)/) AND $timeFilter GROUP BY dest_port\n) WHERE $timeFilter",
|
|
"rawQuery": true,
|
|
"refId": "B",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"action"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
}
|
|
]
|
|
],
|
|
"slimit": "",
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "action",
|
|
"operator": "=",
|
|
"value": "block"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "direction",
|
|
"operator": "=",
|
|
"value": "in"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Port - Top 10 Blocked - IN",
|
|
"transformations": [
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"top",
|
|
"dest_port"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {},
|
|
"indexByName": {
|
|
"dest_port": 0,
|
|
"top": 1
|
|
},
|
|
"renameByName": {
|
|
"dest_port": "Port",
|
|
"src_ip": "Source IP",
|
|
"top": "Blocked Count"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "$dataSource",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "left",
|
|
"filterable": false
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 4,
|
|
"x": 10,
|
|
"y": 24
|
|
},
|
|
"id": 1066,
|
|
"interval": null,
|
|
"links": [],
|
|
"maxDataPoints": null,
|
|
"options": {
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": true,
|
|
"displayName": "Blocked Count"
|
|
}
|
|
]
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"feed_name"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"measurement": "tail_dnsbl_log",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT count(*) FROM \"tail_dnsbl_log\" WHERE (\"host\" =~ /^$Host$/) AND $timeFilter GROUP BY \"feed_name\"",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"blockmethod"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Top 10 DNSBL Feeds",
|
|
"transformations": [
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"feed_name",
|
|
"count_blockmethod"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {},
|
|
"indexByName": {
|
|
"dest_port": 0,
|
|
"top": 1
|
|
},
|
|
"renameByName": {
|
|
"count": "Blocked Clount",
|
|
"count_blockmethod": "Blocked Count",
|
|
"dest_port": "Port",
|
|
"feed_name": "Feed Name",
|
|
"src_ip": "Source IP",
|
|
"top": "Blocked Count"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "$dataSource",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "left",
|
|
"filterable": false
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Source IP"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 163
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 3,
|
|
"x": 16,
|
|
"y": 24
|
|
},
|
|
"id": 1055,
|
|
"interval": null,
|
|
"links": [],
|
|
"maxDataPoints": null,
|
|
"options": {
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": true,
|
|
"displayName": "Blocked Count"
|
|
}
|
|
]
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_src_ip",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"src_ip"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"limit": "",
|
|
"measurement": "tail_ipblock",
|
|
"orderByTime": "ASC",
|
|
"policy": "autogen",
|
|
"query": "SELECT TOP(\"blocked\",10),dest_port FROM\n(\nSELECT count(\"action\") as \"blocked\" FROM \"autogen\".\"tail_ip_block_log\" WHERE (\"host\" =~ /^$Host$/ AND \"action\" = 'block' AND \"direction\" = 'out' and protocolid =~ /^(6$|17$)/) AND $timeFilter GROUP BY dest_port\n) WHERE $timeFilter",
|
|
"rawQuery": true,
|
|
"refId": "B",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"action"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
}
|
|
]
|
|
],
|
|
"slimit": "",
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "action",
|
|
"operator": "=",
|
|
"value": "block"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "direction",
|
|
"operator": "=",
|
|
"value": "in"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Port - Top 10 Blocked - OUT",
|
|
"transformations": [
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"top",
|
|
"dest_port"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {},
|
|
"indexByName": {
|
|
"dest_port": 0,
|
|
"top": 1
|
|
},
|
|
"renameByName": {
|
|
"dest_port": "Port",
|
|
"src_ip": "Source IP",
|
|
"top": "Blocked Count"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "$dataSource",
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "left",
|
|
"filterable": false
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Dest Port"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 105
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Dest IP"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 128
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 5,
|
|
"x": 19,
|
|
"y": 24
|
|
},
|
|
"id": 1063,
|
|
"interval": null,
|
|
"links": [],
|
|
"maxDataPoints": null,
|
|
"options": {
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": true,
|
|
"displayName": "Blocked Count"
|
|
}
|
|
]
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_src_ip",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"src_ip"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"limit": "",
|
|
"measurement": "tail_ipblock",
|
|
"orderByTime": "ASC",
|
|
"policy": "autogen",
|
|
"query": "SELECT TOP(\"blocked\",10),src_ip,dest_ip, dest_port FROM\n(\nSELECT count(\"action\") as \"blocked\" FROM \"autogen\".\"tail_ip_block_log\" WHERE (\"host\" =~ /^$Host$/ AND \"action\" = 'block' AND \"direction\" = 'out' and protocolid =~ /^(6$|17$)/) AND $timeFilter GROUP BY src_ip,dest_ip,dest_port\n) WHERE $timeFilter\n",
|
|
"rawQuery": true,
|
|
"refId": "C",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"action"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
}
|
|
]
|
|
],
|
|
"slimit": "",
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "action",
|
|
"operator": "=",
|
|
"value": "block"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "direction",
|
|
"operator": "=",
|
|
"value": "in"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "IP - Top 10 Blocked - OUT (By Host/Port)",
|
|
"transformations": [
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"src_ip",
|
|
"dest_ip",
|
|
"dest_port",
|
|
"top"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {},
|
|
"indexByName": {
|
|
"dest_ip": 1,
|
|
"dest_port": 2,
|
|
"src_ip": 0,
|
|
"top": 3
|
|
},
|
|
"renameByName": {
|
|
"dest_ip": "Dest IP",
|
|
"dest_port": "Dest Port",
|
|
"foo": "",
|
|
"src_ip": "Source IP",
|
|
"top": "Blocked Count"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "$dataSource",
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "left",
|
|
"filterable": false
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Dest Port"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 105
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Dest IP"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 128
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Source IP"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 122
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Protocol"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 121
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 5,
|
|
"x": 0,
|
|
"y": 33
|
|
},
|
|
"id": 1061,
|
|
"interval": null,
|
|
"links": [],
|
|
"maxDataPoints": null,
|
|
"options": {
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": true,
|
|
"displayName": "Blocked Count"
|
|
}
|
|
]
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_src_ip",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"src_ip"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"limit": "",
|
|
"measurement": "tail_ipblock",
|
|
"orderByTime": "ASC",
|
|
"policy": "autogen",
|
|
"query": "SELECT TOP(\"blocked\",10),src_ip,dest_ip, protocol FROM\n(\nSELECT count(\"action\") as \"blocked\" FROM \"autogen\".\"tail_ip_block_log\" WHERE (\"host\" =~ /^$Host$/ AND \"action\" = 'block' AND \"direction\" = 'in' ) AND $timeFilter GROUP BY src_ip,dest_ip,protocol\n) WHERE $timeFilter\n",
|
|
"rawQuery": true,
|
|
"refId": "C",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"action"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
}
|
|
]
|
|
],
|
|
"slimit": "",
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "action",
|
|
"operator": "=",
|
|
"value": "block"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "direction",
|
|
"operator": "=",
|
|
"value": "in"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "IP - Top 10 Blocked - IN (By Host/Protocol)",
|
|
"transformations": [
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"top",
|
|
"src_ip",
|
|
"dest_ip",
|
|
"protocol"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {},
|
|
"indexByName": {
|
|
"dest_ip": 1,
|
|
"protocol": 2,
|
|
"src_ip": 0,
|
|
"top": 3
|
|
},
|
|
"renameByName": {
|
|
"dest_ip": "Dest IP",
|
|
"dest_port": "Dest Port",
|
|
"foo": "",
|
|
"protocol": "Protocol",
|
|
"src_ip": "Source IP",
|
|
"top": "Blocked Count"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "$dataSource",
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "left",
|
|
"filterable": false
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": []
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 3,
|
|
"x": 5,
|
|
"y": 33
|
|
},
|
|
"id": 1053,
|
|
"interval": null,
|
|
"links": [],
|
|
"maxDataPoints": null,
|
|
"options": {
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": true,
|
|
"displayName": "Blocked Count"
|
|
}
|
|
]
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_protocol",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT count(\"action\") as \"blocked\" FROM \"autogen\".\"tail_ip_block_log\" WHERE (\"host\" =~ /^$Host$/ AND \"action\" = 'block' AND \"direction\" = 'in') AND $timeFilter GROUP BY protocol\n",
|
|
"rawQuery": true,
|
|
"refId": "B",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
}
|
|
]
|
|
],
|
|
"tags": []
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Protocol - Top 10 Blocked - IN",
|
|
"transformations": [
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"protocol",
|
|
"blocked"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {},
|
|
"indexByName": {},
|
|
"renameByName": {
|
|
"blocked": "Blocked Count",
|
|
"protocol": "Protocol"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "$dataSource",
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "left",
|
|
"filterable": false
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": []
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 3,
|
|
"x": 16,
|
|
"y": 33
|
|
},
|
|
"id": 1057,
|
|
"interval": null,
|
|
"links": [],
|
|
"maxDataPoints": null,
|
|
"options": {
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": true,
|
|
"displayName": "Blocked Count"
|
|
}
|
|
]
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_protocol",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT count(\"action\") as \"blocked\" FROM \"autogen\".\"tail_ip_block_log\" WHERE (\"host\" =~ /^$Host$/ AND \"action\" = 'block' AND \"direction\" = 'out') AND $timeFilter GROUP BY protocol\n",
|
|
"rawQuery": true,
|
|
"refId": "B",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
}
|
|
]
|
|
],
|
|
"tags": []
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Protocol - Top 10 Blocked - OUT",
|
|
"transformations": [
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"protocol",
|
|
"blocked"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {},
|
|
"indexByName": {},
|
|
"renameByName": {
|
|
"blocked": "Blocked Count",
|
|
"protocol": "Protocol"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "$dataSource",
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "left",
|
|
"filterable": false
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Dest Port"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 105
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Dest IP"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 128
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Source IP"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 122
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Protocol"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 121
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 5,
|
|
"x": 19,
|
|
"y": 33
|
|
},
|
|
"id": 1065,
|
|
"interval": null,
|
|
"links": [],
|
|
"maxDataPoints": null,
|
|
"options": {
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": true,
|
|
"displayName": "Blocked Count"
|
|
}
|
|
]
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_src_ip",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"src_ip"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"limit": "",
|
|
"measurement": "tail_ipblock",
|
|
"orderByTime": "ASC",
|
|
"policy": "autogen",
|
|
"query": "SELECT TOP(\"blocked\",10),src_ip,dest_ip, protocol FROM\n(\nSELECT count(\"action\") as \"blocked\" FROM \"autogen\".\"tail_ip_block_log\" WHERE (\"host\" =~ /^$Host$/ AND \"action\" = 'block' AND \"direction\" = 'out' ) AND $timeFilter GROUP BY src_ip,dest_ip,protocol\n) WHERE $timeFilter\n",
|
|
"rawQuery": true,
|
|
"refId": "C",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"action"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
}
|
|
]
|
|
],
|
|
"slimit": "",
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "action",
|
|
"operator": "=",
|
|
"value": "block"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "direction",
|
|
"operator": "=",
|
|
"value": "in"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "IP - Top 10 Blocked - OUT (By Host/Protocol)",
|
|
"transformations": [
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"top",
|
|
"src_ip",
|
|
"dest_ip",
|
|
"protocol"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {},
|
|
"indexByName": {
|
|
"dest_ip": 1,
|
|
"protocol": 2,
|
|
"src_ip": 0,
|
|
"top": 3
|
|
},
|
|
"renameByName": {
|
|
"dest_ip": "Dest IP",
|
|
"dest_port": "Dest Port",
|
|
"foo": "",
|
|
"protocol": "Protocol",
|
|
"src_ip": "Source IP",
|
|
"top": "Blocked Count"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"collapsed": false,
|
|
"datasource": "$dataSource",
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 42
|
|
},
|
|
"id": 143,
|
|
"panels": [],
|
|
"title": "Network Stats",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "$dataSource",
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"links": []
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 11,
|
|
"x": 0,
|
|
"y": 43
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 4,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"max": true,
|
|
"min": true,
|
|
"rightSide": false,
|
|
"show": true,
|
|
"sideWidth": null,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"nullPointMode": "null",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "7.4.3",
|
|
"pointradius": 2,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_gateway_name",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"10s"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"gateway_name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"measurement": "gateways",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"delay"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "gateway_name",
|
|
"operator": "=~",
|
|
"value": "/^$Gateway$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "Gateway RTT - $Gateway ",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "ms",
|
|
"label": "",
|
|
"logBase": 10,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"decimals": null,
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "$dataSource",
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "left",
|
|
"displayMode": "color-text",
|
|
"filterable": true
|
|
},
|
|
"mappings": [
|
|
{
|
|
"from": "",
|
|
"id": 1,
|
|
"text": "DOWN",
|
|
"to": "",
|
|
"type": 1,
|
|
"value": "0"
|
|
},
|
|
{
|
|
"from": "",
|
|
"id": 2,
|
|
"text": "UP",
|
|
"to": "",
|
|
"type": 1,
|
|
"value": "1"
|
|
},
|
|
{
|
|
"from": "",
|
|
"id": 3,
|
|
"text": "UNKNOWN",
|
|
"to": "",
|
|
"type": 1,
|
|
"value": "2"
|
|
}
|
|
],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "rgb(255, 255, 255)",
|
|
"value": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "name"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "displayName",
|
|
"value": "Interface"
|
|
},
|
|
{
|
|
"id": "unit",
|
|
"value": "short"
|
|
},
|
|
{
|
|
"id": "decimals",
|
|
"value": 2
|
|
},
|
|
{
|
|
"id": "custom.align",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "FriendlyName"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 126
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Status"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "rgba(81, 48, 255, 0)",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "green",
|
|
"value": 1
|
|
},
|
|
{
|
|
"color": "dark-orange",
|
|
"value": 2
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "mappings",
|
|
"value": [
|
|
{
|
|
"from": "",
|
|
"id": 1,
|
|
"text": "DOWN",
|
|
"to": "",
|
|
"type": 1,
|
|
"value": "0"
|
|
},
|
|
{
|
|
"from": "",
|
|
"id": 2,
|
|
"text": "UP",
|
|
"to": "",
|
|
"type": 1,
|
|
"value": "1"
|
|
},
|
|
{
|
|
"from": "",
|
|
"id": 3,
|
|
"text": "UNKNOWN",
|
|
"to": "",
|
|
"type": 1,
|
|
"value": "2"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 13,
|
|
"x": 11,
|
|
"y": 43
|
|
},
|
|
"id": 194,
|
|
"links": [],
|
|
"options": {
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": false,
|
|
"displayName": "Interface"
|
|
}
|
|
]
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"limit": "1",
|
|
"measurement": "interface",
|
|
"orderByTime": "ASC",
|
|
"policy": "autogen",
|
|
"refId": "A",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"friendlyname"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
"FriendlyName"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"ip4_address"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
"IPv4 Address"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"mac_address"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
"Physical Address"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"status"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"Status"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"ip6_address"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
"IPv6 Address"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Interface Summary",
|
|
"transformations": [
|
|
{
|
|
"id": "merge",
|
|
"options": {
|
|
"reducers": []
|
|
}
|
|
},
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"name",
|
|
"FriendlyName",
|
|
"Physical Address",
|
|
"Status",
|
|
"IPv4 Address"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "$dataSource",
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"links": []
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 11,
|
|
"x": 0,
|
|
"y": 51
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 487,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"max": true,
|
|
"min": false,
|
|
"rightSide": false,
|
|
"show": true,
|
|
"sideWidth": null,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"nullPointMode": "null",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "7.4.3",
|
|
"pointradius": 2,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"repeatDirection": "h",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_gateway_name",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"10s"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"gateway_name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "gateways",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"loss"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "gateway_name",
|
|
"operator": "=~",
|
|
"value": "/^$Gateway$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "Gateway Loss - $Gateway ",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"decimals": 0,
|
|
"format": "percent",
|
|
"label": "",
|
|
"logBase": 1,
|
|
"max": "100",
|
|
"min": "0",
|
|
"show": true
|
|
},
|
|
{
|
|
"decimals": null,
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "$dataSource",
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "left",
|
|
"displayMode": "color-text",
|
|
"filterable": true
|
|
},
|
|
"mappings": [
|
|
{
|
|
"from": "",
|
|
"id": 1,
|
|
"text": "OK",
|
|
"to": "",
|
|
"type": 1,
|
|
"value": "none"
|
|
}
|
|
],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "rgb(255, 255, 255)",
|
|
"value": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Default GW"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "mappings",
|
|
"value": [
|
|
{
|
|
"from": "",
|
|
"id": 1,
|
|
"text": "False",
|
|
"to": "",
|
|
"type": 1,
|
|
"value": "0"
|
|
},
|
|
{
|
|
"from": "",
|
|
"id": 2,
|
|
"text": "True",
|
|
"to": "",
|
|
"type": 1,
|
|
"value": "1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Interface"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 157
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Gateway Description"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 274
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 13,
|
|
"x": 11,
|
|
"y": 51
|
|
},
|
|
"id": 961,
|
|
"links": [],
|
|
"options": {
|
|
"showHeader": true,
|
|
"sortBy": []
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"gateway_name"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"limit": "1",
|
|
"measurement": "gateways",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"gwdescr"
|
|
],
|
|
"type": "field"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"source"
|
|
],
|
|
"type": "field"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"monitor"
|
|
],
|
|
"type": "field"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"defaultgw"
|
|
],
|
|
"type": "field"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"status"
|
|
],
|
|
"type": "field"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"substatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"interface"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Gateway Summary - $Gateway",
|
|
"transformations": [
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {
|
|
"gateway_name": false
|
|
},
|
|
"indexByName": {
|
|
"Time": 0,
|
|
"defaultgw": 6,
|
|
"gateway_name": 1,
|
|
"gwdescr": 3,
|
|
"interface": 2,
|
|
"monitor": 5,
|
|
"source": 4,
|
|
"status": 7,
|
|
"substatus": 8
|
|
},
|
|
"renameByName": {
|
|
"Time": "",
|
|
"defaultgw": "Default GW",
|
|
"gateway_name": "Gateway Name",
|
|
"gwdescr": "Gateway Description",
|
|
"interface": "Interface",
|
|
"monitor": "Monitor IP",
|
|
"source": "Gateway IP",
|
|
"status": "Status",
|
|
"substatus": "Status Detail"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"Gateway Name",
|
|
"Gateway Description",
|
|
"Gateway IP",
|
|
"Monitor IP",
|
|
"Default GW",
|
|
"Status",
|
|
"Status Detail",
|
|
"Interface"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"datasource": "$dataSource",
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 59
|
|
},
|
|
"id": 14,
|
|
"panels": [
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "$dataSource",
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "center",
|
|
"displayMode": "color-text",
|
|
"filterable": false
|
|
},
|
|
"mappings": [
|
|
{
|
|
"from": "",
|
|
"id": 1,
|
|
"text": "DOWN",
|
|
"to": "",
|
|
"type": 1,
|
|
"value": "0"
|
|
},
|
|
{
|
|
"from": "",
|
|
"id": 2,
|
|
"text": "UP",
|
|
"to": "",
|
|
"type": 1,
|
|
"value": "1"
|
|
},
|
|
{
|
|
"from": "",
|
|
"id": 3,
|
|
"text": "UNKNOWN",
|
|
"to": "",
|
|
"type": 1,
|
|
"value": "2"
|
|
}
|
|
],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "rgb(255, 255, 255)",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "green",
|
|
"value": 1
|
|
},
|
|
{
|
|
"color": "orange",
|
|
"value": 2
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "name"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "displayName",
|
|
"value": "Interface"
|
|
},
|
|
{
|
|
"id": "unit",
|
|
"value": "short"
|
|
},
|
|
{
|
|
"id": "decimals",
|
|
"value": 2
|
|
},
|
|
{
|
|
"id": "custom.align",
|
|
"value": null
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 60
|
|
},
|
|
"id": 603,
|
|
"links": [],
|
|
"options": {
|
|
"showHeader": true,
|
|
"sortBy": []
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"scopedVars": {
|
|
"WAN": {
|
|
"selected": false,
|
|
"text": "igb0",
|
|
"value": "igb0"
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"limit": "1",
|
|
"measurement": "interface",
|
|
"orderByTime": "ASC",
|
|
"policy": "autogen",
|
|
"refId": "A",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"friendlyname"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
"FriendlyName"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"ip4_address"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
"IPv4 Address"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"mac_address"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
"Physical Address"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"status"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"Status"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$WAN$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Interface summary",
|
|
"transformations": [
|
|
{
|
|
"id": "merge",
|
|
"options": {
|
|
"reducers": []
|
|
}
|
|
},
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"name",
|
|
"FriendlyName",
|
|
"Physical Address",
|
|
"Status",
|
|
"IPv4 Address"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "$dataSource",
|
|
"decimals": 2,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"links": []
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 9,
|
|
"x": 0,
|
|
"y": 63
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 2,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"max": true,
|
|
"min": false,
|
|
"rightSide": false,
|
|
"show": true,
|
|
"sort": "max",
|
|
"sortDesc": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"nullPointMode": "null",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "7.4.3",
|
|
"pointradius": 2,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"scopedVars": {
|
|
"WAN": {
|
|
"selected": false,
|
|
"text": "igb0",
|
|
"value": "igb0"
|
|
}
|
|
},
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_interface - $col",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"10s"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"interface"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "net",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "C",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"bytes_recv"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "first"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"* count(\"bytes_recv\") / count(\"bytes_recv\")"
|
|
],
|
|
"type": "math"
|
|
},
|
|
{
|
|
"params": [
|
|
"Bytes_Recv"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"bytes_sent"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "first"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"* count(\"bytes_sent\") / count(\"bytes_sent\")"
|
|
],
|
|
"type": "math"
|
|
},
|
|
{
|
|
"params": [
|
|
"Bytes_Sent"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "interface",
|
|
"operator": "=~",
|
|
"value": "/^$WAN$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "WAN Traffic - $WAN (Bytes/sec)",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"decimals": 2,
|
|
"format": "Bps",
|
|
"label": "",
|
|
"logBase": 2,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"decimals": 2,
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "$dataSource",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": "null"
|
|
}
|
|
],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "bps"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 3,
|
|
"x": 9,
|
|
"y": 63
|
|
},
|
|
"id": 247,
|
|
"links": [],
|
|
"options": {
|
|
"colorMode": "value",
|
|
"graphMode": "area",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"mean"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"text": {},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"repeat": null,
|
|
"repeatDirection": "v",
|
|
"scopedVars": {
|
|
"WAN": {
|
|
"selected": false,
|
|
"text": "igb0",
|
|
"value": "igb0"
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_interface - $col",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"10s"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"interface"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"none"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "net",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "C",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"bytes_recv"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "first"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"* count(\"bytes_recv\") / count(\"bytes_recv\") * 8"
|
|
],
|
|
"type": "math"
|
|
},
|
|
{
|
|
"params": [
|
|
"Bits_Recv"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"bytes_sent"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "first"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"* count(\"bytes_sent\") / count(\"bytes_sent\") * 8"
|
|
],
|
|
"type": "math"
|
|
},
|
|
{
|
|
"params": [
|
|
"Bits_Sent"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "interface",
|
|
"operator": "=~",
|
|
"value": "/^$WAN$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "WAN Traffic - $WAN (Bits/sec)",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "$dataSource",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": "null"
|
|
}
|
|
],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "bytes"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 3,
|
|
"x": 12,
|
|
"y": 63
|
|
},
|
|
"hideTimeOverride": true,
|
|
"id": 296,
|
|
"links": [],
|
|
"options": {
|
|
"colorMode": "value",
|
|
"graphMode": "area",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"sum"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"text": {},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"repeat": null,
|
|
"repeatDirection": "v",
|
|
"scopedVars": {
|
|
"WAN": {
|
|
"selected": false,
|
|
"text": "igb0",
|
|
"value": "igb0"
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_interface - $col - This Month",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"interface"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"none"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "net",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"bytes_recv"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "first"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "non_negative_difference"
|
|
},
|
|
{
|
|
"params": [
|
|
"Bytes_Recv"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"bytes_sent"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "first"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "non_negative_difference"
|
|
},
|
|
{
|
|
"params": [
|
|
"Bytes_Sent"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "interface",
|
|
"operator": "=~",
|
|
"value": "/^$WAN$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": "now/M",
|
|
"timeShift": null,
|
|
"title": "WAN $WAN",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "$dataSource",
|
|
"decimals": 2,
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"links": []
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 0,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 9,
|
|
"x": 15,
|
|
"y": 63
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 322,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"hideZero": true,
|
|
"max": true,
|
|
"min": true,
|
|
"rightSide": false,
|
|
"show": true,
|
|
"sideWidth": null,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "null",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "7.4.3",
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"repeat": null,
|
|
"repeatDirection": "v",
|
|
"scopedVars": {
|
|
"WAN": {
|
|
"selected": false,
|
|
"text": "igb0",
|
|
"value": "igb0"
|
|
}
|
|
},
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_interface - $col",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"10s"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"interface"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "net",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "G",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"packets_recv"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "first"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"* count(\"packets_recv\") / count(\"packets_recv\")"
|
|
],
|
|
"type": "math"
|
|
},
|
|
{
|
|
"params": [
|
|
"Packets_Recv"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"packets_sent"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "first"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"* count(\"packets_sent\") / count(\"packets_sent\")"
|
|
],
|
|
"type": "math"
|
|
},
|
|
{
|
|
"params": [
|
|
"Packets_Sent"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "interface",
|
|
"operator": "=~",
|
|
"value": "/^$WAN$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "$tag_interface - $col",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"interface"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"interface"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"measurement": "net",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"drop_in"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
"Drop_In"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"drop_out"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
"Drop_Out"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"err_in"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
"Err_In"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"err_out"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
"Err_Out"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "interface",
|
|
"operator": "=~",
|
|
"value": "/^$WAN$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "WAN Throughput - $WAN",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"decimals": 2,
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 2,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"decimals": 2,
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
}
|
|
],
|
|
"repeat": "WAN",
|
|
"title": "WAN Interface - $WAN",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"datasource": "$dataSource",
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 61
|
|
},
|
|
"id": 43,
|
|
"panels": [
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "$dataSource",
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "center",
|
|
"displayMode": "color-text",
|
|
"filterable": false
|
|
},
|
|
"mappings": [
|
|
{
|
|
"from": "",
|
|
"id": 1,
|
|
"text": "DOWN",
|
|
"to": "",
|
|
"type": 1,
|
|
"value": "0"
|
|
},
|
|
{
|
|
"from": "",
|
|
"id": 2,
|
|
"text": "UP",
|
|
"to": "",
|
|
"type": 1,
|
|
"value": "1"
|
|
},
|
|
{
|
|
"from": "",
|
|
"id": 3,
|
|
"text": "UNKNOWN",
|
|
"to": "",
|
|
"type": 1,
|
|
"value": "2"
|
|
}
|
|
],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "rgb(255, 255, 255)",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "light-red",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "light-green",
|
|
"value": 1
|
|
},
|
|
{
|
|
"color": "orange",
|
|
"value": 2
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "name"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "displayName",
|
|
"value": "Interface"
|
|
},
|
|
{
|
|
"id": "unit",
|
|
"value": "short"
|
|
},
|
|
{
|
|
"id": "decimals",
|
|
"value": 2
|
|
},
|
|
{
|
|
"id": "custom.align",
|
|
"value": null
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 46
|
|
},
|
|
"id": 604,
|
|
"links": [],
|
|
"options": {
|
|
"showHeader": true,
|
|
"sortBy": []
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"scopedVars": {
|
|
"LAN_Interfaces": {
|
|
"selected": false,
|
|
"text": "igb2.10",
|
|
"value": "igb2.10"
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"limit": "1",
|
|
"measurement": "interface",
|
|
"orderByTime": "ASC",
|
|
"policy": "autogen",
|
|
"refId": "A",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"friendlyname"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
"FriendlyName"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"ip4_address"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
"IPv4 Address"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"mac_address"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
"Physical Address"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"status"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"Status"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$LAN_Interfaces$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Interface summary",
|
|
"transformations": [
|
|
{
|
|
"id": "merge",
|
|
"options": {
|
|
"reducers": []
|
|
}
|
|
},
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"name",
|
|
"FriendlyName",
|
|
"Physical Address",
|
|
"Status",
|
|
"IPv4 Address"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "$dataSource",
|
|
"decimals": 2,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"links": []
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 9,
|
|
"x": 0,
|
|
"y": 49
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 38,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"max": true,
|
|
"min": true,
|
|
"rightSide": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"nullPointMode": "null",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "7.4.3",
|
|
"pointradius": 2,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"repeat": null,
|
|
"repeatDirection": "v",
|
|
"scopedVars": {
|
|
"LAN_Interfaces": {
|
|
"selected": false,
|
|
"text": "igb2.10",
|
|
"value": "igb2.10"
|
|
}
|
|
},
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_interface - $col",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"10s"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"interface"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"measurement": "net",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "D",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"bytes_recv"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "first"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"* count(\"bytes_recv\") / count(\"bytes_recv\")"
|
|
],
|
|
"type": "math"
|
|
},
|
|
{
|
|
"params": [
|
|
"Bytes_Recv"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"bytes_sent"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "first"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"* count(\"bytes_sent\") / count(\"bytes_sent\")"
|
|
],
|
|
"type": "math"
|
|
},
|
|
{
|
|
"params": [
|
|
"Bytes_Sent"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "interface",
|
|
"operator": "=~",
|
|
"value": "/^$LAN_Interfaces$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "LAN Traffic - $LAN_Interfaces (Bytes/sec)",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"decimals": 2,
|
|
"format": "Bps",
|
|
"label": "",
|
|
"logBase": 2,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"decimals": 2,
|
|
"format": "short",
|
|
"label": "",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "$dataSource",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": "null"
|
|
}
|
|
],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "bps"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 3,
|
|
"x": 9,
|
|
"y": 49
|
|
},
|
|
"id": 248,
|
|
"links": [],
|
|
"options": {
|
|
"colorMode": "value",
|
|
"graphMode": "area",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"mean"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"text": {},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"repeat": null,
|
|
"repeatDirection": "v",
|
|
"scopedVars": {
|
|
"LAN_Interfaces": {
|
|
"selected": false,
|
|
"text": "igb2.10",
|
|
"value": "igb2.10"
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_interface - $col",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"10s"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"interface"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"none"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "net",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT derivative(mean(\"bytes_recv\"), 1s) *8 FROM \"net\" WHERE (\"host\" =~ /^$Host$/ AND \"interface\" =~ /^$LAN_Interfaces$/) AND $timeFilter GROUP BY time($__interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "C",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"bytes_recv"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "first"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"* count(\"bytes_recv\") / count(\"bytes_recv\") * 8"
|
|
],
|
|
"type": "math"
|
|
},
|
|
{
|
|
"params": [
|
|
"Bits_Recv"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"bytes_sent"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "first"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"* count(\"bytes_sent\") / count(\"bytes_sent\") * 8"
|
|
],
|
|
"type": "math"
|
|
},
|
|
{
|
|
"params": [
|
|
"Bits_Sent"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "interface",
|
|
"operator": "=~",
|
|
"value": "/^$LAN_Interfaces$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "LAN Traffic - $LAN_Interfaces (Bits/sec)",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "$dataSource",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": "null"
|
|
}
|
|
],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "bytes"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 3,
|
|
"x": 12,
|
|
"y": 49
|
|
},
|
|
"hideTimeOverride": true,
|
|
"id": 297,
|
|
"links": [],
|
|
"options": {
|
|
"colorMode": "value",
|
|
"graphMode": "area",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"sum"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"text": {},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.4.3",
|
|
"repeat": null,
|
|
"repeatDirection": "v",
|
|
"scopedVars": {
|
|
"LAN_Interfaces": {
|
|
"selected": false,
|
|
"text": "igb2.10",
|
|
"value": "igb2.10"
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_interface - $col - This Month",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"10s"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"interface"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"none"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "net",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"bytes_recv"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "first"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "non_negative_difference"
|
|
},
|
|
{
|
|
"params": [
|
|
"Bytes_Recv"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"bytes_sent"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "first"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "non_negative_difference"
|
|
},
|
|
{
|
|
"params": [
|
|
"Bytes_Sent"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "interface",
|
|
"operator": "=~",
|
|
"value": "/^$LAN_Interfaces$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": "now/M",
|
|
"timeShift": null,
|
|
"title": "LAN $LAN_Interfaces",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "$dataSource",
|
|
"decimals": 2,
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"links": []
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 0,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 9,
|
|
"x": 15,
|
|
"y": 49
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 347,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"hideZero": true,
|
|
"max": true,
|
|
"min": true,
|
|
"rightSide": false,
|
|
"show": true,
|
|
"sideWidth": null,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "null",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "7.4.3",
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"repeat": null,
|
|
"repeatDirection": "v",
|
|
"scopedVars": {
|
|
"LAN_Interfaces": {
|
|
"selected": false,
|
|
"text": "igb2.10",
|
|
"value": "igb2.10"
|
|
}
|
|
},
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_interface - $col",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"10s"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"interface"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "net",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "G",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"packets_recv"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "first"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"* count(\"packets_recv\") / count(\"packets_recv\")"
|
|
],
|
|
"type": "math"
|
|
},
|
|
{
|
|
"params": [
|
|
"Packets_Recv"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"packets_sent"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "first"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"* count(\"packets_sent\") / count(\"packets_sent\")"
|
|
],
|
|
"type": "math"
|
|
},
|
|
{
|
|
"params": [
|
|
"Packets_Sent"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "interface",
|
|
"operator": "=~",
|
|
"value": "/^$LAN_Interfaces$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "host",
|
|
"operator": "=~",
|
|
"value": "/^$Host$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "LAN Throughput - $LAN_Interfaces",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"decimals": 2,
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 2,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"decimals": 2,
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
}
|
|
],
|
|
"repeat": "LAN_Interfaces",
|
|
"title": "LAN Interface - $LAN_Interfaces",
|
|
"type": "row"
|
|
}
|
|
],
|
|
"refresh": "10s",
|
|
"schemaVersion": 27,
|
|
"style": "dark",
|
|
"tags": [
|
|
"pfsense",
|
|
"pfblocker",
|
|
"telegraf"
|
|
],
|
|
"templating": {
|
|
"list": [
|
|
{
|
|
"current": {
|
|
"selected": false,
|
|
"text": "InfluxDB",
|
|
"value": "InfluxDB"
|
|
},
|
|
"description": null,
|
|
"error": null,
|
|
"hide": 0,
|
|
"includeAll": false,
|
|
"label": null,
|
|
"multi": false,
|
|
"name": "dataSource",
|
|
"options": [],
|
|
"query": "influxdb",
|
|
"queryValue": "",
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"type": "datasource"
|
|
},
|
|
{
|
|
"allValue": null,
|
|
"current": {},
|
|
"datasource": "$dataSource",
|
|
"definition": "SHOW TAG VALUES FROM \"pf\" WITH KEY = \"host\"",
|
|
"description": null,
|
|
"error": null,
|
|
"hide": 0,
|
|
"includeAll": false,
|
|
"label": "pfSense",
|
|
"multi": false,
|
|
"name": "Host",
|
|
"options": [],
|
|
"query": "SHOW TAG VALUES FROM \"pf\" WITH KEY = \"host\"",
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"sort": 0,
|
|
"tagValuesQuery": "",
|
|
"tags": [],
|
|
"tagsQuery": "",
|
|
"type": "query",
|
|
"useTags": false
|
|
},
|
|
{
|
|
"allValue": null,
|
|
"current": {},
|
|
"datasource": "$dataSource",
|
|
"definition": "SHOW TAG VALUES FROM \"disk\" WITH KEY = \"device\" WHERE \"host\" =~ /^$Host$/",
|
|
"description": null,
|
|
"error": null,
|
|
"hide": 0,
|
|
"includeAll": true,
|
|
"label": null,
|
|
"multi": false,
|
|
"name": "Disk",
|
|
"options": [],
|
|
"query": "SHOW TAG VALUES FROM \"disk\" WITH KEY = \"device\" WHERE \"host\" =~ /^$Host$/",
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"sort": 0,
|
|
"tagValuesQuery": "",
|
|
"tags": [],
|
|
"tagsQuery": "",
|
|
"type": "query",
|
|
"useTags": false
|
|
},
|
|
{
|
|
"allValue": null,
|
|
"current": {},
|
|
"datasource": "$dataSource",
|
|
"definition": "SHOW TAG VALUES FROM \"gateways\" WITH KEY = \"gateway_name\" WHERE \"host\" =~ /^$Host$/ ",
|
|
"description": null,
|
|
"error": null,
|
|
"hide": 0,
|
|
"includeAll": true,
|
|
"label": null,
|
|
"multi": true,
|
|
"name": "Gateway",
|
|
"options": [],
|
|
"query": "SHOW TAG VALUES FROM \"gateways\" WITH KEY = \"gateway_name\" WHERE \"host\" =~ /^$Host$/ ",
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"sort": 0,
|
|
"tagValuesQuery": "",
|
|
"tags": [],
|
|
"tagsQuery": "",
|
|
"type": "query",
|
|
"useTags": false
|
|
},
|
|
{
|
|
"allValue": null,
|
|
"current": {
|
|
"selected": false,
|
|
"text": [
|
|
"All"
|
|
],
|
|
"value": [
|
|
"$__all"
|
|
]
|
|
},
|
|
"description": null,
|
|
"error": null,
|
|
"hide": 0,
|
|
"includeAll": true,
|
|
"label": null,
|
|
"multi": true,
|
|
"name": "WAN",
|
|
"options": [
|
|
{
|
|
"selected": true,
|
|
"text": "All",
|
|
"value": "$__all"
|
|
},
|
|
{
|
|
"selected": false,
|
|
"text": "igb0",
|
|
"value": "igb0"
|
|
},
|
|
{
|
|
"selected": false,
|
|
"text": "ovpnc1",
|
|
"value": "ovpnc1"
|
|
}
|
|
],
|
|
"query": "igb0,ovpnc1",
|
|
"queryValue": "",
|
|
"skipUrlSync": false,
|
|
"type": "custom"
|
|
},
|
|
{
|
|
"allValue": null,
|
|
"current": {},
|
|
"datasource": "$dataSource",
|
|
"definition": "SHOW TAG VALUES FROM \"net\" WITH KEY = \"interface\" WHERE \"host\" =~ /^$Host$/ ",
|
|
"description": null,
|
|
"error": null,
|
|
"hide": 0,
|
|
"includeAll": true,
|
|
"label": "LAN",
|
|
"multi": true,
|
|
"name": "LAN_Interfaces",
|
|
"options": [],
|
|
"query": "SHOW TAG VALUES FROM \"net\" WITH KEY = \"interface\" WHERE \"host\" =~ /^$Host$/ ",
|
|
"refresh": 1,
|
|
"regex": "/^(?!enc0$|igb0$|igb1$|igb2$|igb3$|ovpnc1$)/",
|
|
"skipUrlSync": false,
|
|
"sort": 1,
|
|
"tagValuesQuery": "",
|
|
"tags": [],
|
|
"tagsQuery": "",
|
|
"type": "query",
|
|
"useTags": false
|
|
},
|
|
{
|
|
"allValue": null,
|
|
"current": {},
|
|
"datasource": "$dataSource",
|
|
"definition": "SHOW TAG VALUES FROM \"cpu\" WITH KEY = \"cpu\" WHERE \"host\" =~ /^$Host$/ and cpu !~ /cpu-total/",
|
|
"description": null,
|
|
"error": null,
|
|
"hide": 0,
|
|
"includeAll": true,
|
|
"label": null,
|
|
"multi": true,
|
|
"name": "CPU",
|
|
"options": [],
|
|
"query": "SHOW TAG VALUES FROM \"cpu\" WITH KEY = \"cpu\" WHERE \"host\" =~ /^$Host$/ and cpu !~ /cpu-total/",
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"sort": 1,
|
|
"tagValuesQuery": "",
|
|
"tags": [],
|
|
"tagsQuery": "",
|
|
"type": "query",
|
|
"useTags": false
|
|
},
|
|
{
|
|
"allValue": null,
|
|
"current": {},
|
|
"datasource": "$dataSource",
|
|
"definition": "SHOW TAG VALUES FROM \"temperature\" WITH KEY = \"sensor\" WHERE \"host\" =~ /^$Host$/",
|
|
"description": null,
|
|
"error": null,
|
|
"hide": 0,
|
|
"includeAll": true,
|
|
"label": null,
|
|
"multi": true,
|
|
"name": "Sensor",
|
|
"options": [],
|
|
"query": "SHOW TAG VALUES FROM \"temperature\" WITH KEY = \"sensor\" WHERE \"host\" =~ /^$Host$/",
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"sort": 0,
|
|
"tagValuesQuery": "",
|
|
"tags": [],
|
|
"tagsQuery": "",
|
|
"type": "query",
|
|
"useTags": false
|
|
}
|
|
]
|
|
},
|
|
"time": {
|
|
"from": "now-24h",
|
|
"to": "now"
|
|
},
|
|
"timepicker": {
|
|
"refresh_intervals": [
|
|
"5s",
|
|
"10s",
|
|
"30s",
|
|
"1m",
|
|
"5m",
|
|
"15m",
|
|
"30m",
|
|
"1h",
|
|
"2h",
|
|
"1d"
|
|
]
|
|
},
|
|
"timezone": "",
|
|
"title": "pfSense System Dashboard",
|
|
"uid": "GflT1CsMz",
|
|
"version": 241
|
|
}
|