ntfy-alertmanager setup silence in alertmanager

This commit is contained in:
chris 2025-06-12 19:48:18 +02:00
parent 2cb9dc6dae
commit 1cc4ca6947
Signed by: c6ristian
SSH key fingerprint: SHA256:B3m+yzpaxGXSEcDBpPHfvza/DNC0wuX+CKMeGq8wgak
5 changed files with 26 additions and 1 deletions

View file

@ -1,3 +1,4 @@
base-url https://grafana.hamburg.ccc.de/ccchh-alertmanager-critical
http-address :8000
log-level info
log-format text
@ -27,6 +28,7 @@ labels {
resolved {
tags "white_check_mark,resolved"
priority 2
}
ntfy {
@ -35,6 +37,10 @@ ntfy {
access-token {{ secret__ntfy_token }}
}
alertmanager {
silence-duration 3h
}
cache {
type memory
duration 12h

View file

@ -1,3 +1,4 @@
base-url https://grafana.hamburg.ccc.de/ccchh-alertmanager
http-address :8010
log-level info
log-format text
@ -27,6 +28,7 @@ labels {
resolved {
tags "white_check_mark,resolved"
priority 2
}
ntfy {
@ -35,6 +37,10 @@ ntfy {
access-token {{ secret__ntfy_token }}
}
alertmanager {
silence-duration 3h
}
cache {
type memory
duration 12h

View file

@ -1,3 +1,4 @@
base-url https://grafana.hamburg.ccc.de/fux-alertmanager-critical
http-address :8001
log-level info
log-format text
@ -27,6 +28,7 @@ labels {
resolved {
tags "white_check_mark,resolved"
priority 2
}
ntfy {
@ -35,6 +37,10 @@ ntfy {
access-token {{ secret__ntfy_token }}
}
alertmanager {
silence-duration 3h
}
cache {
type memory
duration 12h

View file

@ -1,3 +1,4 @@
base-url https://grafana.hamburg.ccc.de/fux-alertmanager
http-address :8011
log-level info
log-format text
@ -27,6 +28,7 @@ labels {
resolved {
tags "white_check_mark,resolved"
priority 2
}
ntfy {
@ -35,6 +37,10 @@ ntfy {
access-token {{ secret__ntfy_token }}
}
alertmanager {
silence-duration 3h
}
cache {
type memory
duration 12h

View file

@ -2,7 +2,8 @@
# https://ssl-config.mozilla.org/#server=nginx&version=1.17.7&config=intermediate&openssl=1.1.1k&guideline=5.6
server {
# Listen on a custom port for the proxy protocol.
listen 8443 ssl http2 proxy_protocol;
listen 8443 ssl proxy_protocol;
http2 on;
# Make use of the ngx_http_realip_module to set the $remote_addr and
# $remote_port to the client address and client port, when using proxy
# protocol.