26544 lines
673 KiB
JSON
26544 lines
673 KiB
JSON
{
|
|
"__inputs": [
|
|
{
|
|
"name": "DS_SNMP",
|
|
"label": "SNMP",
|
|
"description": "",
|
|
"type": "datasource",
|
|
"pluginId": "influxdb",
|
|
"pluginName": "InfluxDB"
|
|
}
|
|
],
|
|
"__requires": [
|
|
{
|
|
"type": "grafana",
|
|
"id": "grafana",
|
|
"name": "Grafana",
|
|
"version": "6.0.2"
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "graph",
|
|
"name": "Graph",
|
|
"version": "5.0.0"
|
|
},
|
|
{
|
|
"type": "datasource",
|
|
"id": "influxdb",
|
|
"name": "InfluxDB",
|
|
"version": "5.0.0"
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "singlestat",
|
|
"name": "Singlestat",
|
|
"version": "5.0.0"
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "table",
|
|
"name": "Table",
|
|
"version": "5.0.0"
|
|
}
|
|
],
|
|
"annotations": {
|
|
"list": [
|
|
{
|
|
"builtIn": 1,
|
|
"datasource": "-- Grafana --",
|
|
"enable": true,
|
|
"hide": true,
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
"name": "Annotations & Alerts",
|
|
"type": "dashboard"
|
|
}
|
|
]
|
|
},
|
|
"description": "General information for any switch",
|
|
"editable": true,
|
|
"gnetId": 9991,
|
|
"graphTooltip": 0,
|
|
"id": null,
|
|
"iteration": 1554147738390,
|
|
"links": [],
|
|
"panels": [
|
|
{
|
|
"collapsed": true,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"id": 2,
|
|
"panels": [
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": null,
|
|
"format": "s",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 4,
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
"id": 4,
|
|
"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"
|
|
}
|
|
],
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"sysUpTime"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Uptime",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "percent",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": true,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 4,
|
|
"x": 4,
|
|
"y": 1
|
|
},
|
|
"id": 6,
|
|
"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"
|
|
}
|
|
],
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"hh3cEntityExtCpuUsage"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "80,90",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "CPU Usage",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "percent",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": true,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 4,
|
|
"x": 8,
|
|
"y": 1
|
|
},
|
|
"id": 8,
|
|
"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"
|
|
}
|
|
],
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"hh3cEntityExtMemUsage"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "80,90",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Memory Usage",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "celsius",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": true,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 4,
|
|
"x": 12,
|
|
"y": 1
|
|
},
|
|
"id": 10,
|
|
"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"
|
|
}
|
|
],
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"hh3cEntityExtTemperature"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "80,90",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Temperature",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"columns": [],
|
|
"datasource": "${DS_SNMP}",
|
|
"fontSize": "100%",
|
|
"gridPos": {
|
|
"h": 12,
|
|
"w": 8,
|
|
"x": 16,
|
|
"y": 1
|
|
},
|
|
"hideTimeOverride": false,
|
|
"id": 562,
|
|
"links": [],
|
|
"pageSize": null,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
}
|
|
},
|
|
"scroll": true,
|
|
"showHeader": true,
|
|
"sort": {
|
|
"col": 0,
|
|
"desc": true
|
|
},
|
|
"styles": [
|
|
{
|
|
"alias": "Time",
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"pattern": "Time",
|
|
"type": "hidden"
|
|
}
|
|
],
|
|
"targets": [
|
|
{
|
|
"alias": "Ports Up",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT count(\"ifOperStatus\") FROM \"switch\" WHERE (\"agent_host\" =~ /^$ip$/ AND \"ifOperStatus\" = 1) AND $timeFilter GROUP BY time(1m) fill(none)",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
},
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifOperStatus",
|
|
"operator": "=",
|
|
"value": "1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "Ports Down",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT count(\"ifOperStatus\") FROM \"switch\" WHERE (\"agent_host\" =~ /^$ip$/ AND \"ifOperStatus\" = 2) AND $timeFilter GROUP BY time(1m) fill(none)",
|
|
"rawQuery": true,
|
|
"refId": "H",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
},
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifOperStatus",
|
|
"operator": "=",
|
|
"value": "1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "Ports with speed 10Gbps",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"1m"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT count(\"ifSpeed\") FROM \"switch\" WHERE (\"agent_host\" =~ /^$ip$/ AND \"ifSpeed\" = 10000000000) AND $timeFilter GROUP BY time(1m) fill(none)",
|
|
"rawQuery": true,
|
|
"refId": "B",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
},
|
|
{
|
|
"params": [
|
|
"ifSpeed1G"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifSpeed",
|
|
"operator": "=",
|
|
"value": "1000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "Ports with speed 1Gbps",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"1m"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT count(\"ifSpeed\") FROM \"switch\" WHERE (\"agent_host\" =~ /^$ip$/ AND \"ifSpeed\" = 1000000000) AND $timeFilter GROUP BY time(1m) fill(none)",
|
|
"rawQuery": true,
|
|
"refId": "C",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
},
|
|
{
|
|
"params": [
|
|
"ifSpeed1G"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifSpeed",
|
|
"operator": "=",
|
|
"value": "1000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "Ports with speed 100Mbps",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"1m"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT count(\"ifSpeed\") FROM \"switch\" WHERE (\"agent_host\" =~ /^$ip$/ AND \"ifSpeed\" = 100000000) AND $timeFilter GROUP BY time(1m) fill(none)",
|
|
"rawQuery": true,
|
|
"refId": "D",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
},
|
|
{
|
|
"params": [
|
|
"ifSpeed1G"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifSpeed",
|
|
"operator": "=",
|
|
"value": "1000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "Ports with speed 10Mbps",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"1m"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT count(\"ifSpeed\") FROM \"switch\" WHERE (\"agent_host\" =~ /^$ip$/ AND \"ifSpeed\" = 10000000) AND $timeFilter GROUP BY time(1m) fill(none)",
|
|
"rawQuery": true,
|
|
"refId": "E",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
},
|
|
{
|
|
"params": [
|
|
"ifSpeed1G"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifSpeed",
|
|
"operator": "=",
|
|
"value": "1000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "Ports with In Errors",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"1m"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT count(\"ifInErrors\") FROM \"switch\" WHERE (\"agent_host\" =~ /^$ip$/ AND \"ifInErrors\" > 0) AND $timeFilter GROUP BY time(1m) fill(none)",
|
|
"rawQuery": true,
|
|
"refId": "F",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
},
|
|
{
|
|
"params": [
|
|
"ifSpeed1G"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifSpeed",
|
|
"operator": "=",
|
|
"value": "1000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "Ports with Out Errors",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"1m"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT count(\"ifOutErrors\") FROM \"switch\" WHERE (\"agent_host\" =~ /^$ip$/ AND \"ifOutErrors\" > 0) AND $timeFilter GROUP BY time(1m) fill(none)",
|
|
"rawQuery": true,
|
|
"refId": "G",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
},
|
|
{
|
|
"params": [
|
|
"ifSpeed1G"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifSpeed",
|
|
"operator": "=",
|
|
"value": "1000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "Ports with 1 minute Last Change",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"1m"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT count(\"ifLastChange\") FROM \"switch\" WHERE (\"agent_host\" =~ /^$ip$/ AND (\"ifLastChange\" / 100) < 60) AND $timeFilter GROUP BY time(1m) fill(none)",
|
|
"rawQuery": true,
|
|
"refId": "I",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
},
|
|
{
|
|
"params": [
|
|
"ifSpeed1G"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifSpeed",
|
|
"operator": "=",
|
|
"value": "1000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "Ports with 1 hour Last Change",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"1m"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT count(\"ifLastChange\") FROM \"switch\" WHERE (\"agent_host\" =~ /^$ip$/ AND (\"ifLastChange\" / 100) > 60 AND (\"ifLastChange\" / 100) < 3600) AND $timeFilter GROUP BY time(1m) fill(none)",
|
|
"rawQuery": true,
|
|
"refId": "J",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
},
|
|
{
|
|
"params": [
|
|
"ifSpeed1G"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifSpeed",
|
|
"operator": "=",
|
|
"value": "1000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "Ports with 1 day Last Change",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"1m"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT count(\"ifLastChange\") FROM \"switch\" WHERE (\"agent_host\" =~ /^$ip$/ AND (\"ifLastChange\" / 100) > 3600 AND (\"ifLastChange\" / 100) < 86400) AND $timeFilter GROUP BY time(1m) fill(none)",
|
|
"rawQuery": true,
|
|
"refId": "K",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
},
|
|
{
|
|
"params": [
|
|
"ifSpeed1G"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifSpeed",
|
|
"operator": "=",
|
|
"value": "1000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "Ports with 1 week Last Change",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"1m"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT count(\"ifLastChange\") FROM \"switch\" WHERE (\"agent_host\" =~ /^$ip$/ AND (\"ifLastChange\" / 100) > 86400 AND (\"ifLastChange\" / 100) < 604800) AND $timeFilter GROUP BY time(1m) fill(none)",
|
|
"rawQuery": true,
|
|
"refId": "L",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
},
|
|
{
|
|
"params": [
|
|
"ifSpeed1G"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifSpeed",
|
|
"operator": "=",
|
|
"value": "1000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "Ports with 1 month Last Change",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"1m"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT count(\"ifLastChange\") FROM \"switch\" WHERE (\"agent_host\" =~ /^$ip$/ AND(\"ifLastChange\" / 100) > 604800 AND (\"ifLastChange\" / 100) < 18144000) AND $timeFilter GROUP BY time(1m) fill(none)",
|
|
"rawQuery": true,
|
|
"refId": "M",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
},
|
|
{
|
|
"params": [
|
|
"ifSpeed1G"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifSpeed",
|
|
"operator": "=",
|
|
"value": "1000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "Ports with more 1 month Last Change",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"1m"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT count(\"ifLastChange\") FROM \"switch\" WHERE (\"agent_host\" =~ /^$ip$/ AND(\"ifLastChange\" / 100) > 18144000) AND $timeFilter GROUP BY time(1m) fill(none)",
|
|
"rawQuery": true,
|
|
"refId": "N",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
},
|
|
{
|
|
"params": [
|
|
"ifSpeed1G"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifSpeed",
|
|
"operator": "=",
|
|
"value": "1000000000"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": "1m",
|
|
"timeShift": null,
|
|
"title": "Port Statistics",
|
|
"transform": "timeseries_to_rows",
|
|
"type": "table"
|
|
},
|
|
{
|
|
"columns": [],
|
|
"datasource": "${DS_SNMP}",
|
|
"fontSize": "100%",
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 16,
|
|
"x": 0,
|
|
"y": 5
|
|
},
|
|
"id": 183,
|
|
"links": [],
|
|
"pageSize": null,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
}
|
|
},
|
|
"scroll": true,
|
|
"showHeader": true,
|
|
"sort": {
|
|
"col": 3,
|
|
"desc": false
|
|
},
|
|
"styles": [
|
|
{
|
|
"alias": "Time",
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"pattern": "Time",
|
|
"type": "hidden"
|
|
},
|
|
{
|
|
"alias": "Description",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "ifDescr",
|
|
"thresholds": [],
|
|
"type": "string",
|
|
"unit": "short"
|
|
},
|
|
{
|
|
"alias": "Port",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": null,
|
|
"mappingType": 1,
|
|
"pattern": "ifIndex",
|
|
"thresholds": [],
|
|
"type": "number",
|
|
"unit": "short"
|
|
},
|
|
{
|
|
"alias": "MAC Address",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "ifPhysAddress",
|
|
"thresholds": [],
|
|
"type": "string",
|
|
"unit": "short"
|
|
},
|
|
{
|
|
"alias": "Status",
|
|
"colorMode": "value",
|
|
"colors": [
|
|
"rgba(50, 172, 45, 0.97)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(245, 54, 54, 0.9)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": null,
|
|
"mappingType": 1,
|
|
"pattern": "Status",
|
|
"thresholds": [
|
|
"2",
|
|
"2"
|
|
],
|
|
"type": "string",
|
|
"unit": "short",
|
|
"valueMaps": [
|
|
{
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "Speed",
|
|
"colorMode": "value",
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": null,
|
|
"mappingType": 1,
|
|
"pattern": "Speed",
|
|
"thresholds": [
|
|
"100000000",
|
|
"1000000000"
|
|
],
|
|
"type": "number",
|
|
"unit": "bps"
|
|
},
|
|
{
|
|
"alias": "In Errors",
|
|
"colorMode": "value",
|
|
"colors": [
|
|
"rgba(50, 172, 45, 0.97)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(245, 54, 54, 0.9)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": null,
|
|
"mappingType": 1,
|
|
"pattern": "InErrors",
|
|
"thresholds": [
|
|
"1",
|
|
"1"
|
|
],
|
|
"type": "number",
|
|
"unit": "short"
|
|
},
|
|
{
|
|
"alias": "Out Errors",
|
|
"colorMode": "value",
|
|
"colors": [
|
|
"rgba(50, 172, 45, 0.97)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(245, 54, 54, 0.9)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": null,
|
|
"mappingType": 1,
|
|
"pattern": "OutErrors",
|
|
"thresholds": [
|
|
"1",
|
|
"1"
|
|
],
|
|
"type": "number",
|
|
"unit": "short"
|
|
},
|
|
{
|
|
"alias": "Transmitted",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "Transmitted",
|
|
"thresholds": [],
|
|
"type": "number",
|
|
"unit": "decbytes"
|
|
},
|
|
{
|
|
"alias": "Last Change",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "LastChange",
|
|
"thresholds": [],
|
|
"type": "number",
|
|
"unit": "s"
|
|
}
|
|
],
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"ifIndex"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"ifDescr"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"ifPhysAddress"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"ifOperStatus\") AS \"Status\", last(\"ifSpeed\") AS \"Speed\", last(\"ifLastChange\") / 100 AS \"LastChange\", last(\"ifInErrors\") AS \"InErrors\", last(\"ifOutErrors\") AS \"OutErrors\", last(\"ifInOctets\") + last(\"ifOutOctets\") AS \"Transmitted\" FROM \"switch\" WHERE (\"agent_host\" =~ /^$ip$/) AND $timeFilter GROUP BY \"ifIndex\", \"ifDescr\", \"ifPhysAddress\"",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"Status"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"Speed"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"ifInErrors"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"InErrors"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOutErrors"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"OutErrors"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"ifInOctets"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"InOctets"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Port Summary",
|
|
"transform": "table",
|
|
"type": "table"
|
|
}
|
|
],
|
|
"repeat": "ip",
|
|
"title": "Summary - $ip",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
"id": 12,
|
|
"panels": [
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 0,
|
|
"y": 14
|
|
},
|
|
"id": 14,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": "port",
|
|
"repeatDirection": "h",
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "1",
|
|
"value": "1"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 2,
|
|
"y": 14
|
|
},
|
|
"id": 563,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "2",
|
|
"value": "2"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 4,
|
|
"y": 14
|
|
},
|
|
"id": 564,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "3",
|
|
"value": "3"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 6,
|
|
"y": 14
|
|
},
|
|
"id": 565,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "4",
|
|
"value": "4"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 8,
|
|
"y": 14
|
|
},
|
|
"id": 566,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "5",
|
|
"value": "5"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 10,
|
|
"y": 14
|
|
},
|
|
"id": 567,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "6",
|
|
"value": "6"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 12,
|
|
"y": 14
|
|
},
|
|
"id": 568,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "7",
|
|
"value": "7"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 14,
|
|
"y": 14
|
|
},
|
|
"id": 569,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "8",
|
|
"value": "8"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 16,
|
|
"y": 14
|
|
},
|
|
"id": 570,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "9",
|
|
"value": "9"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 18,
|
|
"y": 14
|
|
},
|
|
"id": 571,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "10",
|
|
"value": "10"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 20,
|
|
"y": 14
|
|
},
|
|
"id": 572,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "11",
|
|
"value": "11"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 22,
|
|
"y": 14
|
|
},
|
|
"id": 573,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "12",
|
|
"value": "12"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 0,
|
|
"y": 18
|
|
},
|
|
"id": 574,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "13",
|
|
"value": "13"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 2,
|
|
"y": 18
|
|
},
|
|
"id": 575,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "14",
|
|
"value": "14"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 4,
|
|
"y": 18
|
|
},
|
|
"id": 576,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "15",
|
|
"value": "15"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 6,
|
|
"y": 18
|
|
},
|
|
"id": 577,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "16",
|
|
"value": "16"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 8,
|
|
"y": 18
|
|
},
|
|
"id": 578,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "17",
|
|
"value": "17"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 10,
|
|
"y": 18
|
|
},
|
|
"id": 579,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "18",
|
|
"value": "18"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 12,
|
|
"y": 18
|
|
},
|
|
"id": 580,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "19",
|
|
"value": "19"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 14,
|
|
"y": 18
|
|
},
|
|
"id": 581,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "20",
|
|
"value": "20"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 16,
|
|
"y": 18
|
|
},
|
|
"id": 582,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "21",
|
|
"value": "21"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 18,
|
|
"y": 18
|
|
},
|
|
"id": 583,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "22",
|
|
"value": "22"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 20,
|
|
"y": 18
|
|
},
|
|
"id": 584,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "23",
|
|
"value": "23"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 22,
|
|
"y": 18
|
|
},
|
|
"id": 585,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "24",
|
|
"value": "24"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 0,
|
|
"y": 22
|
|
},
|
|
"id": 586,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "25",
|
|
"value": "25"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 2,
|
|
"y": 22
|
|
},
|
|
"id": 587,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "26",
|
|
"value": "26"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 4,
|
|
"y": 22
|
|
},
|
|
"id": 588,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "27",
|
|
"value": "27"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 6,
|
|
"y": 22
|
|
},
|
|
"id": 589,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "28",
|
|
"value": "28"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 8,
|
|
"y": 22
|
|
},
|
|
"id": 590,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "29",
|
|
"value": "29"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 10,
|
|
"y": 22
|
|
},
|
|
"id": 591,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "30",
|
|
"value": "30"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 12,
|
|
"y": 22
|
|
},
|
|
"id": 592,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "31",
|
|
"value": "31"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 14,
|
|
"y": 22
|
|
},
|
|
"id": 593,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "32",
|
|
"value": "32"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 16,
|
|
"y": 22
|
|
},
|
|
"id": 594,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "33",
|
|
"value": "33"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 18,
|
|
"y": 22
|
|
},
|
|
"id": 595,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "34",
|
|
"value": "34"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 20,
|
|
"y": 22
|
|
},
|
|
"id": 596,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "35",
|
|
"value": "35"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 22,
|
|
"y": 22
|
|
},
|
|
"id": 597,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "36",
|
|
"value": "36"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 0,
|
|
"y": 26
|
|
},
|
|
"id": 598,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "37",
|
|
"value": "37"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 2,
|
|
"y": 26
|
|
},
|
|
"id": 599,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "38",
|
|
"value": "38"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 4,
|
|
"y": 26
|
|
},
|
|
"id": 600,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "39",
|
|
"value": "39"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 6,
|
|
"y": 26
|
|
},
|
|
"id": 601,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "40",
|
|
"value": "40"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 8,
|
|
"y": 26
|
|
},
|
|
"id": 602,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "41",
|
|
"value": "41"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 10,
|
|
"y": 26
|
|
},
|
|
"id": 603,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "42",
|
|
"value": "42"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 12,
|
|
"y": 26
|
|
},
|
|
"id": 604,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "43",
|
|
"value": "43"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 14,
|
|
"y": 26
|
|
},
|
|
"id": 605,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "44",
|
|
"value": "44"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 16,
|
|
"y": 26
|
|
},
|
|
"id": 606,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "45",
|
|
"value": "45"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 18,
|
|
"y": 26
|
|
},
|
|
"id": 607,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "46",
|
|
"value": "46"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 20,
|
|
"y": 26
|
|
},
|
|
"id": 608,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "47",
|
|
"value": "47"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 22,
|
|
"y": 26
|
|
},
|
|
"id": 609,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "48",
|
|
"value": "48"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 0,
|
|
"y": 30
|
|
},
|
|
"id": 610,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "49",
|
|
"value": "49"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 2,
|
|
"y": 30
|
|
},
|
|
"id": 611,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "50",
|
|
"value": "50"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 4,
|
|
"y": 30
|
|
},
|
|
"id": 612,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "51",
|
|
"value": "51"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 6,
|
|
"y": 30
|
|
},
|
|
"id": 613,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "52",
|
|
"value": "52"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 8,
|
|
"y": 30
|
|
},
|
|
"id": 614,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "53",
|
|
"value": "53"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 10,
|
|
"y": 30
|
|
},
|
|
"id": 615,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 14,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "54",
|
|
"value": "54"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOperStatus"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "2,2",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
}
|
|
],
|
|
"repeat": "ip",
|
|
"title": "Operational status - $ip",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 2
|
|
},
|
|
"id": 69,
|
|
"panels": [
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 0,
|
|
"y": 3
|
|
},
|
|
"id": 70,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": "port",
|
|
"repeatDirection": "h",
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "1",
|
|
"value": "1"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 2,
|
|
"y": 3
|
|
},
|
|
"id": 616,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "2",
|
|
"value": "2"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 4,
|
|
"y": 3
|
|
},
|
|
"id": 617,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "3",
|
|
"value": "3"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 6,
|
|
"y": 3
|
|
},
|
|
"id": 618,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "4",
|
|
"value": "4"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 8,
|
|
"y": 3
|
|
},
|
|
"id": 619,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "5",
|
|
"value": "5"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 10,
|
|
"y": 3
|
|
},
|
|
"id": 620,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "6",
|
|
"value": "6"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 12,
|
|
"y": 3
|
|
},
|
|
"id": 621,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "7",
|
|
"value": "7"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 14,
|
|
"y": 3
|
|
},
|
|
"id": 622,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "8",
|
|
"value": "8"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 16,
|
|
"y": 3
|
|
},
|
|
"id": 623,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "9",
|
|
"value": "9"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 18,
|
|
"y": 3
|
|
},
|
|
"id": 624,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "10",
|
|
"value": "10"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 20,
|
|
"y": 3
|
|
},
|
|
"id": 625,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "11",
|
|
"value": "11"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 22,
|
|
"y": 3
|
|
},
|
|
"id": 626,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "12",
|
|
"value": "12"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 0,
|
|
"y": 7
|
|
},
|
|
"id": 627,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "13",
|
|
"value": "13"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 2,
|
|
"y": 7
|
|
},
|
|
"id": 628,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "14",
|
|
"value": "14"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 4,
|
|
"y": 7
|
|
},
|
|
"id": 629,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "15",
|
|
"value": "15"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 6,
|
|
"y": 7
|
|
},
|
|
"id": 630,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "16",
|
|
"value": "16"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 8,
|
|
"y": 7
|
|
},
|
|
"id": 631,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "17",
|
|
"value": "17"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 10,
|
|
"y": 7
|
|
},
|
|
"id": 632,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "18",
|
|
"value": "18"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 12,
|
|
"y": 7
|
|
},
|
|
"id": 633,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "19",
|
|
"value": "19"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 14,
|
|
"y": 7
|
|
},
|
|
"id": 634,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "20",
|
|
"value": "20"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 16,
|
|
"y": 7
|
|
},
|
|
"id": 635,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "21",
|
|
"value": "21"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 18,
|
|
"y": 7
|
|
},
|
|
"id": 636,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "22",
|
|
"value": "22"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 20,
|
|
"y": 7
|
|
},
|
|
"id": 637,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "23",
|
|
"value": "23"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 22,
|
|
"y": 7
|
|
},
|
|
"id": 638,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "24",
|
|
"value": "24"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 0,
|
|
"y": 11
|
|
},
|
|
"id": 639,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "25",
|
|
"value": "25"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 2,
|
|
"y": 11
|
|
},
|
|
"id": 640,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "26",
|
|
"value": "26"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 4,
|
|
"y": 11
|
|
},
|
|
"id": 641,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "27",
|
|
"value": "27"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 6,
|
|
"y": 11
|
|
},
|
|
"id": 642,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "28",
|
|
"value": "28"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 8,
|
|
"y": 11
|
|
},
|
|
"id": 643,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "29",
|
|
"value": "29"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 10,
|
|
"y": 11
|
|
},
|
|
"id": 644,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "30",
|
|
"value": "30"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 12,
|
|
"y": 11
|
|
},
|
|
"id": 645,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "31",
|
|
"value": "31"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 14,
|
|
"y": 11
|
|
},
|
|
"id": 646,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "32",
|
|
"value": "32"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 16,
|
|
"y": 11
|
|
},
|
|
"id": 647,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "33",
|
|
"value": "33"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 18,
|
|
"y": 11
|
|
},
|
|
"id": 648,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "34",
|
|
"value": "34"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 20,
|
|
"y": 11
|
|
},
|
|
"id": 649,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "35",
|
|
"value": "35"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 22,
|
|
"y": 11
|
|
},
|
|
"id": 650,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "36",
|
|
"value": "36"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 0,
|
|
"y": 15
|
|
},
|
|
"id": 651,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "37",
|
|
"value": "37"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 2,
|
|
"y": 15
|
|
},
|
|
"id": 652,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "38",
|
|
"value": "38"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 4,
|
|
"y": 15
|
|
},
|
|
"id": 653,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "39",
|
|
"value": "39"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 6,
|
|
"y": 15
|
|
},
|
|
"id": 654,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "40",
|
|
"value": "40"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 8,
|
|
"y": 15
|
|
},
|
|
"id": 655,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "41",
|
|
"value": "41"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 10,
|
|
"y": 15
|
|
},
|
|
"id": 656,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "42",
|
|
"value": "42"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 12,
|
|
"y": 15
|
|
},
|
|
"id": 657,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "43",
|
|
"value": "43"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 14,
|
|
"y": 15
|
|
},
|
|
"id": 658,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "44",
|
|
"value": "44"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 16,
|
|
"y": 15
|
|
},
|
|
"id": 659,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "45",
|
|
"value": "45"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 18,
|
|
"y": 15
|
|
},
|
|
"id": 660,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "46",
|
|
"value": "46"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 20,
|
|
"y": 15
|
|
},
|
|
"id": 661,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "47",
|
|
"value": "47"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 22,
|
|
"y": 15
|
|
},
|
|
"id": 662,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "48",
|
|
"value": "48"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 0,
|
|
"y": 19
|
|
},
|
|
"id": 663,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "49",
|
|
"value": "49"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 2,
|
|
"y": 19
|
|
},
|
|
"id": 664,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "50",
|
|
"value": "50"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 4,
|
|
"y": 19
|
|
},
|
|
"id": 665,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "51",
|
|
"value": "51"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 6,
|
|
"y": 19
|
|
},
|
|
"id": 666,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "52",
|
|
"value": "52"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 8,
|
|
"y": 19
|
|
},
|
|
"id": 667,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "53",
|
|
"value": "53"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"format": "ms",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 10,
|
|
"y": 19
|
|
},
|
|
"id": 668,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1554140099236,
|
|
"repeatPanelId": 70,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "54",
|
|
"value": "54"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifLastChange"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 100"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
}
|
|
],
|
|
"repeat": "ip",
|
|
"title": "Last Change - $ip",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 3
|
|
},
|
|
"id": 125,
|
|
"panels": [
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 0,
|
|
"y": 4
|
|
},
|
|
"id": 126,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": "port",
|
|
"repeatDirection": "h",
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "1",
|
|
"value": "1"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 2,
|
|
"y": 4
|
|
},
|
|
"id": 292,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "2",
|
|
"value": "2"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 4,
|
|
"y": 4
|
|
},
|
|
"id": 293,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "3",
|
|
"value": "3"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 6,
|
|
"y": 4
|
|
},
|
|
"id": 294,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "4",
|
|
"value": "4"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 8,
|
|
"y": 4
|
|
},
|
|
"id": 295,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "5",
|
|
"value": "5"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 10,
|
|
"y": 4
|
|
},
|
|
"id": 296,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "6",
|
|
"value": "6"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 12,
|
|
"y": 4
|
|
},
|
|
"id": 297,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "7",
|
|
"value": "7"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 14,
|
|
"y": 4
|
|
},
|
|
"id": 298,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "8",
|
|
"value": "8"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 16,
|
|
"y": 4
|
|
},
|
|
"id": 299,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "9",
|
|
"value": "9"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 18,
|
|
"y": 4
|
|
},
|
|
"id": 300,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "10",
|
|
"value": "10"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 20,
|
|
"y": 4
|
|
},
|
|
"id": 301,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "11",
|
|
"value": "11"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 22,
|
|
"y": 4
|
|
},
|
|
"id": 302,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "12",
|
|
"value": "12"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 0,
|
|
"y": 8
|
|
},
|
|
"id": 303,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "13",
|
|
"value": "13"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 2,
|
|
"y": 8
|
|
},
|
|
"id": 304,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "14",
|
|
"value": "14"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 4,
|
|
"y": 8
|
|
},
|
|
"id": 305,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "15",
|
|
"value": "15"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 6,
|
|
"y": 8
|
|
},
|
|
"id": 306,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "16",
|
|
"value": "16"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 8,
|
|
"y": 8
|
|
},
|
|
"id": 307,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "17",
|
|
"value": "17"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 10,
|
|
"y": 8
|
|
},
|
|
"id": 308,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "18",
|
|
"value": "18"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 12,
|
|
"y": 8
|
|
},
|
|
"id": 309,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "19",
|
|
"value": "19"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 14,
|
|
"y": 8
|
|
},
|
|
"id": 310,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "20",
|
|
"value": "20"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 16,
|
|
"y": 8
|
|
},
|
|
"id": 311,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "21",
|
|
"value": "21"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 18,
|
|
"y": 8
|
|
},
|
|
"id": 312,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "22",
|
|
"value": "22"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 20,
|
|
"y": 8
|
|
},
|
|
"id": 313,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "23",
|
|
"value": "23"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 22,
|
|
"y": 8
|
|
},
|
|
"id": 314,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "24",
|
|
"value": "24"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 0,
|
|
"y": 12
|
|
},
|
|
"id": 315,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "25",
|
|
"value": "25"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 2,
|
|
"y": 12
|
|
},
|
|
"id": 316,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "26",
|
|
"value": "26"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 4,
|
|
"y": 12
|
|
},
|
|
"id": 317,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "27",
|
|
"value": "27"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 6,
|
|
"y": 12
|
|
},
|
|
"id": 318,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "28",
|
|
"value": "28"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 8,
|
|
"y": 12
|
|
},
|
|
"id": 319,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "29",
|
|
"value": "29"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 10,
|
|
"y": 12
|
|
},
|
|
"id": 320,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "30",
|
|
"value": "30"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 12,
|
|
"y": 12
|
|
},
|
|
"id": 321,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "31",
|
|
"value": "31"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 14,
|
|
"y": 12
|
|
},
|
|
"id": 322,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "32",
|
|
"value": "32"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 16,
|
|
"y": 12
|
|
},
|
|
"id": 323,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "33",
|
|
"value": "33"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 18,
|
|
"y": 12
|
|
},
|
|
"id": 324,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "34",
|
|
"value": "34"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 20,
|
|
"y": 12
|
|
},
|
|
"id": 325,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "35",
|
|
"value": "35"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 22,
|
|
"y": 12
|
|
},
|
|
"id": 326,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "36",
|
|
"value": "36"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 0,
|
|
"y": 16
|
|
},
|
|
"id": 327,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "37",
|
|
"value": "37"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 2,
|
|
"y": 16
|
|
},
|
|
"id": 328,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "38",
|
|
"value": "38"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 4,
|
|
"y": 16
|
|
},
|
|
"id": 329,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "39",
|
|
"value": "39"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 6,
|
|
"y": 16
|
|
},
|
|
"id": 330,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "40",
|
|
"value": "40"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 8,
|
|
"y": 16
|
|
},
|
|
"id": 331,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "41",
|
|
"value": "41"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 10,
|
|
"y": 16
|
|
},
|
|
"id": 332,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "42",
|
|
"value": "42"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 12,
|
|
"y": 16
|
|
},
|
|
"id": 333,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "43",
|
|
"value": "43"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 14,
|
|
"y": 16
|
|
},
|
|
"id": 334,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "44",
|
|
"value": "44"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 16,
|
|
"y": 16
|
|
},
|
|
"id": 335,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "45",
|
|
"value": "45"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 18,
|
|
"y": 16
|
|
},
|
|
"id": 336,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "46",
|
|
"value": "46"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 20,
|
|
"y": 16
|
|
},
|
|
"id": 337,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "47",
|
|
"value": "47"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 22,
|
|
"y": 16
|
|
},
|
|
"id": 338,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "48",
|
|
"value": "48"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 0,
|
|
"y": 20
|
|
},
|
|
"id": 339,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "49",
|
|
"value": "49"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 2,
|
|
"y": 20
|
|
},
|
|
"id": 340,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "50",
|
|
"value": "50"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 4,
|
|
"y": 20
|
|
},
|
|
"id": 341,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "51",
|
|
"value": "51"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 6,
|
|
"y": 20
|
|
},
|
|
"id": 342,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "52",
|
|
"value": "52"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 8,
|
|
"y": 20
|
|
},
|
|
"id": 343,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "53",
|
|
"value": "53"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"#d44a3a",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#299c46"
|
|
],
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"format": "bps",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 10,
|
|
"y": 20
|
|
},
|
|
"id": 344,
|
|
"interval": null,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"maxPerRow": 12,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatDirection": "h",
|
|
"repeatIteration": 1553292923620,
|
|
"repeatPanelId": 126,
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
},
|
|
"port": {
|
|
"selected": false,
|
|
"text": "54",
|
|
"value": "54"
|
|
}
|
|
},
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"groupBy": [],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifSpeed"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "100000000,1000000000",
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "$port",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "down",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "testing",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "unknown",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "dormant",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "not present",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "lower layer down",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
}
|
|
],
|
|
"repeat": "ip",
|
|
"title": "Speed - $ip",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 4
|
|
},
|
|
"id": 181,
|
|
"panels": [
|
|
{
|
|
"aliasColors": {},
|
|
"bars": true,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "${DS_SNMP}",
|
|
"decimals": 0,
|
|
"fill": 1,
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 5
|
|
},
|
|
"id": 291,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": false,
|
|
"current": true,
|
|
"hideEmpty": true,
|
|
"hideZero": true,
|
|
"max": false,
|
|
"min": false,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": false,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "null",
|
|
"paceLength": 10,
|
|
"percentage": false,
|
|
"pointradius": 2,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
}
|
|
},
|
|
"seriesOverrides": [],
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "IN $tag_ifIndex",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"ifIndex"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT mean(\"ifInErrors\") FROM \"switch\" WHERE (\"agent_host\" =~ /^$ip$/ AND \"ifIndex\" =~ /^$port$/) AND $timeFilter AND \"ifInErrors\" > 0 GROUP BY time($__interval), \"ifIndex\" fill(null)",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifInErrors"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "OUT $tag_ifIndex",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"ifIndex"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT mean(\"ifOutErrors\") FROM \"switch\" WHERE (\"agent_host\" =~ /^$ip$/ AND \"ifIndex\" =~ /^$port$/) AND $timeFilter AND \"ifOutErrors\" > 0 GROUP BY time($__interval), \"ifIndex\" fill(null)",
|
|
"rawQuery": true,
|
|
"refId": "B",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOutErrors"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "I/O Errors",
|
|
"tooltip": {
|
|
"shared": false,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "series",
|
|
"name": null,
|
|
"show": true,
|
|
"values": [
|
|
"current"
|
|
]
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"decimals": null,
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
}
|
|
],
|
|
"repeat": "ip",
|
|
"title": "I/O Errors - $ip",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 5
|
|
},
|
|
"id": 505,
|
|
"panels": [
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "${DS_SNMP}",
|
|
"fill": 1,
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 6
|
|
},
|
|
"id": 507,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": false,
|
|
"current": true,
|
|
"hideEmpty": true,
|
|
"hideZero": true,
|
|
"max": true,
|
|
"min": false,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "null",
|
|
"paceLength": 10,
|
|
"percentage": false,
|
|
"pointradius": 2,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"scopedVars": {
|
|
"ip": {
|
|
"selected": false,
|
|
"text": "192.168.5.208",
|
|
"value": "192.168.5.208"
|
|
}
|
|
},
|
|
"seriesOverrides": [],
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "IN $tag_ifIndex",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"ifIndex"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT abs(derivative(mean(\"ifInOctets\"), 1s)) *8 FROM \"switch\" WHERE (\"agent_host\" =~ /^$ip$/ AND \"ifIndex\" =~ /^$port$/) AND $timeFilter GROUP BY time($__interval), \"ifIndex\" fill(null)",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifInOctets"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "OUT $tag_ifIndex",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"ifIndex"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "switch",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT abs(derivative(mean(\"ifOutOctets\"), 1s)) *-8 FROM \"switch\" WHERE (\"agent_host\" =~ /^$ip$/ AND \"ifIndex\" =~ /^$port$/) AND $timeFilter GROUP BY time($__interval), \"ifIndex\" fill(null)",
|
|
"rawQuery": true,
|
|
"refId": "B",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ifOutOctets"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "agent_host",
|
|
"operator": "=~",
|
|
"value": "/^$ip$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ifIndex",
|
|
"operator": "=~",
|
|
"value": "/^$port$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "I/O Data Rate",
|
|
"tooltip": {
|
|
"shared": false,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "bps",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
}
|
|
],
|
|
"repeat": "ip",
|
|
"title": "I/O Octets - $ip",
|
|
"type": "row"
|
|
}
|
|
],
|
|
"schemaVersion": 18,
|
|
"style": "dark",
|
|
"tags": [],
|
|
"templating": {
|
|
"list": [
|
|
{
|
|
"allValue": null,
|
|
"current": {},
|
|
"datasource": "${DS_SNMP}",
|
|
"definition": "SHOW TAG VALUES FROM \"switch\" WITH KEY = \"ifIndex\"",
|
|
"hide": 0,
|
|
"includeAll": true,
|
|
"label": "Port",
|
|
"multi": true,
|
|
"name": "port",
|
|
"options": [],
|
|
"query": "SHOW TAG VALUES FROM \"switch\" WITH KEY = \"ifIndex\"",
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"sort": 0,
|
|
"tagValuesQuery": "",
|
|
"tags": [],
|
|
"tagsQuery": "",
|
|
"type": "query",
|
|
"useTags": false
|
|
},
|
|
{
|
|
"allValue": null,
|
|
"current": {},
|
|
"datasource": "${DS_SNMP}",
|
|
"definition": "SHOW TAG VALUES FROM \"switch\" WITH KEY = \"agent_host\"",
|
|
"hide": 0,
|
|
"includeAll": true,
|
|
"label": "IP Switch",
|
|
"multi": true,
|
|
"name": "ip",
|
|
"options": [],
|
|
"query": "SHOW TAG VALUES FROM \"switch\" WITH KEY = \"agent_host\"",
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"sort": 0,
|
|
"tagValuesQuery": "SHOW TAG VALUES FROM \"switch\" WITH KEY = \"agent_host\" WHERE entPhysicalName= '$tag'",
|
|
"tags": [
|
|
"HP V1910-48G Switch JE009A"
|
|
],
|
|
"tagsQuery": "SHOW TAG VALUES FROM \"switch\" WITH KEY = \"entPhysicalName\"",
|
|
"type": "query",
|
|
"useTags": true
|
|
}
|
|
]
|
|
},
|
|
"time": {
|
|
"from": "now-6h",
|
|
"to": "now"
|
|
},
|
|
"timepicker": {
|
|
"refresh_intervals": [
|
|
"5s",
|
|
"10s",
|
|
"30s",
|
|
"1m",
|
|
"5m",
|
|
"15m",
|
|
"30m",
|
|
"1h",
|
|
"2h",
|
|
"1d"
|
|
],
|
|
"time_options": [
|
|
"5m",
|
|
"15m",
|
|
"1h",
|
|
"6h",
|
|
"12h",
|
|
"24h",
|
|
"2d",
|
|
"7d",
|
|
"30d"
|
|
]
|
|
},
|
|
"timezone": "",
|
|
"title": "Switch Overview",
|
|
"uid": "w5SNqE3mk",
|
|
"version": 3
|
|
} |