Grafana dashboard: Surfboard SB8200
Description: https://github.com/nichols-356/nagios_sb8200

https://github.com/nichols-356/nagios_sb8200

{
  "__inputs": [
    {
      "name": "DS_GRAPHITE",
      "label": "graphite",
      "description": "",
      "type": "datasource",
      "pluginId": "graphite",
      "pluginName": "Graphite"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "4.1.1"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "graphite",
      "name": "Graphite",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "singlestat",
      "name": "Singlestat",
      "version": ""
    }
  ],
  "annotations": {
    "list": []
  },
  "editable": true,
  "gnetId": 10577,
  "graphTooltip": 1,
  "hideControls": false,
  "id": null,
  "links": [],
  "refresh": false,
  "rows": [
    {
      "collapse": false,
      "height": "450px",
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "datasource": "${DS_GRAPHITE}",
          "fill": 0,
          "height": "450",
          "id": 1,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": true,
            "max": true,
            "min": true,
            "rightSide": true,
            "show": false,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 1,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "max",
              "color": "#0A437C",
              "fillBelowTo": "min",
              "lines": false,
              "zindex": -3
            },
            {
              "alias": "min",
              "lines": false
            }
          ],
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "refId": "A",
              "target": "aliasByNode(summarize(icinga2.Surfboard.services.stats.surfboard.perfdata.d_*_pow.value, '$interval', 'avg', false), 6)"
            },
            {
              "refId": "B",
              "target": "alias(maxSeries(summarize(icinga2.Surfboard.services.stats.surfboard.perfdata.d_*_pow.value, '$interval', 'max', false)), 'max')"
            },
            {
              "refId": "C",
              "target": "alias(minSeries(summarize(icinga2.Surfboard.services.stats.surfboard.perfdata.d_*_pow.value, '$interval', 'min', false)), 'min')"
            }
          ],
          "thresholds": [
            {
              "colorMode": "ok",
              "fill": false,
              "line": true,
              "op": "lt",
              "value": 7
            },
            {
              "colorMode": "ok",
              "fill": false,
              "line": true,
              "op": "gt",
              "value": -7
            },
            {
              "colorMode": "warning",
              "fill": true,
              "line": true,
              "op": "gt",
              "value": -10
            },
            {
              "colorMode": "warning",
              "fill": true,
              "line": false,
              "op": "lt",
              "value": -7
            },
            {
              "colorMode": "warning",
              "fill": true,
              "line": true,
              "op": "lt",
              "value": 10
            },
            {
              "colorMode": "warning",
              "fill": true,
              "line": false,
              "op": "gt",
              "value": 7
            },
            {
              "colorMode": "critical",
              "fill": true,
              "line": false,
              "op": "gt",
              "value": -15
            },
            {
              "colorMode": "critical",
              "fill": true,
              "line": false,
              "op": "lt",
              "value": -10
            },
            {
              "colorMode": "critical",
              "fill": true,
              "line": false,
              "op": "lt",
              "value": 15
            },
            {
              "colorMode": "critical",
              "fill": true,
              "line": false,
              "op": "gt",
              "value": 10
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Downstream Power",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "dBm",
              "label": "",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        },
        {
          "aliasColors": {},
          "bars": false,
          "datasource": "${DS_GRAPHITE}",
          "fill": 0,
          "id": 4,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": true,
            "max": true,
            "min": true,
            "rightSide": true,
            "show": false,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 3,
          "links": [],
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 1,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "max",
              "color": "#99440A",
              "fillBelowTo": "min",
              "lines": false,
              "zindex": -3
            },
            {
              "alias": "min",
              "lines": false
            },
            {
              "alias": "d-channel-max",
              "color": "#58140C",
              "fillBelowTo": "d-channel-min",
              "lines": false,
              "zindex": -3
            },
            {
              "alias": "d-channel-min",
              "lines": false
            }
          ],
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "refId": "A",
              "target": "aliasByNode(summarize(icinga2.Surfboard.services.stats.surfboard.perfdata.d_*_snr.value, '$interval', 'avg', false), 6)",
              "textEditor": false
            },
            {
              "hide": false,
              "refId": "B",
              "target": "alias(minSeries(summarize(icinga2.Surfboard.services.stats.surfboard.perfdata.d_29_snr.value, '$interval', 'min', false)), 'd-channel-min')",
              "textEditor": false
            },
            {
              "hide": false,
              "refId": "C",
              "target": "alias(maxSeries(summarize(icinga2.Surfboard.services.stats.surfboard.perfdata.d_29_snr.value, '$interval', 'max', false)), 'd-channel-max')",
              "textEditor": false
            },
            {
              "hide": false,
              "refId": "D",
              "target": "alias(minSeries(summarize(icinga2.Surfboard.services.stats.surfboard.perfdata.d_{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28}_snr.value, '$interval', 'min', false)), 'min')",
              "textEditor": false
            },
            {
              "hide": false,
              "refId": "E",
              "target": "alias(minSeries(summarize(icinga2.Surfboard.services.stats.surfboard.perfdata.d_{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28}_snr.value, '$interval', 'max', false)), 'max')",
              "textEditor": false
            }
          ],
          "thresholds": [
            {
              "colorMode": "critical",
              "fill": true,
              "line": false,
              "op": "lt",
              "value": 30
            },
            {
              "colorMode": "warning",
              "fill": true,
              "line": false,
              "op": "gt",
              "value": 30
            },
            {
              "colorMode": "warning",
              "fill": true,
              "line": false,
              "op": "lt",
              "value": 33
            },
            {
              "colorMode": "ok",
              "fill": false,
              "line": false,
              "op": "lt",
              "value": 50
            },
            {
              "colorMode": "ok",
              "fill": false,
              "line": false,
              "op": "gt",
              "value": 33
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Downstream SNR",
          "tooltip": {
            "shared": false,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "dBm",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "Dashboard Row",
      "titleSize": "h6"
    },
    {
      "collapse": false,
      "height": 250,
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "datasource": "${DS_GRAPHITE}",
          "fill": 4,
          "id": 3,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": true,
            "hideEmpty": false,
            "hideZero": false,
            "max": true,
            "min": true,
            "rightSide": true,
            "show": false,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "/d_29_corr/",
              "color": "#70DBED",
              "fill": 3,
              "linewidth": 0
            }
          ],
          "span": 4,
          "stack": true,
          "steppedLine": false,
          "targets": [
            {
              "refId": "A",
              "target": "aliasByNode(nonNegativeDerivative(summarize(icinga2.Surfboard.services.stats.surfboard.perfdata.d_*_corr.value, '$interval', 'avg', false)), 6)",
              "textEditor": false
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Downstream Corrected Errors",
          "tooltip": {
            "shared": false,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": "0",
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        },
        {
          "aliasColors": {},
          "bars": false,
          "datasource": "${DS_GRAPHITE}",
          "fill": 4,
          "id": 5,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": true,
            "max": true,
            "min": true,
            "rightSide": true,
            "show": false,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "span": 4,
          "stack": true,
          "steppedLine": false,
          "targets": [
            {
              "refId": "A",
              "target": "aliasByNode(nonNegativeDerivative(summarize(icinga2.Surfboard.services.stats.surfboard.perfdata.d_*_uncorr.value, '$interval', 'avg', false)), 6)",
              "textEditor": false
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Downstream Uncorrectable Errors",
          "tooltip": {
            "shared": false,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": "0",
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        },
        {
          "aliasColors": {},
          "bars": false,
          "datasource": "${DS_GRAPHITE}",
          "fill": 0,
          "id": 2,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": true,
            "max": true,
            "min": true,
            "rightSide": true,
            "show": false,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 3,
          "links": [],
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 1,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "max",
              "color": "#2F575E",
              "fillBelowTo": "min",
              "lines": false,
              "zindex": -3
            },
            {
              "alias": "min",
              "lines": false
            }
          ],
          "span": 3,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "refId": "A",
              "target": "aliasByNode(summarize(icinga2.Surfboard.services.stats.surfboard.perfdata.u_*_pow.value, '$interval', 'avg', false), 6)"
            },
            {
              "refId": "B",
              "target": "alias(minSeries(summarize(icinga2.Surfboard.services.stats.surfboard.perfdata.u_*_pow.value, '$interval', 'min', false)), 'min')"
            },
            {
              "refId": "C",
              "target": "alias(maxSeries(summarize(icinga2.Surfboard.services.stats.surfboard.perfdata.u_*_pow.value, '$interval', 'max', false)), 'max')"
            }
          ],
          "thresholds": [
            {
              "colorMode": "ok",
              "fill": true,
              "line": true,
              "op": "lt",
              "value": 49
            },
            {
              "colorMode": "ok",
              "fill": true,
              "line": true,
              "op": "gt",
              "value": 35
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Upstream Power",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "dBm",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        },
        {
          "cacheTimeout": null,
          "colorBackground": true,
          "colorValue": false,
          "colors": [
            "rgba(50, 172, 45, 0.97)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(245, 54, 54, 0.9)"
          ],
          "datasource": "${DS_GRAPHITE}",
          "format": "none",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "id": 7,
          "interval": null,
          "links": [],
          "mappingType": 2,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "0",
              "text": "Up",
              "to": "25"
            },
            {
              "from": "25",
              "text": "Degraded",
              "to": "75"
            },
            {
              "from": "75",
              "text": "Down",
              "to": "100"
            }
          ],
          "span": 1,
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": false
          },
          "targets": [
            {
              "refId": "A",
              "target": "icinga2.Surfboard.host.hostalive.perfdata.pl.value"
            }
          ],
          "thresholds": "25,75",
          "title": "Modem Status",
          "transparent": false,
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "current"
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "Dashboard Row",
      "titleSize": "h6"
    },
    {
      "collapse": false,
      "height": 250,
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "datasource": "${DS_GRAPHITE}",
          "fill": 1,
          "id": 6,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "/.*pl/",
              "bars": true,
              "color": "#E24D42",
              "lines": false,
              "yaxis": 2
            },
            {
              "alias": "/.*rta/",
              "color": "#6ED0E0"
            }
          ],
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "refId": "B",
              "target": "aliasByNode(summarize(icinga2.Surfboard.host.hostalive.perfdata.*.value, '$interval', 'avg', false), 1, 5)"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Surfboard ICMP",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "s",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": "0",
              "show": true
            },
            {
              "format": "percent",
              "label": null,
              "logBase": 1,
              "max": "100",
              "min": "0",
              "show": true
            }
          ]
        },
        {
          "aliasColors": {},
          "bars": false,
          "datasource": "${DS_GRAPHITE}",
          "fill": 1,
          "id": 8,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "/.*pl/",
              "bars": true,
              "color": "#E24D42",
              "lines": false,
              "yaxis": 2
            },
            {
              "alias": "/.*rta/",
              "color": "#6ED0E0"
            }
          ],
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "refId": "B",
              "target": "aliasByNode(summarize(icinga2.xxnexthopxx.host.hostalive.perfdata.*.value, '$interval', 'avg', false), 1, 5)"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "First Hop",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "s",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": "0",
              "show": true
            },
            {
              "format": "percent",
              "label": null,
              "logBase": 1,
              "max": "100",
              "min": "0",
              "show": true
            }
          ]
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "Dashboard Row",
      "titleSize": "h6"
    }
  ],
  "schemaVersion": 14,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "auto": true,
        "auto_count": 200,
        "auto_min": "3m",
        "current": {
          "text": "auto",
          "value": "$__auto_interval"
        },
        "hide": 0,
        "label": "Interval",
        "name": "interval",
        "options": [
          {
            "selected": true,
            "text": "auto",
            "value": "$__auto_interval"
          },
          {
            "selected": false,
            "text": "1m",
            "value": "1m"
          },
          {
            "selected": false,
            "text": "3m",
            "value": "3m"
          },
          {
            "selected": false,
            "text": "10m",
            "value": "10m"
          },
          {
            "selected": false,
            "text": "30m",
            "value": "30m"
          },
          {
            "selected": false,
            "text": "1h",
            "value": "1h"
          },
          {
            "selected": false,
            "text": "6h",
            "value": "6h"
          },
          {
            "selected": false,
            "text": "12h",
            "value": "12h"
          },
          {
            "selected": false,
            "text": "1d",
            "value": "1d"
          },
          {
            "selected": false,
            "text": "7d",
            "value": "7d"
          },
          {
            "selected": false,
            "text": "14d",
            "value": "14d"
          },
          {
            "selected": false,
            "text": "30d",
            "value": "30d"
          }
        ],
        "query": "1m,3m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
        "refresh": 2,
        "type": "interval"
      }
    ]
  },
  "time": {
    "from": "now-24h",
    "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": "Surfboard SB8200",
  "version": 11,
  "description": "https://github.com/nichols-356/nagios_sb8200"
}