Grafana dashboard: OpenNMS Network Interfaces Report
Description: OpenNMS statistics about network interfaces with Standard MIB 2 metrics.

This report gives an overview about network interfaces supported by the SNMP MIB-2 standard and shows the following metrics:

* Interface throughput in bits/sec
* Interface bandwidth in percentage
* Packet statistics for Errors and Discard
* Statistics about the transmitted packet types for Unicast, Multicast and Broadcast

Report source available in our [Grafana Dashboard GitHub Repository](https://github.com/opennms-forge/grafana-dashboards).

{
  "__inputs": [
    {
      "name": "DS_OPENNMS_HORIZON PM",
      "label": "OpenNMS Horizon PM",
      "description": "",
      "type": "datasource",
      "pluginId": "opennms-helm-performance-datasource",
      "pluginName": "OpenNMS Performance"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "5.2.4"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": "5.0.0"
    },
    {
      "type": "datasource",
      "id": "opennms-helm-performance-datasource",
      "name": "OpenNMS Performance",
      "version": "1.0.0"
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "description": "OpenNMS statistics about network interfaces with Standard MIB 2 metrics.",
  "editable": true,
  "gnetId": 5053,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1539768709443,
  "links": [],
  "panels": [
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_OPENNMS_HORIZON PM}",
      "description": "The total number of bits received and transmitted on the interface, including framing characters.",
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 0,
        "y": 0
      },
      "id": 4,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": false,
        "max": true,
        "min": true,
        "show": true,
        "sort": null,
        "sortDesc": null,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/^Out.*/i",
          "transform": "negative-Y"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "attribute": "ifHCInOctets",
          "hide": true,
          "label": "$index_in",
          "nodeId": "$node",
          "refId": "A",
          "resourceId": "$interface",
          "type": "attribute"
        },
        {
          "expression": "$index_in*8",
          "label": "In on $node $interface",
          "refId": "B",
          "type": "expression"
        },
        {
          "attribute": "ifHCOutOctets",
          "hide": true,
          "label": "$index_out",
          "nodeId": "$node",
          "refId": "C",
          "resourceId": "$interface",
          "type": "attribute"
        },
        {
          "expression": "$index_out*8",
          "label": "Out on $node $interface",
          "refId": "D",
          "type": "expression"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Throughput",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "decimals": null,
          "format": "bps",
          "label": "bits/sec",
          "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": "${DS_OPENNMS_HORIZON PM}",
      "description": "Network interface utilisation.",
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 12,
        "y": 0
      },
      "id": 5,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": false,
        "max": true,
        "min": true,
        "show": true,
        "sort": null,
        "sortDesc": null,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/^Out.*/i",
          "transform": "negative-Y"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "attribute": "ifHCInOctets",
          "hide": true,
          "label": "$index_in",
          "nodeId": "$node",
          "refId": "A",
          "resourceId": "$interface",
          "type": "attribute"
        },
        {
          "attribute": "ifOutOctets",
          "hide": true,
          "label": "$index_out",
          "nodeId": "$node",
          "refId": "C",
          "resourceId": "$interface",
          "type": "attribute"
        },
        {
          "expression": "$index_in*8*100/1000000000",
          "label": "In $node on $interface",
          "refId": "E",
          "type": "expression"
        },
        {
          "expression": "$index_out*8*100/1000000000",
          "hide": false,
          "label": "Out $node on $interface",
          "refId": "B",
          "type": "expression"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Bandwidth",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "decimals": null,
          "format": "percent",
          "label": "",
          "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": "${DS_OPENNMS_HORIZON PM}",
      "description": "For packet-oriented interfaces, the number of inbound or outbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.  For character-oriented or fixed-length interfaces, the number of inbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol.",
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 0,
        "y": 9
      },
      "id": 1,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": false,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/^Out.*/i",
          "transform": "negative-Y"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "aggregation": "AVERAGE",
          "attribute": "ifInErrors",
          "label": "Out on $node $interface",
          "nodeId": "$node",
          "refId": "A",
          "resourceId": "$interface",
          "type": "attribute"
        },
        {
          "aggregation": "AVERAGE",
          "attribute": "ifOutErrors",
          "label": "In on $node $interface",
          "nodeId": "$node",
          "refId": "B",
          "resourceId": "$interface",
          "type": "attribute"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Errors",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": "packets/sec",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": "",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_OPENNMS_HORIZON PM}",
      "description": "The number of outbound and inbound packets which were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol. One possible reason for discarding such a packet could be to free up buffer space.",
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 12,
        "y": 9
      },
      "id": 3,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": false,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/^Out.*/i",
          "transform": "negative-Y"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "aggregation": "AVERAGE",
          "attribute": "ifInDiscards",
          "label": "Out on $node $interface",
          "nodeId": "$node",
          "refId": "A",
          "resourceId": "$interface",
          "type": "attribute"
        },
        {
          "aggregation": "AVERAGE",
          "attribute": "ifOutDiscards",
          "label": "In on $node $interface",
          "nodeId": "$node",
          "refId": "B",
          "resourceId": "$interface",
          "type": "attribute"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Discarded",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": "packets/sec",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": "",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_OPENNMS_HORIZON PM}",
      "description": "Number of received or transmitted Unicast, Broadcast and Multicast packets.",
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 24,
        "x": 0,
        "y": 18
      },
      "id": 2,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": false,
        "max": true,
        "min": true,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/^Out.*/i",
          "transform": "negative-Y"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "aggregation": "AVERAGE",
          "attribute": "ifHCInUcastPkts",
          "label": "In Unicast $node $interface",
          "nodeId": "$node",
          "refId": "A",
          "resourceId": "$interface",
          "type": "attribute"
        },
        {
          "aggregation": "AVERAGE",
          "attribute": "ifHCInMulticastPkts",
          "label": "In Multicast on $node $interface",
          "nodeId": "$node",
          "refId": "B",
          "resourceId": "$interface",
          "type": "attribute"
        },
        {
          "aggregation": "AVERAGE",
          "attribute": "ifHCInBroadcastPkts",
          "label": "In Broadcast on $node $interface",
          "nodeId": "$node",
          "refId": "C",
          "resourceId": "$interface",
          "type": "attribute"
        },
        {
          "aggregation": "AVERAGE",
          "attribute": "ifHCOutUcastPkts",
          "label": "Out Unicast $node $interface",
          "nodeId": "$node",
          "refId": "D",
          "resourceId": "$interface",
          "type": "attribute"
        },
        {
          "aggregation": "AVERAGE",
          "attribute": "ifHCOutMulticastPkt",
          "label": "Out Multicast on $node $interface",
          "nodeId": "$node",
          "refId": "E",
          "resourceId": "$interface",
          "type": "attribute"
        },
        {
          "aggregation": "AVERAGE",
          "attribute": "ifHCOutBroadcastPkt",
          "label": "Out Broadcast on $node $interface",
          "nodeId": "$node",
          "refId": "F",
          "resourceId": "$interface",
          "type": "attribute"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Packet Statistics",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": "packets/sec",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": "",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    }
  ],
  "refresh": false,
  "schemaVersion": 16,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_OPENNMS_HORIZON PM}",
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "node",
        "options": [],
        "query": "nodeFilter(nodeSysOid like '.1.3.6.1.4.1.%')",
        "refresh": 1,
        "regex": "",
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_OPENNMS_HORIZON PM}",
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": true,
        "name": "interface",
        "options": [],
        "query": "nodeResources($node)",
        "refresh": 1,
        "regex": "^interfaceSnmp\\[.*",
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "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": "",
  "title": "OpenNMS Network Interfaces Report",
  "uid": "5A-Imb7mz",
  "version": 3
}