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'] = {
|
||||
'content': json.dumps(dashboard, indent=4),
|
||||
'owner': 'grafana',
|
||||
'group': 'grafana',
|
||||
'triggers': [
|
||||
'svc_systemd:grafana-server:restart',
|
||||
]
|
||||
|
|
|
@ -14,6 +14,9 @@
|
|||
'max': 100,
|
||||
'min': 0,
|
||||
'unit': 'percent',
|
||||
'legend': {
|
||||
'displayMode': 'hidden',
|
||||
},
|
||||
},
|
||||
'load': {
|
||||
'queries': {
|
||||
|
@ -29,6 +32,9 @@
|
|||
},
|
||||
'min': 0,
|
||||
'unit': 'watts',
|
||||
'legend': {
|
||||
'displayMode': 'hidden',
|
||||
},
|
||||
},
|
||||
'time': {
|
||||
'queries': {
|
||||
|
@ -44,5 +50,8 @@
|
|||
},
|
||||
'min': 0,
|
||||
'unit': 'minutes',
|
||||
'legend': {
|
||||
'displayMode': 'hidden',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue