Skip to content
Sosivio

3rd Party Notifications

Sosivio can send push notifications to 3rd party applications. Navigate to the 3rd-Party Notifications tab, select your desired notifications channel and fill in the required information.


Notifications Center

Prometheus Alertmanager

After entering in the URL for Prometheus Alertmanger, you must update your Alertmanager configurations as shown below.

NOTE: Make sure you add the suffix /api/v2/alerts when configuring your alertmanager URL.

global:
route:
... your configuration
 routes:
 # This routes performs a regular expression match on alert labels to
 # catch alerts that are related to sosivio.
   - matchers:
     - app="sosivio"
     receiver: 'sosivio-notifications'
     group_by: ['...']  
receivers:
- name: 'sosivio-notifications'
 slack_configs:
 - channel: 'Put your slack channel here'
   send_resolved: false
   color: '{{ range .Alerts }}{{ .Annotations.color }}{{ end }}'
   icon_url: https://www.sosiv.io/favicon-32x32.png?v=b156bf7b442a1c056f1b87909849f92f
   title: |-
     {{ range .Alerts }}
     {{ .Annotations.slackTitle }}
     {{ end }}
   text: |-
     {{ range .Alerts }}
     {{ .Annotations.slackText }}
     {{ end }}
 email_configs:
 - to: '{{ range .Alerts }}{{ .Annotations.emails }}{{ end }}' or put your own list like '[email protected],[email protected]'
   headers: {
     'subject': '{{ range .Alerts }}{{ .Annotations.emailTitle }}{{ end }}',
   }
   send_resolved: false
   html: '{{ range .Alerts }}{{ .Annotations.html | safeHtml }}{{ end }}'
   from: '{{ range .Alerts }}{{ .Annotations.fromEmail }}{{ end }}'


Alert Manager

Datadog

Datadog requires two inputs: - Datadog API key: A unique key generated by Datadog users here. - Host: A dropdown menu of available Datadog sites.


Datadog Configuration

Slack

Slack requires a Slack API URL and a Slack Channel.


Slack Alerts

E-mail

In order to integrate with SMTP (E-Mail) Sosivio needs the following:

  • SMTP Host
  • SMTP Port
  • SMTP Username
  • SMTP Password


E-Mail Alerts