Every page or Post in this Blog offers you to comment anonymous, But As discussed with few of people,
as they need queries and doubts on separate page, this page has been created
You can completely be anonymous, if you get reply from user Sagar 007 as shown in below screenshot, consider its me
In case, you see q question from someone and you are able to answer their query, you can help them giving your best inputs
Use the comment section of this Blog to ask your queries
Please do comment from a place where your Gmail or Google account is not signed in
For example: incognito or edge browser
Hi Sagar,
ReplyDeleteI watched your video and blog on Prometheus Rules and Alert Manager using helm charts. In this, you explained how to send alert notifications with Slack. I need to know how can we send alerts to the email ID. If possible, please share yaml configuration of alertmanagerconfig and share if anything needs to be changed in values.yaml file
Hi Friend, sorry i missed this, You have to configure mail server inside SMTP inside your server , https://www.sagarkakkalasworld.com/2024/10/mail-integration.html, and here is apiVersion: monitoring.coreos.com/v1alpha1
Deletekind: AlertmanagerConfig
metadata:
name: react-demo
namespace: monitoring
labels:
release: prometheus
spec:
route:
groupBy: ['alertname']
groupWait: 30s
groupInterval: 5m
repeatInterval: 1h
continue: true
receiver: 'email-notification'
routes:
- receiver: 'email-notification'
continue: true
receivers:
- name: 'email-notification'
emailConfigs:
- to: 'sender@gmail.com'
from: 'your-smtp-email@example.com'
smarthost: 'smtp.example.com:587'
authUsername: 'your-smtp-username'
authPassword:
name: smtp-secret
key: smtp-password
requireTLS: true
subject: "{{ range .Alerts }}{{ .Annotations.summary }}{{ end }}"
text: "{{ range .Alerts }}{{ .Annotations.description }}{{ end }}"