Univention dashboard grafana

ucs-dashboard

#1

Hello,

I have a lot of questions regarding the dashboard app:
I have installed the univention dashboard app.
I use the univention dashboard grafana to visualize data from my influxdb.
Can I install more plugins to this grafana?
Is it possible to set up email alert and LDAP Service?
Where are the config files stored?
Is it better to install grafana via this cool solution

Best regards,
Stefan


#2

Hi,

Where are the config files stored?
Can I install more plugins to this grafana?

yes, (suspicious_einstein is my grafana container)

-> docker exec suspicious_einstein grafana-cli --pluginsDir /var/lib/univention-appcenter/apps/admin-dashboard/data/plugins plugins install bosun-app
installing bosun-app @ 0.0.28
from url: https://grafana.com/api/plugins/bosun-app/versions/0.0.28/download
into: /var/lib/univention-appcenter/apps/admin-dashboard/data/plugins

:heavy_check_mark: Installed bosun-app successfully

Restart grafana after installing plugins .

-> docker restart suspicious_einstein

The grafana container is started with:

GF_PATHS_CONFIG=/var/lib/univention-appcenter/apps/admin-dashboard/conf/grafana/grafana.ini
GF_PATHS_DATA=/var/lib/univention-appcenter/apps/admin-dashboard/data/grafana
GF_PATHS_LOGS=/var/lib/univention-appcenter/apps/admin-dashboard/data/logs
GF_PATHS_PLUGINS=/var/lib/univention-appcenter/apps/admin-dashboard/data/plugins
GF_PATHS_PROVISIONING=/var/lib/univention-appcenter/apps/admin-dashboard/data/provisioning

and everything in /var/lib/univention-appcenter/apps/admin-dashboard/data and /var/lib/univention-appcenter/apps/admin-dashboard/conf is persistent (bind mount), but grafana.ini is templated (so changes will be overwritten with the next update) but plugins, data and dashboards survive a container upgrade …

Is it possible to set up email alert and LDAP Service?

not sure, if there are changes in grafana.ini config file necessary, then app updates will destroy those settings, unless there is some kind of include-another-ini in grafana.ini or custom.ini …

Best regards,
Felix


#3

THX,

it working fine now!

Best regards,
Stefan