Hi,
We have configured grafana.conf a /etc/grafana/ location at following sections:
[smtp]
enabled = true
host = localhost:25
user = my_gmail_id
# If the password contains # or ; you have to wrap it with trippel quotes. Ex """#password;"""
password = *********** - my gmail password
;cert_file =
;key_file =
;skip_verify = false
;from_address = admin@grafana.localhost
;from_name = Grafana
[emails]
welcome_email_on_sign_up = true
At grafana graph panels, we configured like below:
Please check grafana server log for error details. If using Gmail and 2 factor Auth you need to generate specific password in Google accounts and use that as password in Grafana.
At root location, I have created a .mailrc file and added the below lines:
set smtp-use-starttls
set ssl-verify=ignore
set smtp=smtp://<some other email>:<some other port>
set smtp-auth=login
set smtp-auth-user='<auth-user>'
set smtp-auth-password='<auth password>'
set from="<from email addr>"
Will this details help to resolve this issue ?.
Question:
Do we need to configure the same specifications in grafana.ini and in .mailrc?
If not,
What are the ways to acheive the solution to resolve this?
Thank you!!!
When I get a mail, there I am getting “FROM ADDRESS” as my-email-id, I need that “FROM ADDRESS” should come from grafana-server. How to configure that ?.
Please let me know if you didn’t understand the information.
Thank you…
As I wrote earlier and linked to documentation clearly states:
If a query returns multiple series then the aggregation function and threshold check will be evaluated for each series. What Grafana does not do currently is track alert rule state per series. This has implications that are detailed in the scenario below.
Alert condition with query that returns 2 series: server1 and server2
server1 series cause the alert rule to fire and switch to state Alerting
Notifications are sent out with message: load peaking (server1)
In a subsequence evaluation of the same alert rule the server2 series also cause the alert rule to fire
No new notifications are sent as the alert rule is already in state Alerting.
There are an open feature request issue for supporting what you want to have. Please upvote that by reacting with to the issue description - please do not add a new comment since that will trigger a notification to all the people who have subscribed to that issue.
We want to generate a mail for 100+ servers which are consuming more than 80% of CPU & RAM but we are getting mail regarding last one server on the dashboard. Can you please help us. Thank you!
I tried to make it clear that we don’t support what you’re asking for. Therefore I referenced the open feature request issue. I cannot help you further regarding the alert emails.