Use the Aiven client to configure the Simple Mail Transfer Protocol (SMTP) server settings and send emails from Managed Service for TimescaleDB for Grafana, including invite emails, reset password emails, and alert messages.

Before you begin, make sure you have:

  • Created a service in your Managed Service for TimescaleDB account.
  • Installed Aiven Client.
  • Created a service for Grafana in your Managed Service for TimescaleDB account.
  • (Optional): Made a note of these values in the SMTP server: IP or hostname, SMTP server port, Username, Password, Sender email address, and Sender name.
  1. In the Aiven client, connect to your Managed Service for TimescaleDB service.

  2. Switch to the project that contains the Grafana service you want to integrate:

    avn project switch <PROJECT>
  3. List the services in the project, and make a note of the Grafana service that you want to configure, listed under SERVICE_NAME column in the output.

    avn service list
  4. Get the details of the service that you want to integrate:

    avn service get <SERVICE_NAME>
  5. Configure the Grafana service using the SMTP values:

    avn service update --project <PROJECT> <SERVICE_NAME>\
    -c smtp_server.host=smtp.example.com \
    -c smtp_server.port=465 \
    -c smtp_server.username=emailsenderuser \
    -c smtp_server.password=emailsenderpass \
    -c smtp_server.from_address="[email protected]"
  6. Optional Review all available custom options, and configure:

    avn service types -v

You can now send emails for your Grafana service on MST.

Keywords

Found an issue on this page?

Report an issue!