Thorben Günther
81ff7bd90e
alertmanger: Add setting to overwrite URL
2023-02-12 14:58:37 +01:00
Thorben Günther
1e44ba5694
alertmanager: Support basic auth
2023-02-12 14:15:02 +01:00
Thorben Günther
34c0574163
config: Add required settings for silencing alerts
2023-02-11 13:56:06 +01:00
Thorben Günther
0508f37896
cache: Add config options for duration and cleanup interval
2023-02-08 20:41:03 +01:00
Thorben Günther
46f4590d11
config: Add alert-mode
2023-01-20 15:03:46 +01:00
Thorben Günther
549793cb83
config: Load all label settings
...
Until now only the first occurrence of a label type was loaded.
Fixes: https://todo.xenrox.net/~xenrox/ntfy-alertmanager/10
2023-01-16 00:48:11 +01:00
Thorben Günther
2818ba9885
Support ntfy tags
2022-10-12 17:04:44 +02:00
Thorben Günther
9043ccfb5e
Set ntfy priority depending on Prometheus labels
...
It is possible to configure a priority for an arbitrary label.
Furthermore a priority/order of those arbitrary labels should be
defined. The Alertmanager payload is checked for these and the
priority will be selected from the highest valued label that has one
set in the configuration file.
2022-10-12 16:35:04 +02:00
Thorben Günther
5cf4add40b
Support basic auth for the http endpoint
2022-10-10 14:04:51 +02:00
Thorben Günther
93d004925b
Support ntfy auth
2022-10-10 02:42:13 +02:00
Thorben Günther
bb1a71a637
Read topic from config
2022-10-10 01:30:39 +02:00
Thorben Günther
8347d6410f
Read log level and bind address from config file
2022-10-10 01:20:18 +02:00