Skip to content
Snippets Groups Projects
Commit 2a9f5bc3 authored by Stephen C Phillips's avatar Stephen C Phillips
Browse files

minio dash update

parent be8beb54
No related branches found
No related tags found
No related merge requests found
...@@ -103,6 +103,17 @@ lxc-ls ...@@ -103,6 +103,17 @@ lxc-ls
> clmc-service host1 host2 host3 host4 > clmc-service host1 host2 host3 host4
``` ```
### Config chronograf dashboards
Go to Chronograf and config DB
```shell
curl -i -XPOST -H "Content-Type: application/json" http://172.40.231.51:8888/chronograf/v1/dashboards -d @dashboards/minio_dash.json
curl -i -XPOST -H "Content-Type: application/json" http://172.40.231.51:8888/chronograf/v1/dashboards -d @dashboards/nginx_dash.json
curl -i -XPOST -H "Content-Type: application/json" http://172.40.231.51:8888/chronograf/v1/dashboards -d @dashboards/sf_dash.json
curl -i -XPOST -H "Content-Type: application/json" http://172.40.231.51:8888/chronograf/v1/dashboards -d @dashboards/dc_dash.json
```
### Run demo initializer ### Run demo initializer
Load in MPEG-DASH data and configure nginx to be proxy. Load in MPEG-DASH data and configure nginx to be proxy.
...@@ -121,13 +132,6 @@ http://localhost:9182/minio/democontent/ ...@@ -121,13 +132,6 @@ http://localhost:9182/minio/democontent/
MINIO 2 MINIO 2
http://localhost:9183/minio/democontent/ http://localhost:9183/minio/democontent/
### Load in saved dashboards
```shell
curl -i -XPOST -H "Content-Type: application/json" http://172.40.231.51:8888/chronograf/v1/dashboards -d @dashboards/nginx_dash.json
curl -i -XPOST -H "Content-Type: application/json" http://172.40.231.51:8888/chronograf/v1/dashboards -d @dashboards/sf_dash.json
curl -i -XPOST -H "Content-Type: application/json" http://172.40.231.51:8888/chronograf/v1/dashboards -d @dashboards/dc_dash.json
```
### Set-up an alert (via Chronograf) ### Set-up an alert (via Chronograf)
......
{ {
"id": 5, "id": 1,
"cells": [ "cells": [
{ {
"i": "a7b7c75a-8230-4765-a06d-0b5724a749db", "i": "7b828ffc-c979-4302-bc77-9e527d018593",
"x": 6,
"y": 12,
"w": 6,
"h": 4,
"name": "minio_1_ep2: Network RX",
"queries": [
{
"query": "SELECT derivative(max(\"bytes_recv\")) / 62914560 AS \"RX_Mb_per_second\" FROM \"MSDemo\".\"autogen\".\"net\" WHERE time > :dashboardTime: AND \"ipendpoint\"='minio_1_ep2' GROUP BY time(1m)",
"queryConfig": {
"database": "",
"measurement": "",
"retentionPolicy": "",
"fields": [],
"tags": {},
"groupBy": {
"time": "",
"tags": []
},
"areTagsAccepted": false,
"rawText": "SELECT derivative(max(\"bytes_recv\")) / 62914560 AS \"RX_Mb_per_second\" FROM \"MSDemo\".\"autogen\".\"net\" WHERE time > :dashboardTime: AND \"ipendpoint\"='minio_1_ep2' GROUP BY time(1m)",
"range": null,
"shifts": null
},
"source": "/chronograf/v1/sources/1"
}
],
"axes": {
"x": {
"bounds": [
"",
""
],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y": {
"bounds": [
"",
""
],
"label": "MB / s",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y2": {
"bounds": [
"",
""
],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
}
},
"type": "line-stepplot",
"colors": [
{
"id": "19960cdc-ba07-4374-815e-83ac91d2d09c",
"type": "scale",
"hex": "#31C0F6",
"name": "Nineteen Eighty Four",
"value": "0"
},
{
"id": "0dba565e-1e38-4632-817c-30bc795ae63b",
"type": "scale",
"hex": "#A500A5",
"name": "Nineteen Eighty Four",
"value": "0"
},
{
"id": "cc618b53-490d-43f5-aac5-103672a87c2f",
"type": "scale",
"hex": "#FF7E27",
"name": "Nineteen Eighty Four",
"value": "0"
}
],
"legend": {},
"tableOptions": {
"timeFormat": "MM/DD/YYYY HH:mm:ss",
"verticalTimeAxis": true,
"sortBy": {
"internalName": "time",
"displayName": "",
"visible": true
},
"wrapping": "truncate",
"fieldNames": [
{
"internalName": "time",
"displayName": "",
"visible": true
}
],
"fixFirstColumn": true
},
"links": {
"self": "/chronograf/v1/dashboards/1/cells/7b828ffc-c979-4302-bc77-9e527d018593"
}
},
{
"i": "eb815937-1abb-48b5-9bc1-535fe9dee707",
"x": 0,
"y": 12,
"w": 6,
"h": 4,
"name": "minio_1_ep1: Network RX",
"queries": [
{
"query": "SELECT derivative(max(\"bytes_recv\")) / 62914560 AS \"RX_Mb_per_second\" FROM \"MSDemo\".\"autogen\".\"net\" WHERE time > :dashboardTime: AND \"ipendpoint\"='minio_1_ep1' GROUP BY time(1m)",
"queryConfig": {
"database": "",
"measurement": "",
"retentionPolicy": "",
"fields": [],
"tags": {},
"groupBy": {
"time": "",
"tags": []
},
"areTagsAccepted": false,
"rawText": "SELECT derivative(max(\"bytes_recv\")) / 62914560 AS \"RX_Mb_per_second\" FROM \"MSDemo\".\"autogen\".\"net\" WHERE time > :dashboardTime: AND \"ipendpoint\"='minio_1_ep1' GROUP BY time(1m)",
"range": null,
"shifts": null
},
"source": "/chronograf/v1/sources/1"
}
],
"axes": {
"x": {
"bounds": [
"",
""
],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y": {
"bounds": [
"",
""
],
"label": "MB / s",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y2": {
"bounds": [
"",
""
],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
}
},
"type": "line-stepplot",
"colors": [
{
"id": "19960cdc-ba07-4374-815e-83ac91d2d09c",
"type": "scale",
"hex": "#31C0F6",
"name": "Nineteen Eighty Four",
"value": "0"
},
{
"id": "0dba565e-1e38-4632-817c-30bc795ae63b",
"type": "scale",
"hex": "#A500A5",
"name": "Nineteen Eighty Four",
"value": "0"
},
{
"id": "cc618b53-490d-43f5-aac5-103672a87c2f",
"type": "scale",
"hex": "#FF7E27",
"name": "Nineteen Eighty Four",
"value": "0"
}
],
"legend": {},
"tableOptions": {
"timeFormat": "MM/DD/YYYY HH:mm:ss",
"verticalTimeAxis": true,
"sortBy": {
"internalName": "time",
"displayName": "",
"visible": true
},
"wrapping": "truncate",
"fieldNames": [
{
"internalName": "time",
"displayName": "",
"visible": true
}
],
"fixFirstColumn": true
},
"links": {
"self": "/chronograf/v1/dashboards/1/cells/eb815937-1abb-48b5-9bc1-535fe9dee707"
}
},
{
"i": "0ddcfff5-b0d7-4cd8-88b7-14e60ee960dd",
"x": 6, "x": 6,
"y": 8, "y": 8,
"w": 6, "w": 6,
...@@ -108,11 +328,11 @@ ...@@ -108,11 +328,11 @@
"fixFirstColumn": true "fixFirstColumn": true
}, },
"links": { "links": {
"self": "/chronograf/v1/dashboards/5/cells/a7b7c75a-8230-4765-a06d-0b5724a749db" "self": "/chronograf/v1/dashboards/1/cells/0ddcfff5-b0d7-4cd8-88b7-14e60ee960dd"
} }
}, },
{ {
"i": "29b152a7-9f64-4f55-b29c-cb6897f24688", "i": "75a6b5e7-0f8e-4916-9463-c5dbdc8a858e",
"x": 0, "x": 0,
"y": 8, "y": 8,
"w": 6, "w": 6,
...@@ -218,11 +438,11 @@ ...@@ -218,11 +438,11 @@
"fixFirstColumn": true "fixFirstColumn": true
}, },
"links": { "links": {
"self": "/chronograf/v1/dashboards/5/cells/29b152a7-9f64-4f55-b29c-cb6897f24688" "self": "/chronograf/v1/dashboards/1/cells/75a6b5e7-0f8e-4916-9463-c5dbdc8a858e"
} }
}, },
{ {
"i": "1bb7a13c-572c-470d-a0ce-8494b859741a", "i": "100d427d-9579-4f66-8cb0-29ccd2182003",
"x": 6, "x": 6,
"y": 0, "y": 0,
"w": 6, "w": 6,
...@@ -328,11 +548,11 @@ ...@@ -328,11 +548,11 @@
"fixFirstColumn": true "fixFirstColumn": true
}, },
"links": { "links": {
"self": "/chronograf/v1/dashboards/5/cells/1bb7a13c-572c-470d-a0ce-8494b859741a" "self": "/chronograf/v1/dashboards/1/cells/100d427d-9579-4f66-8cb0-29ccd2182003"
} }
}, },
{ {
"i": "1c8fc51b-d46c-4e44-9604-0353d0f8f9ba", "i": "14543789-897c-4ada-b702-6d0908c49ee0",
"x": 0, "x": 0,
"y": 0, "y": 0,
"w": 6, "w": 6,
...@@ -438,7 +658,7 @@ ...@@ -438,7 +658,7 @@
"fixFirstColumn": true "fixFirstColumn": true
}, },
"links": { "links": {
"self": "/chronograf/v1/dashboards/5/cells/1c8fc51b-d46c-4e44-9604-0353d0f8f9ba" "self": "/chronograf/v1/dashboards/1/cells/14543789-897c-4ada-b702-6d0908c49ee0"
} }
} }
], ],
...@@ -446,8 +666,8 @@ ...@@ -446,8 +666,8 @@
"name": "Minio endpoints", "name": "Minio endpoints",
"organization": "default", "organization": "default",
"links": { "links": {
"self": "/chronograf/v1/dashboards/5", "self": "/chronograf/v1/dashboards/1",
"cells": "/chronograf/v1/dashboards/5/cells", "cells": "/chronograf/v1/dashboards/1/cells",
"templates": "/chronograf/v1/dashboards/5/templates" "templates": "/chronograf/v1/dashboards/1/templates"
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment