Commit graph

3 commits

Author SHA1 Message Date
Thorben Günther
7bb448b5eb
Refactor structs to use map[string]string 2023-02-12 14:40:32 +01:00
Thorben Günther
1e44ba5694
alertmanager: Support basic auth 2023-02-12 14:15:02 +01:00
Thorben Günther
c919ec9af2
Add ability to silence alerts with ntfy action
For now only for the single alert mode.
This is implemented as an action button, that will send an API request
to ntfy-alertmanager itself instead of Alertmanager. Here ntfy-alertmanager
acts as a proxy and will then do the API request for actually creating
the silence in Alertmanager.
This is founded in a limitation of ntfy, that seemingly does not allow a
json body with more than one key.
2023-02-12 03:04:17 +01:00