1200 lines
38 KiB
JSON
1200 lines
38 KiB
JSON
{
|
|
"id": "6e257b6f-7662-45ac-b846-933488ed1e11",
|
|
"meta": {
|
|
"name": "System",
|
|
"measurements": [
|
|
"cpu",
|
|
"disk",
|
|
"diskio",
|
|
"system",
|
|
"mem",
|
|
"net",
|
|
"netstat",
|
|
"processes",
|
|
"procstat"
|
|
],
|
|
"version": "1.0",
|
|
"dashboardVersion": "1.x",
|
|
"description": "Dashboard for the telegraf input plug-in: System ",
|
|
"author": "InfluxData",
|
|
"license": "MIT",
|
|
"icon": "",
|
|
"url": "https://github.com/influxdata/telegraf/tree/master/plugins/inputs/system"
|
|
},
|
|
"data": {
|
|
"cells": [
|
|
{
|
|
"x": 0,
|
|
"y": 0,
|
|
"w": 12,
|
|
"h": 1,
|
|
"name": "",
|
|
"queries": [
|
|
{
|
|
"query": "",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {"time": "", "tags": []},
|
|
"areTagsAccepted": false,
|
|
"rawText": "",
|
|
"range": null,
|
|
"shifts": null
|
|
},
|
|
"source": "",
|
|
"type": "influxql"
|
|
}
|
|
],
|
|
"axes": {
|
|
"x": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y2": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
}
|
|
},
|
|
"type": "note",
|
|
"colors": [],
|
|
"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": "This dashboard gives you an overview of System metrics with metrics from `system`, `mem`, `diskio`, `swap` and `net` measurements. See the [Telegraf Documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/system) for help configuring these plugins.",
|
|
"noteVisibility": "default"
|
|
},
|
|
{
|
|
"x": 6,
|
|
"y": 5,
|
|
"w": 3,
|
|
"h": 3,
|
|
"name": "Processes",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT mean(\"total\") AS \"mean_total\" FROM \":db:\".\":rp:\".\"processes\" WHERE host=:host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(null)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {"time": "", "tags": []},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT mean(\"total\") AS \"mean_total\" FROM \":db:\".\":rp:\".\"processes\" WHERE host=:host: AND time > :dashboardTime: 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": "processes total",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "2",
|
|
"scale": "linear"
|
|
},
|
|
"y2": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
}
|
|
},
|
|
"type": "line",
|
|
"colors": [
|
|
{
|
|
"id": "base",
|
|
"type": "scale",
|
|
"hex": "#31C0F6",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "9b56030d-b186-40b9-8d87-c911c962c882",
|
|
"type": "scale",
|
|
"hex": "#A500A5",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "a45aaa88-9e45-4a68-b4e8-61538cb0f023",
|
|
"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": "To enable this graph, you will need to configure the Telegraf `processes` plugin. For more information, please visit the [Telegraf Processes plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/processes).",
|
|
"noteVisibility": "showWhenNoData"
|
|
},
|
|
{
|
|
"x": 3,
|
|
"y": 2,
|
|
"w": 3,
|
|
"h": 3,
|
|
"name": "CPU Usage",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT mean(\"usage_system\") AS \"system\", mean(\"usage_user\") as \"user\", mean(\"usage_idle\") as \"idle\" FROM \":db:\".\":rp:\".\"cpu\" WHERE host = :host: and time > :dashboardTime: AND \"cpu\"='cpu-total' GROUP BY time(:interval:) FILL(null)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {"time": "", "tags": []},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT mean(\"usage_system\") AS \"system\", mean(\"usage_user\") as \"user\", mean(\"usage_idle\") as \"idle\" FROM \":db:\".\":rp:\".\"cpu\" WHERE host = :host: and time > :dashboardTime: AND \"cpu\"='cpu-total' 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": "percentage",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y2": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
}
|
|
},
|
|
"type": "line-stacked",
|
|
"colors": [
|
|
{
|
|
"id": "2818d86b-c91e-4d59-b7f4-e5c7212b627e",
|
|
"type": "scale",
|
|
"hex": "#74D495",
|
|
"name": "Atlantis",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "4dfe99ee-4844-417b-ae70-c9af0b3ad826",
|
|
"type": "scale",
|
|
"hex": "#3F3FBA",
|
|
"name": "Atlantis",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "31ea9d9b-c950-4ba5-b3e5-53738b2524c5",
|
|
"type": "scale",
|
|
"hex": "#FF4D9E",
|
|
"name": "Atlantis",
|
|
"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": "To enable this graph, you will need to configure the Telegraf `cpu` plugin. For more information, please visit the [Telegraf CPU plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/cpu).",
|
|
"noteVisibility": "showWhenNoData"
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 2,
|
|
"w": 3,
|
|
"h": 3,
|
|
"name": "Filesystems usage",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT mean(\"used_percent\") AS \"used\" FROM \":db:\".\":rp:\".\"disk\" WHERE time > :dashboardTime: AND \"host\"=:host: GROUP BY time(:interval:), \"path\" FILL(null)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {"time": "", "tags": []},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT mean(\"used_percent\") AS \"used\" FROM \":db:\".\":rp:\".\"disk\" WHERE time > :dashboardTime: AND \"host\"=:host: GROUP BY time(:interval:), \"path\" FILL(null)",
|
|
"range": null,
|
|
"shifts": null
|
|
},
|
|
"source": "",
|
|
"type": "influxql"
|
|
}
|
|
],
|
|
"axes": {
|
|
"x": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y": {
|
|
"bounds": ["", ""],
|
|
"label": "percentage",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y2": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
}
|
|
},
|
|
"type": "line",
|
|
"colors": [
|
|
{
|
|
"id": "919f0386-9439-4387-9a51-2a4243d4940d",
|
|
"type": "scale",
|
|
"hex": "#31C0F6",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "1e7840a4-2fcf-4882-9351-604877a9c432",
|
|
"type": "scale",
|
|
"hex": "#A500A5",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "a4944a5f-30f7-41b5-b1a4-d1b2f316c72b",
|
|
"type": "scale",
|
|
"hex": "#FF7E27",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"legend": {},
|
|
"tableOptions": {
|
|
"verticalTimeAxis": true,
|
|
"sortBy": {
|
|
"internalName": "disk.mean_used_percent",
|
|
"displayName": "used",
|
|
"visible": true
|
|
},
|
|
"wrapping": "truncate",
|
|
"fixFirstColumn": false
|
|
},
|
|
"fieldOptions": [
|
|
{"internalName": "time", "displayName": "", "visible": false},
|
|
{"internalName": "device", "displayName": "", "visible": true},
|
|
{
|
|
"internalName": "disk.mean_used_percent",
|
|
"displayName": "used",
|
|
"visible": true
|
|
}
|
|
],
|
|
"timeFormat": "MM/DD/YYYY HH:mm:ss",
|
|
"decimalPlaces": {"isEnforced": true, "digits": 2},
|
|
"note": "To enable this graph, you will need to configure the Telegraf `disk` plugin. For more information, please visit the [Telegraf Disk plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/disk).",
|
|
"noteVisibility": "showWhenNoData"
|
|
},
|
|
{
|
|
"x": 9,
|
|
"y": 5,
|
|
"w": 3,
|
|
"h": 3,
|
|
"name": "Swap",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT mean(\"total\") AS \"total\", mean(\"used\") AS \"used\" FROM \":db:\".\":rp:\".\"swap\" WHERE time > :dashboardTime: AND \"host\"=:host: GROUP BY time(:interval:) FILL(null)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {"time": "", "tags": []},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT mean(\"total\") AS \"total\", mean(\"used\") AS \"used\" FROM \":db:\".\":rp:\".\"swap\" WHERE time > :dashboardTime: AND \"host\"=:host: 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": "swap",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "2",
|
|
"scale": "linear"
|
|
},
|
|
"y2": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
}
|
|
},
|
|
"type": "line",
|
|
"colors": [
|
|
{
|
|
"id": "base",
|
|
"type": "scale",
|
|
"hex": "#31C0F6",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "9b56030d-b186-40b9-8d87-c911c962c882",
|
|
"type": "scale",
|
|
"hex": "#A500A5",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "a45aaa88-9e45-4a68-b4e8-61538cb0f023",
|
|
"type": "scale",
|
|
"hex": "#FF7E27",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"legend": {"type": "static", "orientation": "bottom"},
|
|
"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": "To enable this graph, you will need to configure the Telegraf `swap` plugin. For more information, please visit the [Telegraf Swap plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/swap).",
|
|
"noteVisibility": "showWhenNoData"
|
|
},
|
|
{
|
|
"x": 4,
|
|
"y": 1,
|
|
"w": 2,
|
|
"h": 1,
|
|
"name": "System Load",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT mean(\"load1\") AS \"mean_load1\" FROM \":db:\".\":rp:\".\"system\" WHERE host=:host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(previous)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {"time": "", "tags": []},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT mean(\"load1\") AS \"mean_load1\" FROM \":db:\".\":rp:\".\"system\" WHERE host=:host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(previous)",
|
|
"range": null,
|
|
"shifts": null
|
|
},
|
|
"source": "",
|
|
"type": "influxql"
|
|
}
|
|
],
|
|
"axes": {
|
|
"x": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y": {
|
|
"bounds": ["", ""],
|
|
"label": "Load",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"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": "To enable this graph, you will need to configure the Telegraf `system` plugin. For more information, please visit the [Telegraf System plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/system).",
|
|
"noteVisibility": "showWhenNoData"
|
|
},
|
|
{
|
|
"x": 3,
|
|
"y": 5,
|
|
"w": 3,
|
|
"h": 3,
|
|
"name": "Network",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT non_negative_derivative(max(\"bytes_recv\"), 1s) AS \"received\", non_negative_derivative(max(\"bytes_sent\"), 1s) AS \"sent\" FROM \":db:\".\":rp:\".\"net\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:) FILL(null)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {"time": "", "tags": []},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT non_negative_derivative(max(\"bytes_recv\"), 1s) AS \"received\", non_negative_derivative(max(\"bytes_sent\"), 1s) AS \"sent\" FROM \":db:\".\":rp:\".\"net\" WHERE time > :dashboardTime: AND \"host\" = :host: 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": "Network",
|
|
"prefix": "",
|
|
"suffix": "B",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y2": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
}
|
|
},
|
|
"type": "line",
|
|
"colors": [
|
|
{
|
|
"id": "a98e3ce0-d794-4a05-9eef-9925caaf2883",
|
|
"type": "scale",
|
|
"hex": "#31C0F6",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "9b56030d-b186-40b9-8d87-c911c962c882",
|
|
"type": "scale",
|
|
"hex": "#A500A5",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "a45aaa88-9e45-4a68-b4e8-61538cb0f023",
|
|
"type": "scale",
|
|
"hex": "#FF7E27",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"legend": {"type": "static", "orientation": "bottom"},
|
|
"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": "To enable this graph, you will need to configure the Telegraf `net` plugin. For more information, please visit the [Telegraf Net plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/net/NET_README.md).",
|
|
"noteVisibility": "showWhenNoData"
|
|
},
|
|
{
|
|
"x": 6,
|
|
"y": 1,
|
|
"w": 3,
|
|
"h": 1,
|
|
"name": "Total Memory",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT last(\"total\")/1024/1024/1024 AS \"last_total\" FROM \":db:\".\":rp:\".\"mem\" WHERE time > :dashboardTime: AND \"host\" = :host: FILL(null)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {"time": "", "tags": []},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT last(\"total\")/1024/1024/1024 AS \"last_total\" FROM \":db:\".\":rp:\".\"mem\" WHERE time > :dashboardTime: AND \"host\" = :host: FILL(null)",
|
|
"range": null,
|
|
"shifts": null
|
|
},
|
|
"source": "",
|
|
"type": "influxql"
|
|
}
|
|
],
|
|
"axes": {
|
|
"x": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": " GB",
|
|
"base": "10",
|
|
"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": "To enable this graph, you will need to configure the Telegraf `mem` plugin. For more information, please visit the [Telegraf Mem plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/mem).",
|
|
"noteVisibility": "showWhenNoData"
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 1,
|
|
"w": 2,
|
|
"h": 1,
|
|
"name": "System Uptime",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT last(\"uptime\")/86400 AS \"mean_uptime\" FROM \":db:\".\":rp:\".\"system\" WHERE time > :dashboardTime: AND \"host\" = :host: FILL(previous)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {"time": "", "tags": []},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT last(\"uptime\")/86400 AS \"mean_uptime\" FROM \":db:\".\":rp:\".\"system\" WHERE time > :dashboardTime: AND \"host\" = :host: FILL(previous)",
|
|
"range": null,
|
|
"shifts": null
|
|
},
|
|
"source": "",
|
|
"type": "influxql"
|
|
}
|
|
],
|
|
"axes": {
|
|
"x": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": " days",
|
|
"base": "10",
|
|
"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": {"type": "static", "orientation": "bottom"},
|
|
"tableOptions": {
|
|
"verticalTimeAxis": true,
|
|
"sortBy": {
|
|
"internalName": "time",
|
|
"displayName": "",
|
|
"visible": true
|
|
},
|
|
"wrapping": "truncate",
|
|
"fixFirstColumn": true
|
|
},
|
|
"fieldOptions": [
|
|
{"internalName": "time", "displayName": "", "visible": true},
|
|
{
|
|
"internalName": "apache.mean_Uptime",
|
|
"displayName": "",
|
|
"visible": true
|
|
}
|
|
],
|
|
"timeFormat": "MM/DD/YYYY HH:mm:ss",
|
|
"decimalPlaces": {"isEnforced": true, "digits": 1},
|
|
"note": "To enable this graph, you will need to configure the Telegraf `system` plugin. For more information, please visit the [Telegraf System plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/system).",
|
|
"noteVisibility": "showWhenNoData"
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 5,
|
|
"w": 3,
|
|
"h": 3,
|
|
"name": "I/O",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT non_negative_derivative(max(\"read_bytes\"),1s) AS \"read bytes\", non_negative_derivative(max(\"write_bytes\"),1s) AS \"write bytes\" FROM \":db:\".\":rp:\".\"diskio\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:) FILL(null)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {"time": "", "tags": []},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT non_negative_derivative(max(\"read_bytes\"),1s) AS \"read bytes\", non_negative_derivative(max(\"write_bytes\"),1s) AS \"write bytes\" FROM \":db:\".\":rp:\".\"diskio\" WHERE time > :dashboardTime: AND \"host\" = :host: 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": "I/O read/write",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y2": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
}
|
|
},
|
|
"type": "line",
|
|
"colors": [
|
|
{
|
|
"id": "a98e3ce0-d794-4a05-9eef-9925caaf2883",
|
|
"type": "scale",
|
|
"hex": "#31C0F6",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "9b56030d-b186-40b9-8d87-c911c962c882",
|
|
"type": "scale",
|
|
"hex": "#A500A5",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "a45aaa88-9e45-4a68-b4e8-61538cb0f023",
|
|
"type": "scale",
|
|
"hex": "#FF7E27",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"legend": {"type": "static", "orientation": "bottom"},
|
|
"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": "To enable this graph, you will need to configure the Telegraf `diskio` plugin. For more information, please visit the [Telegraf DiskIO plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/diskio).",
|
|
"noteVisibility": "showWhenNoData"
|
|
},
|
|
{
|
|
"x": 6,
|
|
"y": 2,
|
|
"w": 3,
|
|
"h": 3,
|
|
"name": "System Load",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT mean(\"load1\") AS \"load1\", mean(\"load5\") AS \"load5\", mean(\"load15\") AS \"load15\" FROM \":db:\".\":rp:\".\"system\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:) FILL(null)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {"time": "", "tags": []},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT mean(\"load1\") AS \"load1\", mean(\"load5\") AS \"load5\", mean(\"load15\") AS \"load15\" FROM \":db:\".\":rp:\".\"system\" WHERE time > :dashboardTime: AND \"host\" = :host: 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": "Load",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y2": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
}
|
|
},
|
|
"type": "line",
|
|
"colors": [
|
|
{
|
|
"id": "a98e3ce0-d794-4a05-9eef-9925caaf2883",
|
|
"type": "scale",
|
|
"hex": "#31C0F6",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "9b56030d-b186-40b9-8d87-c911c962c882",
|
|
"type": "scale",
|
|
"hex": "#A500A5",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "a45aaa88-9e45-4a68-b4e8-61538cb0f023",
|
|
"type": "scale",
|
|
"hex": "#FF7E27",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"legend": {"type": "static", "orientation": "bottom"},
|
|
"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": "To enable this graph, you will need to configure the Telegraf `system` plugin. For more information, please visit the [Telegraf System plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/system).",
|
|
"noteVisibility": "showWhenNoData"
|
|
},
|
|
{
|
|
"x": 2,
|
|
"y": 1,
|
|
"w": 2,
|
|
"h": 1,
|
|
"name": "nCPU",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT max(\"n_cpus\") AS \"mean_n_cpus\" FROM \":db:\".\":rp:\".\"system\" WHERE time > :dashboardTime: AND \"host\" = :host: fill(previous)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {"time": "", "tags": []},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT max(\"n_cpus\") AS \"mean_n_cpus\" FROM \":db:\".\":rp:\".\"system\" WHERE time > :dashboardTime: AND \"host\" = :host: fill(previous)",
|
|
"range": null,
|
|
"shifts": null
|
|
},
|
|
"source": "",
|
|
"type": "influxql"
|
|
}
|
|
],
|
|
"axes": {
|
|
"x": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y": {
|
|
"bounds": ["", ""],
|
|
"label": "nCPU",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"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": false, "digits": 2},
|
|
"note": "To enable this graph, you will need to configure the Telegraf `system` plugin. For more information, please visit the [Telegraf System plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/system).",
|
|
"noteVisibility": "showWhenNoData"
|
|
},
|
|
{
|
|
"x": 9,
|
|
"y": 1,
|
|
"w": 3,
|
|
"h": 4,
|
|
"name": "Memory usage",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT mean(\"used_percent\") AS \"last_used_percent\" FROM \":db:\".\":rp:\".\"mem\" WHERE time > :dashboardTime: AND \"host\"=:host: GROUP BY time(:interval:) FILL(previous)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {"time": "", "tags": []},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT mean(\"used_percent\") AS \"last_used_percent\" FROM \":db:\".\":rp:\".\"mem\" WHERE time > :dashboardTime: AND \"host\"=:host: GROUP BY time(:interval:) FILL(previous)",
|
|
"range": null,
|
|
"shifts": null
|
|
},
|
|
"source": "",
|
|
"type": "influxql"
|
|
}
|
|
],
|
|
"axes": {
|
|
"x": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y": {
|
|
"bounds": ["", ""],
|
|
"label": "Memory used %",
|
|
"prefix": "",
|
|
"suffix": " %",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y2": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
}
|
|
},
|
|
"type": "line-plus-single-stat",
|
|
"colors": [
|
|
{
|
|
"id": "base",
|
|
"type": "scale",
|
|
"hex": "#8F8AF4",
|
|
"name": "Do Androids Dream of Electric Sheep?",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "8314ff20-1158-4910-85fa-c880ca805611",
|
|
"type": "scale",
|
|
"hex": "#A51414",
|
|
"name": "Do Androids Dream of Electric Sheep?",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "84b07d37-6abe-461d-9e1e-fefbaa696368",
|
|
"type": "scale",
|
|
"hex": "#F4CF31",
|
|
"name": "Do Androids Dream of Electric Sheep?",
|
|
"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": 0},
|
|
"note": "To enable this graph, you will need to configure the Telegraf `mem` plugin. For more information, please visit the [Telegraf Mem plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/mem).",
|
|
"noteVisibility": "showWhenNoData"
|
|
}
|
|
],
|
|
"templates": [
|
|
{
|
|
"tempVar": ":host:",
|
|
"id": "",
|
|
"type": "tagValues",
|
|
"label": "",
|
|
"values": [],
|
|
"query": {
|
|
"influxql": "SHOW TAG VALUES ON :database: FROM :measurement: WITH KEY=:tagKey:",
|
|
"db": "telegraf",
|
|
"measurement": "cpu",
|
|
"tagKey": "host",
|
|
"fieldKey": ""
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|