bundles/grafana: replace the useless builtin of telegraf with something more useful

This commit is contained in:
Franzi 2022-08-07 10:16:07 +02:00
parent f6d6ef7aa7
commit 6b641890c3
Signed by: kunsi
GPG key ID: 12E3D2136B818350
5 changed files with 299 additions and 23 deletions

View file

@ -103,6 +103,10 @@ for rnode in repo.nodes:
dashboard['rows'].append(dashboard_row_sensors(panel_id, rnode))
dashboard['tags'].add('lm-sensors')
if rnode.has_bundle('smartd'):
dashboard['rows'].append(dashboard_row_smartd(panel_id, rnode))
dashboard['tags'].add('smartd')
if rnode.has_bundle('telegraf-battery-usage'):
dashboard['rows'].append(dashboard_row_battery(panel_id, rnode))