This commit is contained in:
DoTheEvo 2023-02-05 23:01:32 +01:00
parent 45d9368d08
commit 037f0393bf

View File

@ -419,17 +419,27 @@ Including pushing information from windows powershell.
</details> </details>
<details> <details>
<summary>`alertmanager.yml`</summary> <summary>alertmanager.yml</summary>
```yml ```yml
route: route:
receiver: 'ntfy' receiver: 'email'
receivers: receivers:
- name: "ntfy"
webhook_configs: - name: "ntfy"
- url: 'https://ntfy.example.com/alertmanager' webhook_configs:
send_resolved: true - url: 'https://ntfy.example.com/alertmanager'
send_resolved: true
- name: 'email'
email_configs:
- to: 'whoever@example.com'
from: 'alertmanager@example.com'
smarthost: smtp-relay.sendinblue.com:587
auth_username: '<registration_email@gmail.com>'
auth_identity: '<registration_email@gmail.com>'
auth_password: '<long ass generated SMTP key>'
``` ```
</details> </details>