Compare commits
2 commits
e65b18430e
...
d8f0d49a64
Author | SHA1 | Date | |
---|---|---|---|
![]() |
d8f0d49a64 | ||
![]() |
5414c5e0cb |
2 changed files with 11 additions and 0 deletions
|
@ -160,6 +160,8 @@ for dashboard_id, monitored_node in enumerate(monitored_nodes, start=1):
|
||||||
|
|
||||||
files[f'/var/lib/grafana/dashboards/{monitored_node.name}.json'] = {
|
files[f'/var/lib/grafana/dashboards/{monitored_node.name}.json'] = {
|
||||||
'content': json.dumps(dashboard, indent=4),
|
'content': json.dumps(dashboard, indent=4),
|
||||||
|
'owner': 'grafana',
|
||||||
|
'group': 'grafana',
|
||||||
'triggers': [
|
'triggers': [
|
||||||
'svc_systemd:grafana-server:restart',
|
'svc_systemd:grafana-server:restart',
|
||||||
]
|
]
|
||||||
|
|
|
@ -14,6 +14,9 @@
|
||||||
'max': 100,
|
'max': 100,
|
||||||
'min': 0,
|
'min': 0,
|
||||||
'unit': 'percent',
|
'unit': 'percent',
|
||||||
|
'legend': {
|
||||||
|
'displayMode': 'hidden',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
'load': {
|
'load': {
|
||||||
'queries': {
|
'queries': {
|
||||||
|
@ -29,6 +32,9 @@
|
||||||
},
|
},
|
||||||
'min': 0,
|
'min': 0,
|
||||||
'unit': 'watts',
|
'unit': 'watts',
|
||||||
|
'legend': {
|
||||||
|
'displayMode': 'hidden',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
'time': {
|
'time': {
|
||||||
'queries': {
|
'queries': {
|
||||||
|
@ -44,5 +50,8 @@
|
||||||
},
|
},
|
||||||
'min': 0,
|
'min': 0,
|
||||||
'unit': 'minutes',
|
'unit': 'minutes',
|
||||||
|
'legend': {
|
||||||
|
'displayMode': 'hidden',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue