Created
January 1, 2020 21:43
-
-
Save worldwise001/8f37d074407b0b2f7ab964071d139e0e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", | |
"type": "dashboard" | |
} | |
] | |
}, | |
"description": "Tor Dashboard", | |
"editable": true, | |
"gnetId": null, | |
"graphTooltip": 0, | |
"id": 7, | |
"iteration": 1577914985711, | |
"links": [], | |
"panels": [ | |
{ | |
"alert": { | |
"alertRuleTags": {}, | |
"conditions": [ | |
{ | |
"evaluator": { | |
"params": [], | |
"type": "no_value" | |
}, | |
"operator": { | |
"type": "and" | |
}, | |
"query": { | |
"params": [ | |
"A", | |
"10m", | |
"now" | |
] | |
}, | |
"reducer": { | |
"params": [], | |
"type": "sum" | |
}, | |
"type": "query" | |
}, | |
{ | |
"evaluator": { | |
"params": [ | |
10 | |
], | |
"type": "lt" | |
}, | |
"operator": { | |
"type": "or" | |
}, | |
"query": { | |
"params": [ | |
"A", | |
"10m", | |
"now" | |
] | |
}, | |
"reducer": { | |
"params": [], | |
"type": "avg" | |
}, | |
"type": "query" | |
} | |
], | |
"executionErrorState": "alerting", | |
"for": "0m", | |
"frequency": "60s", | |
"handler": 1, | |
"name": "Connection Count", | |
"noDataState": "no_data", | |
"notifications": [] | |
}, | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": null, | |
"description": "", | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 0 | |
}, | |
"hiddenSeries": false, | |
"id": 1, | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"hideEmpty": false, | |
"hideZero": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"dataLinks": [] | |
}, | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "Connection count", | |
"yaxis": 2 | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "tor_connection_count", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "{{instance}}", | |
"metric": "tor_connection_count", | |
"refId": "A", | |
"step": 600 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Connection Count", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "none", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": null, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 0 | |
}, | |
"hiddenSeries": false, | |
"id": 2, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"dataLinks": [] | |
}, | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "rate(tor_written_bytes[5m])*8", | |
"format": "time_series", | |
"instant": false, | |
"intervalFactor": 1, | |
"legendFormat": "TX {{instance}}", | |
"metric": "tor_accounting", | |
"refId": "A", | |
"step": 1200 | |
}, | |
{ | |
"expr": "rate(tor_read_bytes[5m])*8", | |
"format": "time_series", | |
"instant": false, | |
"intervalFactor": 1, | |
"legendFormat": "RX {{instance}}", | |
"metric": "tor_accounting_read_bytes", | |
"refId": "B", | |
"step": 1200 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Data Transfer", | |
"tooltip": { | |
"shared": true, | |
"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": "bps", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": false | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"datasource": null, | |
"gridPos": { | |
"h": 10, | |
"w": 6, | |
"x": 0, | |
"y": 7 | |
}, | |
"id": 23, | |
"options": { | |
"displayMode": "basic", | |
"fieldOptions": { | |
"calcs": [ | |
"last" | |
], | |
"defaults": { | |
"decimals": 0, | |
"mappings": [ | |
{ | |
"from": "", | |
"id": 1, | |
"operator": "", | |
"text": "", | |
"to": "", | |
"type": 1, | |
"value": "0" | |
}, | |
{ | |
"from": "", | |
"id": 3, | |
"operator": "", | |
"text": "-", | |
"to": "", | |
"type": 1, | |
"value": "1" | |
} | |
], | |
"max": 1, | |
"min": 0, | |
"thresholds": [ | |
{ | |
"color": "red", | |
"value": null | |
}, | |
{ | |
"color": "green", | |
"value": 1 | |
} | |
], | |
"unit": "none" | |
}, | |
"override": {}, | |
"values": false | |
}, | |
"orientation": "horizontal" | |
}, | |
"pluginVersion": "6.5.2", | |
"repeat": null, | |
"repeatDirection": "v", | |
"targets": [ | |
{ | |
"expr": "tor_flags{instance=\"AS16276\"}", | |
"legendFormat": "{{flag}}", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "AS16276 Flags", | |
"type": "bargauge" | |
}, | |
{ | |
"datasource": null, | |
"gridPos": { | |
"h": 10, | |
"w": 6, | |
"x": 6, | |
"y": 7 | |
}, | |
"id": 24, | |
"options": { | |
"displayMode": "basic", | |
"fieldOptions": { | |
"calcs": [ | |
"last" | |
], | |
"defaults": { | |
"decimals": 0, | |
"mappings": [ | |
{ | |
"from": "", | |
"id": 1, | |
"operator": "", | |
"text": "", | |
"to": "", | |
"type": 1, | |
"value": "0" | |
}, | |
{ | |
"from": "", | |
"id": 3, | |
"operator": "", | |
"text": "-", | |
"to": "", | |
"type": 1, | |
"value": "1" | |
} | |
], | |
"max": 1, | |
"min": 0, | |
"thresholds": [ | |
{ | |
"color": "red", | |
"value": null | |
}, | |
{ | |
"color": "green", | |
"value": 1 | |
} | |
], | |
"unit": "none" | |
}, | |
"override": {}, | |
"values": false | |
}, | |
"orientation": "horizontal" | |
}, | |
"pluginVersion": "6.5.2", | |
"repeatDirection": "v", | |
"targets": [ | |
{ | |
"expr": "tor_flags{instance=\"AS12876\"}", | |
"legendFormat": "{{flag}}", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "AS12876 Flags", | |
"type": "bargauge" | |
}, | |
{ | |
"dashboardFilter": "", | |
"dashboardTags": [], | |
"datasource": null, | |
"folderId": null, | |
"gridPos": { | |
"h": 4, | |
"w": 10, | |
"x": 12, | |
"y": 7 | |
}, | |
"id": 8, | |
"limit": 10, | |
"links": [], | |
"nameFilter": "", | |
"onlyAlertsOnDashboard": true, | |
"options": {}, | |
"show": "current", | |
"sortOrder": 1, | |
"stateFilter": [], | |
"title": "Alerts", | |
"type": "alertlist" | |
}, | |
{ | |
"alert": { | |
"alertRuleTags": {}, | |
"conditions": [ | |
{ | |
"evaluator": { | |
"params": [ | |
0, | |
0 | |
], | |
"type": "within_range" | |
}, | |
"operator": { | |
"type": "and" | |
}, | |
"query": { | |
"params": [ | |
"A", | |
"5m", | |
"now" | |
] | |
}, | |
"reducer": { | |
"params": [], | |
"type": "min" | |
}, | |
"type": "query" | |
}, | |
{ | |
"evaluator": { | |
"params": [], | |
"type": "no_value" | |
}, | |
"operator": { | |
"type": "or" | |
}, | |
"query": { | |
"params": [ | |
"A", | |
"5m", | |
"now" | |
] | |
}, | |
"reducer": { | |
"params": [], | |
"type": "avg" | |
}, | |
"type": "query" | |
} | |
], | |
"executionErrorState": "alerting", | |
"for": "5m", | |
"frequency": "1m", | |
"handler": 1, | |
"name": "Tor Version Status alert", | |
"noDataState": "no_data", | |
"notifications": [] | |
}, | |
"aliasColors": {}, | |
"bars": false, | |
"cacheTimeout": null, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": null, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 4, | |
"w": 2, | |
"x": 22, | |
"y": 7 | |
}, | |
"hiddenSeries": false, | |
"id": 16, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": false, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"dataLinks": [] | |
}, | |
"percentage": false, | |
"pluginVersion": "6.5.1", | |
"pointradius": 2, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "tor_version_status", | |
"legendFormat": "{{instance}}", | |
"refId": "A" | |
} | |
], | |
"thresholds": [ | |
{ | |
"colorMode": "critical", | |
"fill": true, | |
"line": true, | |
"op": "gt", | |
"value": 0 | |
}, | |
{ | |
"colorMode": "critical", | |
"fill": true, | |
"line": true, | |
"op": "lt", | |
"value": 0 | |
} | |
], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Is Tor up to date?", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": 0, | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": "1", | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": false | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"columns": [], | |
"datasource": null, | |
"fontSize": "100%", | |
"gridPos": { | |
"h": 4, | |
"w": 6, | |
"x": 12, | |
"y": 11 | |
}, | |
"id": 20, | |
"options": {}, | |
"pageSize": null, | |
"showHeader": true, | |
"sort": { | |
"col": 0, | |
"desc": true | |
}, | |
"styles": [ | |
{ | |
"alias": "", | |
"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": "Time", | |
"thresholds": [], | |
"type": "hidden", | |
"unit": "short" | |
}, | |
{ | |
"alias": "", | |
"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": "__name__", | |
"thresholds": [], | |
"type": "hidden", | |
"unit": "short" | |
}, | |
{ | |
"alias": "", | |
"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": "job", | |
"thresholds": [], | |
"type": "hidden", | |
"unit": "short" | |
}, | |
{ | |
"alias": "", | |
"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, | |
"link": false, | |
"mappingType": 1, | |
"pattern": "/Value.*/", | |
"thresholds": [], | |
"type": "hidden", | |
"unit": "short", | |
"valueMaps": [ | |
{ | |
"text": "", | |
"value": "0.0" | |
} | |
] | |
} | |
], | |
"targets": [ | |
{ | |
"expr": "tor_version", | |
"format": "table", | |
"instant": true, | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Software Version", | |
"transform": "table", | |
"type": "table" | |
}, | |
{ | |
"columns": [], | |
"datasource": null, | |
"fontSize": "100%", | |
"gridPos": { | |
"h": 4, | |
"w": 6, | |
"x": 18, | |
"y": 11 | |
}, | |
"id": 21, | |
"options": {}, | |
"pageSize": null, | |
"showHeader": true, | |
"sort": { | |
"col": 0, | |
"desc": true | |
}, | |
"styles": [ | |
{ | |
"alias": "", | |
"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": "Time", | |
"thresholds": [], | |
"type": "hidden", | |
"unit": "short" | |
}, | |
{ | |
"alias": "", | |
"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": "__name__", | |
"thresholds": [], | |
"type": "hidden", | |
"unit": "short" | |
}, | |
{ | |
"alias": "", | |
"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": "job", | |
"thresholds": [], | |
"type": "hidden", | |
"unit": "short" | |
}, | |
{ | |
"alias": "", | |
"colorMode": "row", | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"#E0B400", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"dateFormat": "YYYY-MM-DD HH:mm:ss", | |
"decimals": 0, | |
"mappingType": 1, | |
"pattern": "Value", | |
"thresholds": [ | |
"0", | |
"1" | |
], | |
"type": "number", | |
"unit": "none" | |
}, | |
{ | |
"alias": "", | |
"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": "version_status", | |
"thresholds": [], | |
"type": "hidden", | |
"unit": "short" | |
} | |
], | |
"targets": [ | |
{ | |
"expr": "tor_version_status", | |
"format": "table", | |
"instant": true, | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Update status", | |
"transform": "table", | |
"type": "table" | |
} | |
], | |
"refresh": "5s", | |
"schemaVersion": 21, | |
"style": "dark", | |
"tags": [ | |
"tor" | |
], | |
"templating": { | |
"list": [ | |
{ | |
"datasource": null, | |
"filters": [], | |
"hide": 0, | |
"label": "", | |
"name": "Filters", | |
"skipUrlSync": false, | |
"type": "adhoc" | |
} | |
] | |
}, | |
"time": { | |
"from": "now-30m", | |
"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": "browser", | |
"title": "Tor Dashboard", | |
"uid": "000000004", | |
"version": 44 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment