#Grafana Email Subject

1 messages · Page 1 of 1 (latest)

slow jungle
#

Hi All ,

Need help on correcting grafana email subject .

Im getting subject as example - Aggregate Used Percentage netapp_cmod ( Netapp Harvest) but want to get only subject as Aggregate Uaed percentage

Netapp_cmod is evaluation folder

I have tried below but it’s not solving and I’m getting same email subject

And when I change to default templates as given on grafana document it gives me blank subject

Is there any help I can get on this

Thank you

lunar stratus
#

hi @slow jungle are you using Nabox or setup Grafana and Harvest some other way?

slow jungle
lunar stratus
#

@jade kite

jade kite
#

Mmmm. Grafana doesn’t send emails. Alertmanager does. Are you trying to edit alertmanager config from within Grafana ? Or configure a new alert une Grafana ?

slow jungle
#

In side grafana we do have alert manager , where we edit POC and others to send email , I have made some alerting rules and when they matches the defined they send email

#

Please let me know if it makes sense

jade kite
#
slow jungle
#

I have changed to this but still it did not resolve the issue

#

I’m getting email subject as - example - Disk fail Netapp_cmod ( Netapp Harvest 2) , Netapp_cmod is evaluation group ,

jade kite
#

I was thinking further down on the page :

{{ define “Email.Subject” }}
{{ range $index, $alert := .Alerts }}
{{ if eq $index 0 }}
Production Alert - {{ .Labels.alertname }}
{{end}}
{{ end }}
{{ end }}
slow jungle
#

But I get subject as - ( no subject )

#

It’s still not solving