Skip to content

Instantly share code, notes, and snippets.

Created May 27, 2014 05:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/0114d215a91ddfd7f76f to your computer and use it in GitHub Desktop.
Save anonymous/0114d215a91ddfd7f76f to your computer and use it in GitHub Desktop.
pflux - LFE Network Monitor
{
"title": "pflux - LFE Network Monitor",
"services": {
"filter": {
"list": [],
"time": {
"from": "now-5m",
"to": "now"
}
}
},
"rows": [
{
"title": "",
"height": "50px",
"editable": true,
"collapse": false,
"collapsable": false,
"panels": [
{
"error": false,
"span": 12,
"editable": true,
"type": "text",
"loadingEditor": false,
"mode": "markdown",
"content": "## Ping Checks",
"style": {},
"title": "_.=:::=._"
}
],
"notice": false
},
{
"title": "Info",
"height": "150px",
"editable": true,
"collapse": true,
"collapsable": true,
"panels": [
{
"error": false,
"span": 4,
"editable": true,
"type": "text",
"loadingEditor": false,
"mode": "markdown",
"content": "* pflux Project on Github\n* LFE\n* InfluxDB\n* Grafana",
"style": {},
"title": "Links"
},
{
"error": false,
"span": 8,
"editable": true,
"type": "text",
"loadingEditor": false,
"mode": "markdown",
"content": "A simple host-monitoring tool written in LFE",
"style": {},
"title": "Info"
}
],
"notice": false
},
{
"title": "Combined",
"height": "250px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"span": 12,
"editable": true,
"type": "graphite",
"x-axis": true,
"y-axis": true,
"scale": 1,
"y_formats": [
"µs",
"short"
],
"grid": {
"max": null,
"min": null,
"threshold1": null,
"threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"resolution": 100,
"lines": true,
"fill": 2,
"linewidth": 2,
"points": true,
"pointradius": 1,
"bars": false,
"stack": true,
"spyable": true,
"options": false,
"legend": {
"show": true,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"interactive": true,
"legend_counts": true,
"timezone": "browser",
"percentage": false,
"zerofill": true,
"nullPointMode": "null as zero",
"steppedLine": false,
"tooltip": {
"value_type": "individual",
"query_as_alias": true
},
"targets": [
{
"target": "randomWalk('random walk')",
"function": "mean",
"series": "ping-times",
"column": "latency",
"query": "select mean(latency) as latency_mean from ping-times where time > now() - 5m and networks = 'wired' group by time(0.1s) order asc",
"condiction_filter": true,
"condition_add": "and",
"condition_key": "networks",
"condition_op": "=",
"condition_value": "'wired'",
"interval": "",
"rawQuery": false,
"alias": "Wired"
},
{
"target": "randomWalk('random walk2')",
"function": "mean",
"condiction_filter": true,
"condition_add": "and",
"condition_key": "networks",
"condition_op": "=",
"condition_value": "'wireless'",
"series": "ping-times",
"column": "latency",
"query": "select mean(latency) as latency_mean from ping-times where time > now() - 5m and networks = 'wireless' group by time(0.1s) order asc",
"alias": "Wireless"
},
{
"target": "randomWalk('random walk3')",
"function": "mean",
"series": "ping-times",
"column": "latency",
"query": "select mean(latency) as latency_mean from ping-times where time > now() - 5m and networks = 'external' group by time(0.1s) order asc",
"condiction_filter": true,
"condition_add": "and",
"condition_key": "networks",
"condition_op": "=",
"condition_value": "'external'",
"interval": "",
"alias": "External"
}
],
"aliasColors": {},
"aliasYAxis": {},
"title": "Combined",
"datasource": null,
"renderer": "flot",
"annotate": {
"enable": false
},
"leftYAxisLabel": "Latency"
}
],
"notice": false
},
{
"title": "Internal",
"height": "500px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"span": 12,
"editable": true,
"type": "graphite",
"loadingEditor": false,
"datasource": null,
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"scale": 1,
"y_formats": [
"µs",
"short"
],
"grid": {
"max": null,
"min": null,
"threshold1": null,
"threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2Color": "rgba(234, 112, 112, 0.22)",
"thresholdLine": false
},
"annotate": {
"enable": false
},
"resolution": 100,
"lines": true,
"fill": 3,
"linewidth": 1,
"points": true,
"pointradius": 2,
"bars": false,
"stack": true,
"legend": {
"show": true,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"percentage": false,
"zerofill": true,
"nullPointMode": "null as zero",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"query_as_alias": true
},
"targets": [
{
"target": "",
"function": "max",
"series": "ping-times",
"column": "latency",
"query": "select max(latency) as latency_max from ping-times where time > now() - 5m and networks = 'wired' group by time(0.1s) order asc",
"condiction_filter": true,
"condition_add": "and",
"condition_key": "networks",
"condition_value": "'wired'",
"condition_op": "=",
"alias": "Wired",
"hide": false
},
{
"target": "",
"function": "max",
"series": "ping-times",
"column": "latency",
"query": "select max(latency) as latency_max from ping-times where time > now() - 5m and networks = 'wireless' group by time(0.1s) order asc",
"condiction_filter": true,
"condition_add": "and",
"condition_key": "networks",
"condition_op": "=",
"condition_value": "'wireless'",
"alias": "Wireless",
"hide": false
}
],
"aliasColors": {},
"aliasYAxis": {},
"title": "Internal Traffic",
"leftYAxisLabel": "Latency"
}
],
"notice": false
},
{
"title": "Wired",
"height": "300",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"span": 12,
"editable": true,
"type": "graphite",
"loadingEditor": false,
"datasource": null,
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"scale": 1,
"y_formats": [
"µs",
"short"
],
"grid": {
"max": null,
"min": null,
"threshold1": null,
"threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"annotate": {
"enable": false
},
"resolution": 100,
"lines": true,
"fill": 4,
"linewidth": 1,
"points": true,
"pointradius": 1,
"bars": false,
"stack": true,
"legend": {
"show": true,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"percentage": false,
"zerofill": true,
"nullPointMode": "null as zero",
"steppedLine": false,
"tooltip": {
"value_type": "individual",
"query_as_alias": true
},
"targets": [
{
"target": "",
"function": "max",
"series": "ping-times",
"column": "latency",
"query": "select max(latency) as latency_max from ping-times where time > now() - 5m and networks = 'wired' group by time(0.1s) order asc",
"condiction_filter": true,
"condition_add": "and",
"condition_key": "networks",
"condition_op": "=",
"condition_value": "'wired'",
"alias": "Wired"
}
],
"aliasColors": {},
"aliasYAxis": {},
"title": "Wired",
"leftYAxisLabel": "Latency"
}
],
"notice": false
}
],
"editable": true,
"failover": false,
"panel_hints": true,
"style": "dark",
"pulldowns": [
{
"type": "filtering",
"collapse": false,
"notice": false,
"enable": true
},
{
"type": "annotations",
"enable": true,
"annotations": []
}
],
"nav": [
{
"type": "timepicker",
"collapse": false,
"notice": false,
"enable": true,
"status": "Stable",
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
],
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"now": true
}
],
"loader": {
"save_gist": true,
"save_elasticsearch": true,
"save_local": true,
"save_default": true,
"save_temp": true,
"save_temp_ttl_enable": true,
"save_temp_ttl": "30d",
"load_gist": true,
"load_elasticsearch": true,
"load_elasticsearch_size": 20,
"load_local": true,
"hide": false
},
"refresh": "5s",
"tags": [],
"timezone": "browser"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment