Send alert email

    1. Create a check to identify the data to monitor and the status to alert on.
    2. Set up your preferred email service (sign up, retrieve API credentials, and send test email):
    3. Create an alert email task to call your email service and send an alert email.

    In the procedure below, we use the Task page in the InfluxDB UI (user interface) to create a task. Explore other ways to .

    1. In the InfluxDB UI, select Tasks in the navigation menu on the left.

      Tasks

      Tasks

    2. Click Create Task, and then select New Task.

    Examples

    AWS SES Mailgun

    The example below uses the SendGrid API to send an alert email when more than 3 critical statuses occur since the previous task run.

    The example below uses the AWS SES API v2 to send an alert email when more than 3 critical statuses occur since the last task run.

    Your AWS SES request, including the url (endpoint), authentication, and the structure of the request may vary. For more information, see and Authenticating requests to the Amazon SES API. We recommend signing your AWS API requests using the .

    The example below uses the Mailjet Send API to send an alert email when more than 3 critical statuses occur since the last task run.

    To view your Mailjet API credentials, sign in to Mailjet and open the API Key Management page.

    The example below uses the Mailgun API to send an alert email when more than 3 critical statuses occur since the last task run.

    To view your Mailgun API keys, sign in to Mailjet and open . Mailgun requires that a domain be specified via Mailgun. A domain is automatically created for you when you first set up your account. You must include this domain in your url endpoint (for example, https://api.mailgun.net/v3/YOUR_DOMAIN or . If you’re using a free version of Mailgun, you can set up a maximum of five authorized recipients (to receive email alerts) for your domain. To view your Mailgun domains, sign in to Mailgun and view the Domains page.

    Related articles

    email check