Added monitoring support
This commit is contained in:
+2660
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+1522
File diff suppressed because it is too large
Load Diff
+2789
File diff suppressed because it is too large
Load Diff
+894
@@ -0,0 +1,894 @@
|
||||
{
|
||||
"meta": {
|
||||
"chronografVersion": "1.10.1",
|
||||
"sources": {
|
||||
"5000": {
|
||||
"name": "internal",
|
||||
"link": "/chronograf/v1/sources/5000"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dashboard": {
|
||||
"id": "5",
|
||||
"cells": [
|
||||
{
|
||||
"i": "0b416a7f-bb94-48e7-9877-bb95a896fd6c",
|
||||
"x": 9,
|
||||
"y": 0,
|
||||
"w": 3,
|
||||
"h": 1,
|
||||
"name": "Total Errors (packets) - :host: - :interface:",
|
||||
"queries": [
|
||||
{
|
||||
"query": "SELECT (last(\"err_in\") - first(\"err_in\")) + (last(\"err_out\") - first(\"err_out\")) AS \"Total Errors\" FROM \"telegraf\".\"autogen\".\"net\" WHERE time > :dashboardTime: AND \"host\"=':host:' AND \"interface\"=':interface:' FILL(null)",
|
||||
"queryConfig": {
|
||||
"database": "",
|
||||
"measurement": "",
|
||||
"retentionPolicy": "",
|
||||
"fields": [],
|
||||
"tags": {},
|
||||
"groupBy": {
|
||||
"time": "",
|
||||
"tags": []
|
||||
},
|
||||
"areTagsAccepted": false,
|
||||
"rawText": "SELECT (last(\"err_in\") - first(\"err_in\")) + (last(\"err_out\") - first(\"err_out\")) AS \"Total Errors\" FROM \"telegraf\".\"autogen\".\"net\" WHERE time > :dashboardTime: AND \"host\"=':host:' AND \"interface\"=':interface:' FILL(null)",
|
||||
"range": null,
|
||||
"shifts": null
|
||||
},
|
||||
"source": "",
|
||||
"type": "influxql"
|
||||
}
|
||||
],
|
||||
"axes": {
|
||||
"x": {
|
||||
"bounds": [
|
||||
"",
|
||||
""
|
||||
],
|
||||
"label": "",
|
||||
"prefix": "",
|
||||
"suffix": "",
|
||||
"base": "10",
|
||||
"scale": "linear"
|
||||
},
|
||||
"y": {
|
||||
"bounds": [
|
||||
"",
|
||||
""
|
||||
],
|
||||
"label": "bits",
|
||||
"prefix": "",
|
||||
"suffix": "",
|
||||
"base": "2",
|
||||
"scale": "linear"
|
||||
},
|
||||
"y2": {
|
||||
"bounds": [
|
||||
"",
|
||||
""
|
||||
],
|
||||
"label": "",
|
||||
"prefix": "",
|
||||
"suffix": "",
|
||||
"base": "10",
|
||||
"scale": "linear"
|
||||
}
|
||||
},
|
||||
"type": "single-stat",
|
||||
"colors": [
|
||||
{
|
||||
"id": "base",
|
||||
"type": "text",
|
||||
"hex": "#00C9FF",
|
||||
"name": "laser",
|
||||
"value": "-1000000000000000000"
|
||||
}
|
||||
],
|
||||
"legend": {},
|
||||
"tableOptions": {
|
||||
"verticalTimeAxis": true,
|
||||
"sortBy": {
|
||||
"internalName": "time",
|
||||
"displayName": "",
|
||||
"visible": true
|
||||
},
|
||||
"wrapping": "truncate",
|
||||
"fixFirstColumn": true
|
||||
},
|
||||
"fieldOptions": [
|
||||
{
|
||||
"internalName": "time",
|
||||
"displayName": "",
|
||||
"visible": true
|
||||
}
|
||||
],
|
||||
"timeFormat": "MM/DD/YYYY HH:mm:ss",
|
||||
"decimalPlaces": {
|
||||
"isEnforced": true,
|
||||
"digits": 0
|
||||
},
|
||||
"note": "",
|
||||
"noteVisibility": "default",
|
||||
"links": {
|
||||
"self": "/chronograf/v1/dashboards/5/cells/0b416a7f-bb94-48e7-9877-bb95a896fd6c"
|
||||
}
|
||||
},
|
||||
{
|
||||
"i": "b9acc5e0-7cb8-4901-8602-b5f9342ea386",
|
||||
"x": 6,
|
||||
"y": 0,
|
||||
"w": 3,
|
||||
"h": 1,
|
||||
"name": "Total Discards (packets) - :host: - :interface:",
|
||||
"queries": [
|
||||
{
|
||||
"query": "SELECT (last(\"drop_in\") - first(\"drop_in\")) + (last(\"drop_out\") - first(\"drop_out\")) AS \"Total Discards\" FROM \"telegraf\".\"autogen\".\"net\" WHERE time > :dashboardTime: AND \"host\"=':host:' AND \"interface\"=':interface:' FILL(null)",
|
||||
"queryConfig": {
|
||||
"database": "",
|
||||
"measurement": "",
|
||||
"retentionPolicy": "",
|
||||
"fields": [],
|
||||
"tags": {},
|
||||
"groupBy": {
|
||||
"time": "",
|
||||
"tags": []
|
||||
},
|
||||
"areTagsAccepted": false,
|
||||
"rawText": "SELECT (last(\"drop_in\") - first(\"drop_in\")) + (last(\"drop_out\") - first(\"drop_out\")) AS \"Total Discards\" FROM \"telegraf\".\"autogen\".\"net\" WHERE time > :dashboardTime: AND \"host\"=':host:' AND \"interface\"=':interface:' FILL(null)",
|
||||
"range": null,
|
||||
"shifts": null
|
||||
},
|
||||
"source": "",
|
||||
"type": "influxql"
|
||||
}
|
||||
],
|
||||
"axes": {
|
||||
"x": {
|
||||
"bounds": [
|
||||
"",
|
||||
""
|
||||
],
|
||||
"label": "",
|
||||
"prefix": "",
|
||||
"suffix": "",
|
||||
"base": "10",
|
||||
"scale": "linear"
|
||||
},
|
||||
"y": {
|
||||
"bounds": [
|
||||
"",
|
||||
""
|
||||
],
|
||||
"label": "bits",
|
||||
"prefix": "",
|
||||
"suffix": "",
|
||||
"base": "2",
|
||||
"scale": "linear"
|
||||
},
|
||||
"y2": {
|
||||
"bounds": [
|
||||
"",
|
||||
""
|
||||
],
|
||||
"label": "",
|
||||
"prefix": "",
|
||||
"suffix": "",
|
||||
"base": "10",
|
||||
"scale": "linear"
|
||||
}
|
||||
},
|
||||
"type": "single-stat",
|
||||
"colors": [
|
||||
{
|
||||
"id": "base",
|
||||
"type": "text",
|
||||
"hex": "#00C9FF",
|
||||
"name": "laser",
|
||||
"value": "-1000000000000000000"
|
||||
}
|
||||
],
|
||||
"legend": {},
|
||||
"tableOptions": {
|
||||
"verticalTimeAxis": true,
|
||||
"sortBy": {
|
||||
"internalName": "time",
|
||||
"displayName": "",
|
||||
"visible": true
|
||||
},
|
||||
"wrapping": "truncate",
|
||||
"fixFirstColumn": true
|
||||
},
|
||||
"fieldOptions": [
|
||||
{
|
||||
"internalName": "time",
|
||||
"displayName": "",
|
||||
"visible": true
|
||||
}
|
||||
],
|
||||
"timeFormat": "MM/DD/YYYY HH:mm:ss",
|
||||
"decimalPlaces": {
|
||||
"isEnforced": true,
|
||||
"digits": 0
|
||||
},
|
||||
"note": "",
|
||||
"noteVisibility": "default",
|
||||
"links": {
|
||||
"self": "/chronograf/v1/dashboards/5/cells/b9acc5e0-7cb8-4901-8602-b5f9342ea386"
|
||||
}
|
||||
},
|
||||
{
|
||||
"i": "221e4ac0-af96-4535-baf1-64112fe65c62",
|
||||
"x": 3,
|
||||
"y": 0,
|
||||
"w": 3,
|
||||
"h": 1,
|
||||
"name": "Total Traffic (packets) - :host: - :interface:",
|
||||
"queries": [
|
||||
{
|
||||
"query": "SELECT ((last(\"packets_recv\") - first(\"packets_recv\")) + (last(\"packets_sent\") - first(\"packets_sent\"))) / 1000 AS \"Total Packets\" FROM \"telegraf\".\"autogen\".\"net\" WHERE time > :dashboardTime: AND \"host\"=':host:' AND \"interface\"=':interface:' FILL(null)",
|
||||
"queryConfig": {
|
||||
"database": "",
|
||||
"measurement": "",
|
||||
"retentionPolicy": "",
|
||||
"fields": [],
|
||||
"tags": {},
|
||||
"groupBy": {
|
||||
"time": "",
|
||||
"tags": []
|
||||
},
|
||||
"areTagsAccepted": false,
|
||||
"rawText": "SELECT ((last(\"packets_recv\") - first(\"packets_recv\")) + (last(\"packets_sent\") - first(\"packets_sent\"))) / 1000 AS \"Total Packets\" FROM \"telegraf\".\"autogen\".\"net\" WHERE time > :dashboardTime: AND \"host\"=':host:' AND \"interface\"=':interface:' FILL(null)",
|
||||
"range": null,
|
||||
"shifts": null
|
||||
},
|
||||
"source": "",
|
||||
"type": "influxql"
|
||||
}
|
||||
],
|
||||
"axes": {
|
||||
"x": {
|
||||
"bounds": [
|
||||
"",
|
||||
""
|
||||
],
|
||||
"label": "",
|
||||
"prefix": "",
|
||||
"suffix": "",
|
||||
"base": "10",
|
||||
"scale": "linear"
|
||||
},
|
||||
"y": {
|
||||
"bounds": [
|
||||
"",
|
||||
""
|
||||
],
|
||||
"label": "bits",
|
||||
"prefix": "",
|
||||
"suffix": " K",
|
||||
"base": "2",
|
||||
"scale": "linear"
|
||||
},
|
||||
"y2": {
|
||||
"bounds": [
|
||||
"",
|
||||
""
|
||||
],
|
||||
"label": "",
|
||||
"prefix": "",
|
||||
"suffix": "",
|
||||
"base": "10",
|
||||
"scale": "linear"
|
||||
}
|
||||
},
|
||||
"type": "single-stat",
|
||||
"colors": [
|
||||
{
|
||||
"id": "base",
|
||||
"type": "text",
|
||||
"hex": "#00C9FF",
|
||||
"name": "laser",
|
||||
"value": "-1000000000000000000"
|
||||
}
|
||||
],
|
||||
"legend": {},
|
||||
"tableOptions": {
|
||||
"verticalTimeAxis": true,
|
||||
"sortBy": {
|
||||
"internalName": "time",
|
||||
"displayName": "",
|
||||
"visible": true
|
||||
},
|
||||
"wrapping": "truncate",
|
||||
"fixFirstColumn": true
|
||||
},
|
||||
"fieldOptions": [
|
||||
{
|
||||
"internalName": "time",
|
||||
"displayName": "",
|
||||
"visible": true
|
||||
}
|
||||
],
|
||||
"timeFormat": "MM/DD/YYYY HH:mm:ss",
|
||||
"decimalPlaces": {
|
||||
"isEnforced": true,
|
||||
"digits": 0
|
||||
},
|
||||
"note": "",
|
||||
"noteVisibility": "default",
|
||||
"links": {
|
||||
"self": "/chronograf/v1/dashboards/5/cells/221e4ac0-af96-4535-baf1-64112fe65c62"
|
||||
}
|
||||
},
|
||||
{
|
||||
"i": "bf42bf7c-3c5b-46e0-a419-b320c3d95faa",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"w": 3,
|
||||
"h": 1,
|
||||
"name": "Total Traffic (bytes) - :host: - :interface:",
|
||||
"queries": [
|
||||
{
|
||||
"query": "SELECT ((last(\"bytes_recv\") - first(\"bytes_recv\")) + (last(\"bytes_sent\") - first(\"bytes_sent\"))) / 1000000 AS \"Total Bytes\" FROM \"telegraf\".\"autogen\".\"net\" WHERE time > :dashboardTime: AND \"host\"=':host:' AND \"interface\"=':interface:' FILL(null)",
|
||||
"queryConfig": {
|
||||
"database": "",
|
||||
"measurement": "",
|
||||
"retentionPolicy": "",
|
||||
"fields": [],
|
||||
"tags": {},
|
||||
"groupBy": {
|
||||
"time": "",
|
||||
"tags": []
|
||||
},
|
||||
"areTagsAccepted": false,
|
||||
"rawText": "SELECT ((last(\"bytes_recv\") - first(\"bytes_recv\")) + (last(\"bytes_sent\") - first(\"bytes_sent\"))) / 1000000 AS \"Total Bytes\" FROM \"telegraf\".\"autogen\".\"net\" WHERE time > :dashboardTime: AND \"host\"=':host:' AND \"interface\"=':interface:' FILL(null)",
|
||||
"range": null,
|
||||
"shifts": null
|
||||
},
|
||||
"source": "",
|
||||
"type": "influxql"
|
||||
}
|
||||
],
|
||||
"axes": {
|
||||
"x": {
|
||||
"bounds": [
|
||||
"",
|
||||
""
|
||||
],
|
||||
"label": "",
|
||||
"prefix": "",
|
||||
"suffix": "",
|
||||
"base": "10",
|
||||
"scale": "linear"
|
||||
},
|
||||
"y": {
|
||||
"bounds": [
|
||||
"",
|
||||
""
|
||||
],
|
||||
"label": "bits",
|
||||
"prefix": "",
|
||||
"suffix": " MB",
|
||||
"base": "2",
|
||||
"scale": "linear"
|
||||
},
|
||||
"y2": {
|
||||
"bounds": [
|
||||
"",
|
||||
""
|
||||
],
|
||||
"label": "",
|
||||
"prefix": "",
|
||||
"suffix": "",
|
||||
"base": "10",
|
||||
"scale": "linear"
|
||||
}
|
||||
},
|
||||
"type": "single-stat",
|
||||
"colors": [
|
||||
{
|
||||
"id": "base",
|
||||
"type": "text",
|
||||
"hex": "#00C9FF",
|
||||
"name": "laser",
|
||||
"value": "-1000000000000000000"
|
||||
}
|
||||
],
|
||||
"legend": {},
|
||||
"tableOptions": {
|
||||
"verticalTimeAxis": true,
|
||||
"sortBy": {
|
||||
"internalName": "time",
|
||||
"displayName": "",
|
||||
"visible": true
|
||||
},
|
||||
"wrapping": "truncate",
|
||||
"fixFirstColumn": true
|
||||
},
|
||||
"fieldOptions": [
|
||||
{
|
||||
"internalName": "time",
|
||||
"displayName": "",
|
||||
"visible": true
|
||||
}
|
||||
],
|
||||
"timeFormat": "MM/DD/YYYY HH:mm:ss",
|
||||
"decimalPlaces": {
|
||||
"isEnforced": true,
|
||||
"digits": 2
|
||||
},
|
||||
"note": "",
|
||||
"noteVisibility": "default",
|
||||
"links": {
|
||||
"self": "/chronograf/v1/dashboards/5/cells/bf42bf7c-3c5b-46e0-a419-b320c3d95faa"
|
||||
}
|
||||
},
|
||||
{
|
||||
"i": "e9a055f5-7a22-4fc8-8848-9faea022fa93",
|
||||
"x": 0,
|
||||
"y": 7,
|
||||
"w": 12,
|
||||
"h": 3,
|
||||
"name": "Dropped Packets - :host: - :interface:",
|
||||
"queries": [
|
||||
{
|
||||
"query": "SELECT non_negative_difference(last(\"drop_in\")) AS \"Ingress Discards\", (non_negative_difference(last(\"err_in\"))) AS \"Ingress Errors\" FROM \"telegraf\".\"autogen\".\"net\" WHERE time > :dashboardTime: AND \"host\"=':host:' AND \"interface\"=':interface:' GROUP BY time(:interval:) FILL(null)",
|
||||
"queryConfig": {
|
||||
"database": "",
|
||||
"measurement": "",
|
||||
"retentionPolicy": "",
|
||||
"fields": [],
|
||||
"tags": {},
|
||||
"groupBy": {
|
||||
"time": "",
|
||||
"tags": []
|
||||
},
|
||||
"areTagsAccepted": false,
|
||||
"rawText": "SELECT non_negative_difference(last(\"drop_in\")) AS \"Ingress Discards\", (non_negative_difference(last(\"err_in\"))) AS \"Ingress Errors\" FROM \"telegraf\".\"autogen\".\"net\" WHERE time > :dashboardTime: AND \"host\"=':host:' AND \"interface\"=':interface:' GROUP BY time(:interval:) FILL(null)",
|
||||
"range": null,
|
||||
"shifts": null
|
||||
},
|
||||
"source": "",
|
||||
"type": "influxql"
|
||||
},
|
||||
{
|
||||
"query": "SELECT non_negative_derivative(last(\"drop_out\"),1s) * -1 AS \"Egress Dropped Packet Rate\", (non_negative_derivative(last(\"err_out\"),1s)) * -1 AS \"Egress Errored Packet Rate\" FROM \"telegraf\".\"autogen\".\"net\" WHERE time > :dashboardTime: AND \"host\"=':host:' AND \"interface\"=':interface:' GROUP BY time(:interval:) FILL(null)",
|
||||
"queryConfig": {
|
||||
"database": "",
|
||||
"measurement": "",
|
||||
"retentionPolicy": "",
|
||||
"fields": [],
|
||||
"tags": {},
|
||||
"groupBy": {
|
||||
"time": "",
|
||||
"tags": []
|
||||
},
|
||||
"areTagsAccepted": false,
|
||||
"rawText": "SELECT non_negative_derivative(last(\"drop_out\"),1s) * -1 AS \"Egress Dropped Packet Rate\", (non_negative_derivative(last(\"err_out\"),1s)) * -1 AS \"Egress Errored Packet Rate\" FROM \"telegraf\".\"autogen\".\"net\" WHERE time > :dashboardTime: AND \"host\"=':host:' AND \"interface\"=':interface:' GROUP BY time(:interval:) FILL(null)",
|
||||
"range": null,
|
||||
"shifts": null
|
||||
},
|
||||
"source": "",
|
||||
"type": "influxql"
|
||||
}
|
||||
],
|
||||
"axes": {
|
||||
"x": {
|
||||
"bounds": [
|
||||
"",
|
||||
""
|
||||
],
|
||||
"label": "",
|
||||
"prefix": "",
|
||||
"suffix": "",
|
||||
"base": "10",
|
||||
"scale": "linear"
|
||||
},
|
||||
"y": {
|
||||
"bounds": [
|
||||
"",
|
||||
""
|
||||
],
|
||||
"label": "packets",
|
||||
"prefix": "",
|
||||
"suffix": "/s",
|
||||
"base": "2",
|
||||
"scale": "linear"
|
||||
},
|
||||
"y2": {
|
||||
"bounds": [
|
||||
"",
|
||||
""
|
||||
],
|
||||
"label": "",
|
||||
"prefix": "",
|
||||
"suffix": "",
|
||||
"base": "10",
|
||||
"scale": "linear"
|
||||
}
|
||||
},
|
||||
"type": "line-stacked",
|
||||
"colors": [
|
||||
{
|
||||
"id": "d0d6afdf-e43a-4f84-bfb8-bce962799cdc",
|
||||
"type": "scale",
|
||||
"hex": "#31C0F6",
|
||||
"name": "Nineteen Eighty Four",
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
"id": "51af7221-74a0-450e-8be0-91b40cffbdb7",
|
||||
"type": "scale",
|
||||
"hex": "#A500A5",
|
||||
"name": "Nineteen Eighty Four",
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
"id": "c125b7e0-a2a2-42bf-9cc6-228eb6ced525",
|
||||
"type": "scale",
|
||||
"hex": "#FF7E27",
|
||||
"name": "Nineteen Eighty Four",
|
||||
"value": "0"
|
||||
}
|
||||
],
|
||||
"legend": {},
|
||||
"tableOptions": {
|
||||
"verticalTimeAxis": true,
|
||||
"sortBy": {
|
||||
"internalName": "time",
|
||||
"displayName": "",
|
||||
"visible": true
|
||||
},
|
||||
"wrapping": "truncate",
|
||||
"fixFirstColumn": true
|
||||
},
|
||||
"fieldOptions": [
|
||||
{
|
||||
"internalName": "time",
|
||||
"displayName": "",
|
||||
"visible": true
|
||||
}
|
||||
],
|
||||
"timeFormat": "MM/DD/YYYY HH:mm:ss",
|
||||
"decimalPlaces": {
|
||||
"isEnforced": true,
|
||||
"digits": 2
|
||||
},
|
||||
"note": "",
|
||||
"noteVisibility": "default",
|
||||
"links": {
|
||||
"self": "/chronograf/v1/dashboards/5/cells/e9a055f5-7a22-4fc8-8848-9faea022fa93"
|
||||
}
|
||||
},
|
||||
{
|
||||
"i": "63895134-f930-49ae-b1ac-3294142ef142",
|
||||
"x": 0,
|
||||
"y": 4,
|
||||
"w": 12,
|
||||
"h": 3,
|
||||
"name": "Traffic Rate (pkts/s) - :host: - :interface:",
|
||||
"queries": [
|
||||
{
|
||||
"query": "SELECT non_negative_derivative(last(\"packets_recv\"),1s) AS \"Ingress Packet Rate\" FROM \"telegraf\".\"autogen\".\"net\" WHERE time > :dashboardTime: AND \"host\"=':host:' AND \"interface\"=':interface:' GROUP BY time(:interval:) FILL(null)",
|
||||
"queryConfig": {
|
||||
"database": "",
|
||||
"measurement": "",
|
||||
"retentionPolicy": "",
|
||||
"fields": [],
|
||||
"tags": {},
|
||||
"groupBy": {
|
||||
"time": "",
|
||||
"tags": []
|
||||
},
|
||||
"areTagsAccepted": false,
|
||||
"rawText": "SELECT non_negative_derivative(last(\"packets_recv\"),1s) AS \"Ingress Packet Rate\" FROM \"telegraf\".\"autogen\".\"net\" WHERE time > :dashboardTime: AND \"host\"=':host:' AND \"interface\"=':interface:' GROUP BY time(:interval:) FILL(null)",
|
||||
"range": null,
|
||||
"shifts": null
|
||||
},
|
||||
"source": "",
|
||||
"type": "influxql"
|
||||
},
|
||||
{
|
||||
"query": "SELECT non_negative_derivative(last(\"packets_sent\"),1s) * -1 AS \"Egress Unicast Packet Rate\" FROM \"telegraf\".\"autogen\".\"net\" WHERE time > :dashboardTime: AND \"host\"=':host:' AND \"interface\"=':interface:' GROUP BY time(:interval:) FILL(null)",
|
||||
"queryConfig": {
|
||||
"database": "",
|
||||
"measurement": "",
|
||||
"retentionPolicy": "",
|
||||
"fields": [],
|
||||
"tags": {},
|
||||
"groupBy": {
|
||||
"time": "",
|
||||
"tags": []
|
||||
},
|
||||
"areTagsAccepted": false,
|
||||
"rawText": "SELECT non_negative_derivative(last(\"packets_sent\"),1s) * -1 AS \"Egress Unicast Packet Rate\" FROM \"telegraf\".\"autogen\".\"net\" WHERE time > :dashboardTime: AND \"host\"=':host:' AND \"interface\"=':interface:' GROUP BY time(:interval:) FILL(null)",
|
||||
"range": null,
|
||||
"shifts": null
|
||||
},
|
||||
"source": "",
|
||||
"type": "influxql"
|
||||
}
|
||||
],
|
||||
"axes": {
|
||||
"x": {
|
||||
"bounds": [
|
||||
"",
|
||||
""
|
||||
],
|
||||
"label": "",
|
||||
"prefix": "",
|
||||
"suffix": "",
|
||||
"base": "10",
|
||||
"scale": "linear"
|
||||
},
|
||||
"y": {
|
||||
"bounds": [
|
||||
"",
|
||||
""
|
||||
],
|
||||
"label": "packets",
|
||||
"prefix": "",
|
||||
"suffix": "/s",
|
||||
"base": "2",
|
||||
"scale": "linear"
|
||||
},
|
||||
"y2": {
|
||||
"bounds": [
|
||||
"",
|
||||
""
|
||||
],
|
||||
"label": "",
|
||||
"prefix": "",
|
||||
"suffix": "",
|
||||
"base": "10",
|
||||
"scale": "linear"
|
||||
}
|
||||
},
|
||||
"type": "line",
|
||||
"colors": [
|
||||
{
|
||||
"id": "d0d6afdf-e43a-4f84-bfb8-bce962799cdc",
|
||||
"type": "scale",
|
||||
"hex": "#31C0F6",
|
||||
"name": "Nineteen Eighty Four",
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
"id": "51af7221-74a0-450e-8be0-91b40cffbdb7",
|
||||
"type": "scale",
|
||||
"hex": "#A500A5",
|
||||
"name": "Nineteen Eighty Four",
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
"id": "c125b7e0-a2a2-42bf-9cc6-228eb6ced525",
|
||||
"type": "scale",
|
||||
"hex": "#FF7E27",
|
||||
"name": "Nineteen Eighty Four",
|
||||
"value": "0"
|
||||
}
|
||||
],
|
||||
"legend": {},
|
||||
"tableOptions": {
|
||||
"verticalTimeAxis": true,
|
||||
"sortBy": {
|
||||
"internalName": "time",
|
||||
"displayName": "",
|
||||
"visible": true
|
||||
},
|
||||
"wrapping": "truncate",
|
||||
"fixFirstColumn": true
|
||||
},
|
||||
"fieldOptions": [
|
||||
{
|
||||
"internalName": "time",
|
||||
"displayName": "",
|
||||
"visible": true
|
||||
}
|
||||
],
|
||||
"timeFormat": "MM/DD/YYYY HH:mm:ss",
|
||||
"decimalPlaces": {
|
||||
"isEnforced": true,
|
||||
"digits": 2
|
||||
},
|
||||
"note": "",
|
||||
"noteVisibility": "default",
|
||||
"links": {
|
||||
"self": "/chronograf/v1/dashboards/5/cells/63895134-f930-49ae-b1ac-3294142ef142"
|
||||
}
|
||||
},
|
||||
{
|
||||
"i": "a47e7219-bc4f-47c5-883f-11a80a24ba6a",
|
||||
"x": 0,
|
||||
"y": 1,
|
||||
"w": 12,
|
||||
"h": 3,
|
||||
"name": "Traffic Rate (bits/s) - :host: - :interface:",
|
||||
"queries": [
|
||||
{
|
||||
"query": "SELECT non_negative_derivative(last(\"bytes_recv\"),1s) * 8 AS \"Ingress Bit Rate\" FROM \"telegraf\".\"autogen\".\"net\" WHERE time > :dashboardTime: AND \"host\"=':host:' AND \"interface\"=':interface:' GROUP BY time(:interval:) FILL(null)",
|
||||
"queryConfig": {
|
||||
"database": "",
|
||||
"measurement": "",
|
||||
"retentionPolicy": "",
|
||||
"fields": [],
|
||||
"tags": {},
|
||||
"groupBy": {
|
||||
"time": "",
|
||||
"tags": []
|
||||
},
|
||||
"areTagsAccepted": false,
|
||||
"rawText": "SELECT non_negative_derivative(last(\"bytes_recv\"),1s) * 8 AS \"Ingress Bit Rate\" FROM \"telegraf\".\"autogen\".\"net\" WHERE time > :dashboardTime: AND \"host\"=':host:' AND \"interface\"=':interface:' GROUP BY time(:interval:) FILL(null)",
|
||||
"range": null,
|
||||
"shifts": null
|
||||
},
|
||||
"source": "",
|
||||
"type": "influxql"
|
||||
},
|
||||
{
|
||||
"query": "SELECT non_negative_derivative(last(\"bytes_sent\"),1s) * -8 AS \"Egress Traffic Rate\" FROM \"telegraf\".\"autogen\".\"net\" WHERE time > :dashboardTime: AND \"host\"=':host:' AND \"interface\"=':interface:' GROUP BY time(:interval:) FILL(null)",
|
||||
"queryConfig": {
|
||||
"database": "",
|
||||
"measurement": "",
|
||||
"retentionPolicy": "",
|
||||
"fields": [],
|
||||
"tags": {},
|
||||
"groupBy": {
|
||||
"time": "",
|
||||
"tags": []
|
||||
},
|
||||
"areTagsAccepted": false,
|
||||
"rawText": "SELECT non_negative_derivative(last(\"bytes_sent\"),1s) * -8 AS \"Egress Traffic Rate\" FROM \"telegraf\".\"autogen\".\"net\" WHERE time > :dashboardTime: AND \"host\"=':host:' AND \"interface\"=':interface:' GROUP BY time(:interval:) FILL(null)",
|
||||
"range": null,
|
||||
"shifts": null
|
||||
},
|
||||
"source": "",
|
||||
"type": "influxql"
|
||||
}
|
||||
],
|
||||
"axes": {
|
||||
"x": {
|
||||
"bounds": [
|
||||
"",
|
||||
""
|
||||
],
|
||||
"label": "",
|
||||
"prefix": "",
|
||||
"suffix": "",
|
||||
"base": "10",
|
||||
"scale": "linear"
|
||||
},
|
||||
"y": {
|
||||
"bounds": [
|
||||
"",
|
||||
""
|
||||
],
|
||||
"label": "bandwidth",
|
||||
"prefix": "",
|
||||
"suffix": "b/s",
|
||||
"base": "2",
|
||||
"scale": "linear"
|
||||
},
|
||||
"y2": {
|
||||
"bounds": [
|
||||
"",
|
||||
""
|
||||
],
|
||||
"label": "",
|
||||
"prefix": "",
|
||||
"suffix": "",
|
||||
"base": "10",
|
||||
"scale": "linear"
|
||||
}
|
||||
},
|
||||
"type": "line",
|
||||
"colors": [
|
||||
{
|
||||
"id": "d0d6afdf-e43a-4f84-bfb8-bce962799cdc",
|
||||
"type": "scale",
|
||||
"hex": "#31C0F6",
|
||||
"name": "Nineteen Eighty Four",
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
"id": "51af7221-74a0-450e-8be0-91b40cffbdb7",
|
||||
"type": "scale",
|
||||
"hex": "#A500A5",
|
||||
"name": "Nineteen Eighty Four",
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
"id": "c125b7e0-a2a2-42bf-9cc6-228eb6ced525",
|
||||
"type": "scale",
|
||||
"hex": "#FF7E27",
|
||||
"name": "Nineteen Eighty Four",
|
||||
"value": "0"
|
||||
}
|
||||
],
|
||||
"legend": {},
|
||||
"tableOptions": {
|
||||
"verticalTimeAxis": true,
|
||||
"sortBy": {
|
||||
"internalName": "time",
|
||||
"displayName": "",
|
||||
"visible": true
|
||||
},
|
||||
"wrapping": "truncate",
|
||||
"fixFirstColumn": true
|
||||
},
|
||||
"fieldOptions": [
|
||||
{
|
||||
"internalName": "time",
|
||||
"displayName": "",
|
||||
"visible": true
|
||||
}
|
||||
],
|
||||
"timeFormat": "MM/DD/YYYY HH:mm:ss",
|
||||
"decimalPlaces": {
|
||||
"isEnforced": true,
|
||||
"digits": 2
|
||||
},
|
||||
"note": "",
|
||||
"noteVisibility": "default",
|
||||
"links": {
|
||||
"self": "/chronograf/v1/dashboards/5/cells/a47e7219-bc4f-47c5-883f-11a80a24ba6a"
|
||||
}
|
||||
}
|
||||
],
|
||||
"templates": [
|
||||
{
|
||||
"tempVar": ":host:",
|
||||
"values": [
|
||||
{
|
||||
"value": "k8s",
|
||||
"type": "influxql",
|
||||
"selected": true
|
||||
}
|
||||
],
|
||||
"id": "2f052195-a0cb-414c-9a4f-ee542a362ae4",
|
||||
"type": "influxql",
|
||||
"label": "",
|
||||
"query": {
|
||||
"influxql": "SHOW TAG VALUES ON \"telegraf\" FROM \"net\" WITH KEY=\"host\"",
|
||||
"measurement": "",
|
||||
"tagKey": "",
|
||||
"fieldKey": ""
|
||||
},
|
||||
"sourceID": "5000",
|
||||
"links": {
|
||||
"self": "/chronograf/v1/dashboards/5/templates/2f052195-a0cb-414c-9a4f-ee542a362ae4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tempVar": ":interface:",
|
||||
"values": [
|
||||
{
|
||||
"value": "eth0",
|
||||
"type": "influxql",
|
||||
"selected": true
|
||||
}
|
||||
],
|
||||
"id": "a56477ab-cfa7-46a5-b4b6-49ec464169a7",
|
||||
"type": "influxql",
|
||||
"label": "",
|
||||
"query": {
|
||||
"influxql": "SHOW TAG VALUES ON \"telegraf\" FROM \"net\" WITH KEY=\"interface\" WHERE \"host\"=':host:'",
|
||||
"measurement": "",
|
||||
"tagKey": "",
|
||||
"fieldKey": ""
|
||||
},
|
||||
"sourceID": "5000",
|
||||
"links": {
|
||||
"self": "/chronograf/v1/dashboards/5/templates/a56477ab-cfa7-46a5-b4b6-49ec464169a7"
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "Net: Interface Performance",
|
||||
"organization": "default",
|
||||
"links": {
|
||||
"self": "/chronograf/v1/dashboards/5",
|
||||
"cells": "/chronograf/v1/dashboards/5/cells",
|
||||
"templates": "/chronograf/v1/dashboards/5/templates"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"id": "default",
|
||||
"name": "alexpires.me",
|
||||
"defaultRole": "member"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"id": "5000",
|
||||
"srcID": "5000",
|
||||
"name": "Internal",
|
||||
"url": "http://kapacitor:9092",
|
||||
"insecureSkipVerify": false,
|
||||
"active": true,
|
||||
"organization": "default"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "5000",
|
||||
"name": "internal",
|
||||
"url": "http://influxdb:8086",
|
||||
"type": "influx",
|
||||
"insecureSkipVerify": false,
|
||||
"default": true,
|
||||
"telegraf": "telegraf",
|
||||
"organization": "default"
|
||||
}
|
||||
Reference in New Issue
Block a user