Add Grafana alerts
This commit is contained in:
parent
2088993e29
commit
ab90ab9b71
4 changed files with 9 additions and 2 deletions
|
@ -3,7 +3,7 @@ server {
|
|||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
include snippets/headers.conf;
|
||||
location / {
|
||||
location = /api/v1/write {
|
||||
set $upstream systemd-prometheus.:9090;
|
||||
proxy_pass http://$upstream;
|
||||
include snippets/proxy.conf;
|
||||
|
|
|
@ -43,7 +43,7 @@ smtpd_relay_restrictions = permit_sasl_authenticated reject_unauth_destination
|
|||
smtpd_recipient_restrictions = reject_non_fqdn_recipient reject_unknown_recipient_domain permit_sasl_authenticated reject_unauth_destination
|
||||
smtpd_sender_restrictions = reject_non_fqdn_sender reject_unknown_sender_domain reject_sender_login_mismatch
|
||||
smtpd_helo_required = yes
|
||||
smtpd_helo_restrictions = reject_invalid_helo_hostname reject_non_fqdn_helo_hostname permit_sasl_authenticated reject_unknown_helo_hostname
|
||||
smtpd_helo_restrictions = reject_invalid_helo_hostname permit_sasl_authenticated reject_non_fqdn_helo_hostname reject_unknown_helo_hostname
|
||||
smtpd_client_restrictions = permit_sasl_authenticated reject_unknown_reverse_client_hostname
|
||||
|
||||
smtpd_milters = inet:systemd-rspamd:11332
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
mathieu@strypsteen.me mathieu
|
||||
monitoring@strypsteen.me monitoring
|
||||
|
|
|
@ -2,6 +2,12 @@
|
|||
Image=docker.io/grafana/grafana-oss
|
||||
Network=nginx.network
|
||||
Volume=grafana.volume:/var/lib/grafana:U,Z
|
||||
Environment=GF_SERVER_ROOT_URL=https://monitoring.strypsteen.com
|
||||
Environment=GF_SMTP_ENABLED=true
|
||||
Environment=GF_SMTP_HOST=vps.strypsteen.com:465
|
||||
Environment=GF_SMTP_USER=monitoring
|
||||
Environment=GF_SMTP_FROM_ADDRESS=monitoring@strypsteen.me
|
||||
Secret=GF_SMTP_PASSWORD,type=env
|
||||
AutoUpdate=registry
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Add table
Reference in a new issue