sexibytes / sexigraf

SexiGraf is a vSphere centric Graphite appliance with a Grafana frontend.
http://www.sexigraf.fr
MIT License
128 stars 21 forks source link

configure e-mail server for grafana alerts via SexiGraf Web Admin #281

Closed tsohst closed 2 years ago

tsohst commented 2 years ago

Hey,

we would like to configure alerts on certain graphs in grafana. Is it possible to implement the configuration of the e-mail server in SexiGraf Web Admin?

rschitz commented 2 years ago

Hi, Yes, you'd have to configure an email notification channel and an smtp server in the grafana config file https://grafana.com/docs/grafana/latest/alerting/old-alerting/notifications/

tsohst commented 2 years ago

So, it is ok to manually edit things? Or can this break something when updating sexigraf in the future?

rschitz commented 2 years ago

in case of a minor update it's fine but in case of a major one you'd have to re-modify the file and recreate the alarm settings and export/import your custom dashboards

rschitz commented 2 years ago

Grafana 8 introduced a new alarms module so we have to make some change anyway