bundles/grafana/items.py: fix permissions
This commit is contained in:
parent
d95a8e6d59
commit
c0277fa8b9
1 changed files with 2 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',
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue