{ "__inputs": [], "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "4.2.0" }, { "type": "panel", "id": "graph", "name": "Graph", "version": "" }, { "type": "panel", "id": "singlestat", "name": "Singlestat", "version": "" } ], "annotations": { "list": [] }, "editable": true, "gnetId": null, "graphTooltip": 1, "hideControls": false, "id": null, "links": [], "refresh": false, "rows": [ { "collapse": false, "height": "40", "panels": [ { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "datasource": "$datasource", "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "id": 12, "interval": ">60s", "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": [], "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": true }, "targets": [ { "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_device_stats", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "metric_sent" ], "type": "field" }, { "params": [], "type": "sum" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/^$instance$/" } ], "target": "" } ], "thresholds": "", "title": "Metrics Sent", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "avg" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "datasource": "$datasource", "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "hideTimeOverride": true, "id": 13, "interval": null, "links": [], "mappingType": 1, "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": "null", "text": "N/A", "to": "null" } ], "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": true }, "targets": [ { "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_device_stats", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "metric_sent_errors" ], "type": "field" }, { "params": [], "type": "sum" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/^$instance$/" } ], "target": "" } ], "thresholds": "", "title": "Metrics Sent Errors", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "avg" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "datasource": "$datasource", "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "id": 14, "interval": null, "links": [], "mappingType": 1, "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": "null", "text": "N/A", "to": "null" } ], "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": true }, "targets": [ { "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_device_stats", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "measurement_sent" ], "type": "field" }, { "params": [], "type": "sum" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/^$instance$/" } ], "target": "" } ], "thresholds": "", "title": "Measurement Sent", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "avg" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "datasource": "$datasource", "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "id": 15, "interval": null, "links": [], "mappingType": 1, "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": "null", "text": "N/A", "to": "null" } ], "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": true }, "targets": [ { "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_device_stats", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "measurement_sent_errors" ], "type": "field" }, { "params": [], "type": "sum" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/^$instance$/" } ], "target": "" } ], "thresholds": "", "title": "Measurement Sent Errors", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "avg" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "datasource": "$datasource", "format": "short", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "hideTimeOverride": true, "id": 21, "interval": ">60s", "links": [], "mappingType": 1, "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": "null", "text": "N/A", "to": "null" } ], "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": true }, "targets": [ { "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_device_stats", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "snmp_oid_get_all" ], "type": "field" }, { "params": [], "type": "max" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/^$instance$/" } ], "target": "" } ], "thresholds": "", "timeFrom": "2h", "timeShift": null, "title": "SNMP OID Gets", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "max" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "datasource": "$datasource", "format": "short", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "hideTimeOverride": true, "id": 17, "interval": ">60s", "links": [], "mappingType": 1, "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": "null", "text": "N/A", "to": "null" } ], "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": true }, "targets": [ { "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_device_stats", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "snmp_oid_get_errors" ], "type": "field" }, { "params": [], "type": "max" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/^$instance$/" } ], "target": "" } ], "thresholds": "", "timeFrom": "2h", "timeShift": null, "title": "SNMP OID Errors", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "max" } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": true, "title": "GLOBAL STATISTICS BY INSTANCE- $time_interval", "titleSize": "h5" }, { "collapse": false, "height": 101, "panels": [ { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "datasource": "$datasource", "format": "short", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "height": "100px", "hideTimeOverride": true, "id": 20, "interval": ">60s", "links": [], "mappingType": 1, "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": "null", "text": "N/A", "to": "null" } ], "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": true }, "targets": [ { "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_device_stats", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "snmp_oid_get_errors" ], "type": "field" }, { "params": [], "type": "max" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/^$instance$/" } ], "target": "" } ], "thresholds": "", "timeFrom": "2h", "timeShift": null, "title": "Max OID Errors", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "max" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "datasource": "$datasource", "format": "s", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "height": "100px", "hideTimeOverride": true, "id": 16, "interval": ">60s", "links": [], "mappingType": 1, "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": "null", "text": "N/A", "to": "null" } ], "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": true }, "targets": [ { "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_device_stats", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "cycle_gather_duration" ], "type": "field" }, { "params": [], "type": "max" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/^$instance$/" }, { "condition": "AND", "key": "device", "operator": "=~", "value": "/^$device$/" } ], "target": "" } ], "thresholds": "", "timeFrom": "2h", "timeShift": null, "title": "Max Cycle Gather", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "max" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "datasource": "$datasource", "decimals": null, "format": "s", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "height": "100px", "hideTimeOverride": true, "id": 18, "interval": ">60s", "links": [], "mappingType": 1, "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": "null", "text": "N/A", "to": "null" } ], "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": true }, "targets": [ { "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "selfmon_device_stats", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "filter_duration" ], "type": "field" }, { "params": [], "type": "max" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/^$instance$/" }, { "condition": "AND", "key": "device", "operator": "=~", "value": "/^$device$/" } ], "target": "" } ], "thresholds": "", "timeFrom": "2h", "timeShift": null, "title": "Max Filter Duration", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "max" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "datasource": "$datasource", "format": "short", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "height": "100px", "hideTimeOverride": true, "id": 19, "interval": ">60s", "links": [], "mappingType": 1, "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": "null", "text": "N/A", "to": "null" } ], "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": true }, "targets": [ { "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_device_stats", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "metric_sent_errors" ], "type": "field" }, { "params": [], "type": "max" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/^$instance$/" } ], "target": "" } ], "thresholds": "", "timeFrom": "2h", "timeShift": null, "title": "Max Metric Sent Errors", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "max" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "datasource": "$datasource", "format": "short", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "height": "100px", "hideTimeOverride": true, "id": 23, "interval": ">60s", "links": [], "mappingType": 1, "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": "null", "text": "N/A", "to": "null" } ], "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": true }, "targets": [ { "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_device_stats", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "snmp_oid_get_errors" ], "type": "field" }, { "params": [], "type": "max" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/^$instance$/" } ], "target": "" } ], "thresholds": "", "timeFrom": "2h", "timeShift": null, "title": "Max OID Errors", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "max" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "datasource": "$datasource", "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "id": 22, "interval": ">60s", "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": [], "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": true }, "targets": [ { "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_device_stats", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "metric_sent" ], "type": "field" }, { "params": [], "type": "count" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/^$instance$/" } ], "target": "" } ], "thresholds": "", "title": "# devices", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "avg" } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "Dashboard Row", "titleSize": "h6" }, { "collapse": false, "height": 257, "panels": [ { "aliasColors": {}, "bars": false, "datasource": "$datasource", "description": "", "fill": 0, "id": 3, "interval": ">60s", "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "sort": "max", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "minSpan": 3, "nullPointMode": "null", "percentage": false, "pointradius": 1, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 4, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_device", "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "device" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_device_stats", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "cycle_gather_duration" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/^$instance$/" }, { "condition": "AND", "key": "device", "operator": "=~", "value": "/^$device$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Cycle Gather Duration", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": false, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "s", "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": "$datasource", "description": "", "fill": 0, "id": 4, "interval": ">60s", "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "minSpan": 3, "nullPointMode": "null", "percentage": false, "pointradius": 1, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 4, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_device", "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "device" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_device_stats", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "filter_duration" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/^$instance$/" }, { "condition": "AND", "key": "device", "operator": "=~", "value": "/^$device$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Filter Duration", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": false, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "s", "label": "", "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": {}, "bars": false, "datasource": "$datasource", "description": "", "fill": 0, "id": 24, "interval": ">60s", "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "sort": "max", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "minSpan": 3, "nullPointMode": "null", "percentage": false, "pointradius": 1, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 4, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_device", "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "device" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_device_stats", "policy": "default", "query": "SELECT mean(\"cycle_gather_duration\") + mean(\"filter_duration\") FROM \"selfmon_device_stats\" WHERE \"instance\" =~ /^$instance$/ AND \"device\" =~ /^$device$/ AND $timeFilter GROUP BY time($time_interval), \"device\" fill(null)", "rawQuery": true, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "cycle_gather_duration" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/^$instance$/" }, { "condition": "AND", "key": "device", "operator": "=~", "value": "/^$device$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Complete Spent Time in one Cycle (gather + filter)", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": false, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "s", "label": "", "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": true, "title": "TIME STATISTICS BY DEVICE - $time_interval", "titleSize": "h5" }, { "collapse": false, "height": 250, "panels": [ { "aliasColors": {}, "bars": false, "datasource": "$datasource", "description": "", "fill": 0, "id": 5, "interval": ">60s", "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "minSpan": 3, "nullPointMode": "null", "percentage": false, "pointradius": 1, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 3, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_device", "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "device" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_device_stats", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "measurement_sent" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/^$instance$/" }, { "condition": "AND", "key": "device", "operator": "=~", "value": "/^$device$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Masurement sent", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": false, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "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": "$datasource", "description": "", "fill": 0, "id": 6, "interval": ">60s", "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "sort": "max", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "minSpan": 3, "nullPointMode": "null", "percentage": false, "pointradius": 1, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 3, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_device", "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "device" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_device_stats", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "measurement_sent_errors" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/^$instance$/" }, { "condition": "AND", "key": "device", "operator": "=~", "value": "/^$device$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Masurement sent Errors", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": false, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": "", "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": {}, "bars": false, "datasource": "$datasource", "description": "", "fill": 0, "id": 7, "interval": ">60s", "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "sort": "max", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "minSpan": 3, "nullPointMode": "null", "percentage": false, "pointradius": 1, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 3, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_device", "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "device" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_device_stats", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "metric_sent" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/^$instance$/" }, { "condition": "AND", "key": "device", "operator": "=~", "value": "/^$device$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Metric Sent", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": false, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "none", "label": "", "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": {}, "bars": false, "datasource": "$datasource", "description": "", "fill": 0, "id": 11, "interval": ">60s", "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "sort": "max", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "minSpan": 3, "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 3, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_device", "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "device" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_device_stats", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "metric_sent_errors" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/^$instance$/" }, { "condition": "AND", "key": "device", "operator": "=~", "value": "/^$device$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Metric Sent Errors", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "transparent": false, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "none", "label": "", "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": true, "title": "AGENT STATISTICS - $time_interval", "titleSize": "h5" }, { "collapse": false, "height": 250, "panels": [ { "aliasColors": {}, "bars": false, "datasource": "$datasource", "description": "", "fill": 0, "id": 8, "interval": ">60s", "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": false, "show": true, "sort": "max", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "minSpan": 3, "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 4, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_device", "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "device" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_device_stats", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "snmp_oid_get_all" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/^$instance$/" }, { "condition": "AND", "key": "device", "operator": "=~", "value": "/^$device$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "SNMP OID Gets", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "transparent": false, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "none", "label": "", "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": {}, "bars": false, "datasource": "$datasource", "description": "", "fill": 0, "id": 9, "interval": ">60s", "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "sort": "max", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "minSpan": 3, "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 4, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_device", "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "device" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_device_stats", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "snmp_oid_get_errors" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/^$instance$/" }, { "condition": "AND", "key": "device", "operator": "=~", "value": "/^$device$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "SNMP OID Errors", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "transparent": false, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [ "total" ] }, "yaxes": [ { "format": "none", "label": "", "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": {}, "bars": false, "datasource": "$datasource", "description": "", "fill": 0, "id": 10, "interval": ">60s", "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "minSpan": 3, "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 4, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_device", "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "device" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_device_stats", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "snmp_oid_get_processed" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/^$instance$/" }, { "condition": "AND", "key": "device", "operator": "=~", "value": "/^$device$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "SNMP OID Processed", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "transparent": false, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "none", "label": "", "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": true, "title": "SNMP GATHER STATISTICS - $time_interval", "titleSize": "h5" } ], "schemaVersion": 14, "style": "dark", "tags": [ "snmpcollector", "statistics", "control" ], "templating": { "list": [ { "auto": true, "auto_count": 500, "auto_min": "1m", "current": { "text": "auto", "value": "$__auto_interval" }, "hide": 0, "label": "Interval", "name": "time_interval", "options": [ { "selected": true, "text": "auto", "value": "$__auto_interval" }, { "selected": false, "text": "1m", "value": "1m" }, { "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,10m,30m,1h,6h,12h,1d,7d,14d,30d", "refresh": 2, "type": "interval" }, { "current": { "selected": true, "text": "Influx AGENT_METRICS", "value": "Influx AGENT_METRICS" }, "hide": 0, "label": "Datasource", "name": "datasource", "options": [], "query": "influxdb", "refresh": 1, "regex": "", "type": "datasource" }, { "allValue": null, "current": {}, "datasource": "$datasource", "hide": 0, "includeAll": true, "label": "Instance", "multi": true, "name": "instance", "options": [], "query": "SHOW TAG VALUES FROM agent_metrics.\"1y\".selfmon_device_stats WITH KEY = \"instance\"", "refresh": 1, "regex": "", "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": {}, "datasource": "$datasource", "hide": 0, "includeAll": true, "label": "", "multi": true, "name": "device", "options": [], "query": "SHOW TAG VALUES FROM agent_metrics.\"1y\".selfmon_device_stats WITH KEY = \"device\" WHERE instance =~ /$instance$/", "refresh": 1, "regex": "", "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "2017-05-26T10:27:16.999Z", "to": "2017-05-26T12:27:16.999Z" }, "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": "SNMPCOLLECTOR DEVICESTATISTICS PUBLIC", "version": 4 }