Created
December 6, 2018 18:33
-
-
Save nshores/21b7065f6d1d855b00ba236e3be15836 to your computer and use it in GitHub Desktop.
onkyo_grafana_dashboard
This file contains 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" | |
} | |
] | |
}, | |
"editable": true, | |
"gnetId": null, | |
"graphTooltip": 0, | |
"id": 7, | |
"links": [], | |
"panels": [ | |
{ | |
"alert": { | |
"conditions": [ | |
{ | |
"evaluator": { | |
"params": [ | |
1 | |
], | |
"type": "lt" | |
}, | |
"operator": { | |
"type": "and" | |
}, | |
"query": { | |
"params": [ | |
"A", | |
"1m", | |
"now" | |
] | |
}, | |
"reducer": { | |
"params": [], | |
"type": "last" | |
}, | |
"type": "query" | |
} | |
], | |
"executionErrorState": "alerting", | |
"frequency": "60s", | |
"handler": 1, | |
"message": "Onkyo Receiver is down!", | |
"name": "Onky eiSCP Reachability alert", | |
"noDataState": "keep_state", | |
"notifications": [] | |
}, | |
"aliasColors": {}, | |
"bars": true, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": null, | |
"fill": 5, | |
"gridPos": { | |
"h": 7, | |
"w": 24, | |
"x": 0, | |
"y": 0 | |
}, | |
"id": 1, | |
"legend": { | |
"alignAsTable": true, | |
"avg": false, | |
"current": false, | |
"max": true, | |
"min": true, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "connected", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "reachable", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT last(\"int_value\") FROM \"reachable\" WHERE (\"host\" = 'onkyo')", | |
"rawQuery": false, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"int_value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "last" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "host", | |
"operator": "=", | |
"value": "onkyo" | |
} | |
] | |
} | |
], | |
"thresholds": [ | |
{ | |
"colorMode": "critical", | |
"fill": true, | |
"line": true, | |
"op": "lt", | |
"value": 1 | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Onky eiSCP Reachability", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": null, | |
"format": "short", | |
"label": "Down/Up", | |
"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 | |
} | |
}, | |
{ | |
"backgroundColor": "rgba(128,128,128,0.1)", | |
"colorMaps": [ | |
{ | |
"color": "#CCC", | |
"text": "N/A" | |
} | |
], | |
"crosshairColor": "#8F070C", | |
"datasource": null, | |
"display": "timeline", | |
"expandFromQueryS": 0, | |
"extendLastValue": true, | |
"gridPos": { | |
"h": 7, | |
"w": 24, | |
"x": 0, | |
"y": 7 | |
}, | |
"highlightOnMouseover": true, | |
"id": 2, | |
"legendSortBy": "-ms", | |
"lineColor": "rgba(0,0,0,0.1)", | |
"links": [], | |
"metricNameColor": "#000000", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"rowHeight": 50, | |
"showDistinctCount": false, | |
"showLegend": true, | |
"showLegendCounts": false, | |
"showLegendNames": true, | |
"showLegendPercent": true, | |
"showLegendValues": true, | |
"showTimeAxis": true, | |
"showTransitionCount": false, | |
"targets": [ | |
{ | |
"alias": "Availability", | |
"dsType": "influxdb", | |
"groupBy": [], | |
"measurement": "reachable", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"int_value" | |
], | |
"type": "field" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "host", | |
"operator": "=", | |
"value": "onkyo" | |
} | |
] | |
} | |
], | |
"textSize": 24, | |
"textSizeTime": 12, | |
"timeTextColor": "#d8d9da", | |
"title": "Onkyo eISCP Status", | |
"type": "natel-discrete-panel", | |
"units": "short", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueTextColor": "#000000", | |
"writeAllValues": false, | |
"writeLastValue": true, | |
"writeMetricNames": false | |
} | |
], | |
"refresh": false, | |
"schemaVersion": 16, | |
"style": "dark", | |
"tags": [], | |
"templating": { | |
"list": [] | |
}, | |
"time": { | |
"from": "now-5m", | |
"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": "Development", | |
"uid": "000000007", | |
"version": 16 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment