Difference between revisions of "Setup SMTP in Grafana"

From Gejoreuy
Jump to navigation Jump to search
(Created page with "== Introduction == Grafana is a tools for visualisation dashboard monitoring which work together with various datasource. <br>In its use, we'll need SMTP activated to do some...")
 
Line 7: Line 7:
  
 
In this page, we assumed that we already know about Grafana and have it run in a server.
 
In this page, we assumed that we already know about Grafana and have it run in a server.
 +
<br>In our example, we are going to use Google Gmail as SMTP server.
 +
 +
== Step by Step ==
 +
 +
1. Prepare our Gmail account to '''allow less secure apps''' option.
 +
<br>Just go to https://myaccount.google.com/lesssecureapps and set allow less secure apps to ON.
 +
<br>
 +
<br>2. Update and install SSMTP in Grafana server.
 +
<pre>
 +
# sudo apt-get update
 +
# sudo apt-get install ssmtp
 +
</pre>

Revision as of 17:20, 15 May 2020

Introduction

Grafana is a tools for visualisation dashboard monitoring which work together with various datasource.
In its use, we'll need SMTP activated to do some functionality like email alerting, notification, or invitation request.

Assumptions

In this page, we assumed that we already know about Grafana and have it run in a server.
In our example, we are going to use Google Gmail as SMTP server.

Step by Step

1. Prepare our Gmail account to allow less secure apps option.
Just go to https://myaccount.google.com/lesssecureapps and set allow less secure apps to ON.

2. Update and install SSMTP in Grafana server.

# sudo apt-get update
# sudo apt-get install ssmtp