mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-15 21:52:47 +01:00
new panels, add containers var, hide manint and monint var from dash
This commit is contained in:
29
salt/grafana/templates/containers.json
Normal file
29
salt/grafana/templates/containers.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"allValue": null,
|
||||
"current": {
|
||||
"selected": true,
|
||||
"tags": [],
|
||||
"text": [],
|
||||
"value": []
|
||||
},
|
||||
"datasource": "InfluxDB",
|
||||
"definition": "SHOW TAG VALUES ON telegraf WITH KEY = container_name WHERE (_name = 'docker_container_cpu') AND ((host = '$servername') AND (_tagKey = 'container_name'))",
|
||||
"description": null,
|
||||
"error": null,
|
||||
"hide": 0,
|
||||
"includeAll": true,
|
||||
"label": "Docker Containers",
|
||||
"multi": true,
|
||||
"name": "containers",
|
||||
"options": [],
|
||||
"query": "SHOW TAG VALUES ON telegraf WITH KEY = container_name WHERE (_name = 'docker_container_cpu') AND ((host = '$servername') AND (_tagKey = 'container_name'))",
|
||||
"refresh": 1,
|
||||
"regex": "/so-*/",
|
||||
"skipUrlSync": false,
|
||||
"sort": 1,
|
||||
"tagValuesQuery": "",
|
||||
"tags": [],
|
||||
"tagsQuery": "",
|
||||
"type": "query",
|
||||
"useTags": false
|
||||
}
|
||||
@@ -5,7 +5,7 @@
|
||||
"definition": "SELECT \"n_cpus\" FROM \"system\" WHERE \"host\" = '$servername'",
|
||||
"description": null,
|
||||
"error": null,
|
||||
"hide": 0,
|
||||
"hide": 2,
|
||||
"includeAll": false,
|
||||
"label": "CPU Count",
|
||||
"multi": false,
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"definition": "SELECT \"manint\" FROM \"node_config\" WHERE (\"host\" = '$servername')",
|
||||
"description": null,
|
||||
"error": null,
|
||||
"hide": 0,
|
||||
"hide": 2,
|
||||
"includeAll": false,
|
||||
"label": "Management Interface",
|
||||
"multi": false,
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"definition": "SELECT \"monint\" FROM \"node_config\" WHERE (\"host\" = '$servername')",
|
||||
"description": null,
|
||||
"error": null,
|
||||
"hide": 0,
|
||||
"hide": 2,
|
||||
"includeAll": false,
|
||||
"label": "Monitor Interface",
|
||||
"multi": false,
|
||||
|
||||
Reference in New Issue
Block a user