diff --git a/salt/grafana/dashboards/eval/eval.json b/salt/grafana/dashboards/eval/eval.json index ee94504d1..b965ea248 100644 --- a/salt/grafana/dashboards/eval/eval.json +++ b/salt/grafana/dashboards/eval/eval.json @@ -16,7 +16,7 @@ "editable": true, "gnetId": 2381, "graphTooltip": 0, - "iteration": 1602101784759, + "iteration": 1608156396988, "links": [], "panels": [ { @@ -24,36 +24,18 @@ "fieldConfig": { "defaults": { "custom": {}, - "unit": "percent", - "min": 0, - "max": 100, + "decimals": 2, + "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "rgba(50, 172, 45, 0.97)", + "color": "rgb(255, 255, 255)", "value": null - }, - { - "color": "rgba(237, 129, 40, 0.89)", - "value": 60 - }, - { - "color": "rgba(245, 54, 54, 0.9)", - "value": 80 } ] }, - "mappings": [ - { - "id": 0, - "op": "=", - "text": "N/A", - "type": 1, - "value": "null" - } - ], - "nullValueMode": "connected" + "unit": "s" }, "overrides": [] }, @@ -63,15 +45,23 @@ "x": 0, "y": 0 }, - "id": 2, - "links": [], + "id": 39, "options": { - "alertThreshold": true + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + } }, - "pluginVersion": "7.3.4", + "pluginVersion": "7.0.5", "targets": [ { - "dsType": "influxdb", "groupBy": [ { "params": [ @@ -86,7 +76,7 @@ "type": "fill" } ], - "measurement": "cpu", + "measurement": "system", "orderByTime": "ASC", "policy": "default", "refId": "A", @@ -95,19 +85,13 @@ [ { "params": [ - "usage_idle" + "uptime" ], "type": "field" }, { "params": [], - "type": "mean" - }, - { - "params": [ - "* -1 + 100" - ], - "type": "math" + "type": "last" } ] ], @@ -116,90 +100,21 @@ "key": "host", "operator": "=", "value": "{{ SERVERNAME }}" - }, - { - "condition": "AND", - "key": "cpu", - "operator": "=", - "value": "cpu-total" } - ], - "alias": "Usage" + ] } ], - "title": "{{ SERVERNAME }} - CPU", - "type": "graph", - "cacheTimeout": null, - "renderer": "flot", - "yaxes": [ - { - "label": null, - "show": true, - "logBase": 1, - "min": null, - "max": null, - "format": "percent", - "$$hashKey": "object:395" - }, - { - "label": null, - "show": false, - "logBase": 1, - "min": null, - "max": null, - "format": "short", - "$$hashKey": "object:396" - } - ], - "xaxis": { - "show": true, - "mode": "time", - "name": null, - "values": [], - "buckets": null - }, - "yaxis": { - "align": false, - "alignLevel": null - }, - "lines": true, - "fill": 1, - "fillGradient": 0, - "linewidth": 1, - "dashes": false, - "hiddenSeries": false, - "dashLength": 10, - "spaceLength": 10, - "points": false, - "pointradius": 2, - "bars": false, - "stack": false, - "percentage": false, - "legend": { - "show": false, - "values": false, - "min": false, - "max": false, - "current": false, - "total": false, - "avg": false - }, - "nullPointMode": "connected", - "steppedLine": false, - "tooltip": { - "value_type": "individual", - "shared": true, - "sort": 0 - }, "timeFrom": null, "timeShift": null, - "aliasColors": {}, - "seriesOverrides": [], - "thresholds": [], - "timeRegions": [] + "title": "{{ SERVERNAME }} - System Uptime", + "type": "stat" }, { + "aliasColors": {}, + "bars": false, "cacheTimeout": null, + "dashLength": 10, + "dashes": false, "datasource": "InfluxDB", "fieldConfig": { "defaults": { @@ -237,27 +152,41 @@ }, "overrides": [] }, + "fill": 1, + "fillGradient": 0, "gridPos": { "h": 5, "w": 4, "x": 4, "y": 0 }, + "hiddenSeries": false, "id": 2, - "links": [], - "options": { - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showThresholdLabels": false, - "showThresholdMarkers": true + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "options": { + "dataLinks": [] + }, + "percentage": false, "pluginVersion": "7.0.5", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, "targets": [ { "dsType": "influxdb", @@ -315,8 +244,48 @@ ] } ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, "title": "{{ SERVERNAME }} - CPU", - "type": "gauge" + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:177", + "format": "percent", + "label": "Usage", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "$$hashKey": "object:178", + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { "aliasColors": {}, @@ -869,12 +838,43 @@ { "aliasColors": {}, "bars": false, + "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": "InfluxDB", "fieldConfig": { "defaults": { - "custom": {} + "custom": {}, + "mappings": [ + { + "id": 0, + "op": "=", + "text": "N/A", + "type": 1, + "value": "null" + } + ], + "max": "67551000000", + "min": 0, + "nullValueMode": "connected", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": "54040800000.0" + }, + { + "color": "rgba(245, 54, 54, 0.9)", + "value": "60795900000.0" + } + ] + }, + "unit": "bytes" }, "overrides": [] }, @@ -887,7 +887,7 @@ "y": 5 }, "hiddenSeries": false, - "id": 73, + "id": 12, "legend": { "avg": false, "current": false, @@ -899,12 +899,13 @@ }, "lines": true, "linewidth": 1, + "links": [], "nullPointMode": "connected", "options": { - "alertThreshold": true + "dataLinks": [] }, "percentage": false, - "pluginVersion": "7.3.4", + "pluginVersion": "7.0.5", "pointradius": 2, "points": false, "renderer": "flot", @@ -914,7 +915,7 @@ "steppedLine": false, "targets": [ { - "alias": "Used", + "dsType": "influxdb", "groupBy": [ { "params": [ @@ -983,16 +984,17 @@ }, "yaxes": [ { - "$$hashKey": "object:708", + "$$hashKey": "object:316", + "decimals": 2, "format": "percent", - "label": null, + "label": "Usage", "logBase": 1, "max": null, "min": null, "show": true }, { - "$$hashKey": "object:709", + "$$hashKey": "object:317", "format": "short", "label": null, "logBase": 1, @@ -1009,12 +1011,43 @@ { "aliasColors": {}, "bars": false, + "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": "InfluxDB", "fieldConfig": { "defaults": { - "custom": {} + "custom": {}, + "mappings": [ + { + "id": 0, + "op": "=", + "text": "N/A", + "type": 1, + "value": "null" + } + ], + "max": "131114444000", + "min": 0, + "nullValueMode": "connected", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "rgba(50, 172, 45, 0.97)", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": "104891555200.0" + }, + { + "color": "rgba(245, 54, 54, 0.9)", + "value": "118002999600.0" + } + ] + }, + "unit": "bytes" }, "overrides": [] }, @@ -1027,7 +1060,7 @@ "y": 5 }, "hiddenSeries": false, - "id": 74, + "id": 31, "legend": { "avg": false, "current": false, @@ -1039,12 +1072,13 @@ }, "lines": true, "linewidth": 1, + "links": [], "nullPointMode": "connected", "options": { - "alertThreshold": true + "dataLinks": [] }, "percentage": false, - "pluginVersion": "7.3.4", + "pluginVersion": "7.0.5", "pointradius": 2, "points": false, "renderer": "flot", @@ -1054,7 +1088,7 @@ "steppedLine": false, "targets": [ { - "alias": "Used", + "dsType": "influxdb", "groupBy": [ { "params": [ @@ -1123,22 +1157,23 @@ }, "yaxes": [ { - "$$hashKey": "object:708", + "$$hashKey": "object:442", + "decimals": 2, "format": "percent", - "label": null, + "label": "Usage", "logBase": 1, "max": null, "min": null, "show": true }, { - "$$hashKey": "object:709", + "$$hashKey": "object:443", "format": "short", "label": null, "logBase": 1, "max": null, "min": null, - "show": false + "show": true } ], "yaxis": { @@ -1230,7 +1265,7 @@ }, { "params": [ - " / {{ CPUS }}" + " / 16" ], "type": "math" } @@ -1375,7 +1410,7 @@ }, { "params": [ - " / {{ CPUS }}" + " / 16" ], "type": "math" } @@ -1520,7 +1555,7 @@ }, { "params": [ - " / {{ CPUS }}" + " / 16" ], "type": "math" } @@ -1665,7 +1700,7 @@ }, { "params": [ - " / {{ CPUS }}" + " / 16" ], "type": "math" } @@ -3038,18 +3073,25 @@ "title": "Zeek Restarts via Healthcheck", "type": "stat" }, - - - { + "cacheTimeout": null, "datasource": "InfluxDB", "fieldConfig": { "defaults": { "custom": {}, - "unit": "s", - "min": 0, - "max": null, "decimals": 2, + "mappings": [ + { + "id": 0, + "op": "=", + "text": "N/A", + "type": 1, + "value": "null" + } + ], + "max": 1209600, + "min": 0, + "nullValueMode": "connected", "thresholds": { "mode": "absolute", "steps": [ @@ -3067,16 +3109,7 @@ } ] }, - "mappings": [ - { - "id": 0, - "op": "=", - "text": "N/A", - "type": 1, - "value": "null" - } - ], - "nullValueMode": "connected" + "unit": "s" }, "overrides": [] }, @@ -3089,9 +3122,18 @@ "id": 22, "links": [], "options": { - "alertThreshold": true + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true }, - "pluginVersion": "7.3.4", + "pluginVersion": "7.0.5", "targets": [ { "dsType": "influxdb", @@ -3134,81 +3176,13 @@ "operator": "=", "value": "{{ SERVERNAME }}" } - ], - "alias": "Oldest Pcap" + ] } ], - "title": "{{ SERVERNAME }} - PCAP Retention", - "type": "graph", - "renderer": "flot", - "yaxes": [ - { - "label": "", - "show": true, - "logBase": 1, - "min": null, - "max": null, - "format": "s", - "$$hashKey": "object:643", - "decimals": 2 - }, - { - "label": null, - "show": false, - "logBase": 1, - "min": null, - "max": null, - "format": "short", - "$$hashKey": "object:644" - } - ], - "xaxis": { - "show": true, - "mode": "time", - "name": null, - "values": [], - "buckets": null - }, - "yaxis": { - "align": false, - "alignLevel": null - }, - "lines": true, - "fill": 1, - "linewidth": 1, - "dashLength": 10, - "spaceLength": 10, - "pointradius": 2, - "legend": { - "show": true, - "values": false, - "min": false, - "max": false, - "current": false, - "total": false, - "avg": false - }, - "nullPointMode": "connected", - "tooltip": { - "value_type": "individual", - "shared": true, - "sort": 0 - }, - "aliasColors": {}, - "seriesOverrides": [], - "thresholds": [], - "timeRegions": [], - "cacheTimeout": null, "timeFrom": null, "timeShift": null, - "fillGradient": 0, - "dashes": false, - "hiddenSeries": false, - "points": false, - "bars": false, - "stack": false, - "percentage": false, - "steppedLine": false + "title": "{{ SERVERNAME }} - PCAP Retention", + "type": "gauge" }, { "aliasColors": { @@ -3838,7 +3812,7 @@ "measurement": "net", "orderByTime": "ASC", "policy": "default", - "query": "SELECT 8 * non_negative_derivative(mean(\"bytes_recv\"),1s) FROM \"net\" WHERE \"host\" = 'JumpHost' AND \"interface\" = 'eth0' AND $timeFilter GROUP BY time($interval) fill(null)", + "query": "SELECT 8 * non_negative_derivative(mean(\"bytes_recv\"),1s) FROM \"net\" WHERE \"host\" = 'JumpHost' AND \"interface\" = 'eth0' AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "A", "resultFormat": "time_series", @@ -3878,7 +3852,7 @@ "condition": "AND", "key": "interface", "operator": "=", - "value": "{{ MONINT }}" + "value": "bond0" } ] } @@ -4416,7 +4390,7 @@ "measurement": "net", "orderByTime": "ASC", "policy": "default", - "query": "SELECT 8 * non_negative_derivative(mean(\"bytes_recv\"),1s) FROM \"net\" WHERE \"host\" = 'JumpHost' AND \"interface\" = 'eth0' AND $timeFilter GROUP BY time($interval) fill(null)", + "query": "SELECT 8 * non_negative_derivative(mean(\"bytes_recv\"),1s) FROM \"net\" WHERE \"host\" = 'JumpHost' AND \"interface\" = 'eth0' AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "A", "resultFormat": "time_series", @@ -4456,7 +4430,7 @@ "condition": "AND", "key": "interface", "operator": "=", - "value": "{{ MANINT }}" + "value": "eth0" } ] }, @@ -4480,7 +4454,7 @@ "measurement": "net", "orderByTime": "ASC", "policy": "default", - "query": "SELECT 8 * non_negative_derivative(mean(\"bytes_sent\"),1s) FROM \"net\" WHERE \"host\" = 'JumpHost' AND \"interface\" = 'eth0' AND $timeFilter GROUP BY time($interval) fill(null)", + "query": "SELECT 8 * non_negative_derivative(mean(\"bytes_sent\"),1s) FROM \"net\" WHERE \"host\" = 'JumpHost' AND \"interface\" = 'eth0' AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "B", "resultFormat": "time_series", @@ -4520,7 +4494,7 @@ "condition": "AND", "key": "interface", "operator": "=", - "value": "{{ MANINT }}" + "value": "eth0" } ] } @@ -4710,87 +4684,7 @@ "style": "dark", "tags": [], "templating": { - "list": [ - { - "auto": true, - "auto_count": 30, - "auto_min": "10s", - "current": { - "selected": false, - "text": "10s", - "value": "10s" - }, - "hide": 0, - "label": null, - "name": "Interval", - "options": [ - { - "selected": false, - "text": "auto", - "value": "$__auto_interval_Interval" - }, - { - "selected": true, - "text": "10s", - "value": "10s" - }, - { - "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": "10s, 1m,10m,30m,1h,6h,12h,1d,7d,14d,30d", - "refresh": 2, - "skipUrlSync": false, - "type": "interval" - } - ] + "list": [] }, "time": { "from": "now-1h", @@ -4798,7 +4692,6 @@ }, "timepicker": { "refresh_intervals": [ - "5s", "10s", "30s", "1m", @@ -4825,4 +4718,4 @@ "title": "Evaluation Mode - {{ SERVERNAME }} Overview", "uid": "{{ UID }}", "version": 1 -} +} \ No newline at end of file