Hi that's a great video. Can you help me to find a solution to absent metrics.. It seems that we keep receiving false alerts on absent metrics. Is there a way where we can stop this false alerts. 1) Is there any other alternative function instead of absent function which does the same work. 2) silencing an alert stops only the absent metric alert or stops entire genuine occurring alert as well.. 3) what happens if we reboot the alert manager will the false/in-active alert dissaper? We use prometheus version 2.10.1
Hi. thank you so much for this wonderful explanation!!!!!!! Please the rules you added on your github for cpu, memory and diskspace, can i work with it as i am looking to manage my resources through those rules, plus i need an explanation on them, i am a bit confused. Thank you!!!!
Great explanation, can you please let me know how can I modify subject of the alert email. For example I dont want server IP or server name in my alert email subject, Thanks in advance
Hi @Thetips4you Great Video and very helpful Could you please help me with how i setup status email sent regularly lets say 08 in the morning every weekday telling me whats disk space of all target environments. Is this possible to configure in alertmanager since these are status email and not about something is down? If it is possible what condition do i use to trigger emails telling me status of target environment Disk Usage? It will be a great help. Thanks
How we can setup okay alert. Means if we get any cpu alert more than 70 we setup alert for critical, once its down lessthan 70. Are we get any alert is resolved notification.
@@Thetips4you i want to create an alert to slack like a test alert. This alert gets triggered when when WMI server is down. My alert gets fired in prometheus but in alert manager it shows no groups also no alert is been notified
Hey sir Was wondering if you could help? I am looking to adjust alerting rules so that they do not fire for specific hosts. I know I can silence in alert manager but this is only temporary. I am looking for alert manager configuration adjustment. Thanks
@@Thetips4you I have hundreds of hosts reporting to a prometheus server. I have many exporters per host. I want to be able to make a list of hosts that I don't want alerting from. I still need the prometheus monitoring on these hosts.
Just add to the expr in alert rules. For example you can add instance=~ "ABC" Or host like. You can read alert documentation. You can also use regular expression to use a set of similar instances.
Hi that's a great video.
Can you help me to find a solution to absent metrics.. It seems that we keep receiving false alerts on absent metrics. Is there a way where we can stop this false alerts.
1) Is there any other alternative function instead of absent function which does the same work.
2) silencing an alert stops only the absent metric alert or stops entire genuine occurring alert as well..
3) what happens if we reboot the alert manager will the false/in-active alert dissaper?
We use prometheus version 2.10.1
Hi. thank you so much for this wonderful explanation!!!!!!!
Please the rules you added on your github for cpu, memory and diskspace, can i work with it as i am looking to manage my resources through those rules, plus i need an explanation on them, i am a bit confused. Thank you!!!!
Yes you can use the example rules. You will have to adapt to your need's.
@@Thetips4you Thank youuu!!
Great explanation, can you please let me know how can I modify subject of the alert email. For example I dont want server IP or server name in my alert email subject, Thanks in advance
Please check the full playlist on it.
Hey ! i wanted to set a custom template for Email alert and dont wanna use the default template for alert ! how can we do it
Make the changes in alert.rule.yml , you can check out my tutorial on slack alert from Prometheus for sample.
Hi @Thetips4you Great Video and very helpful
Could you please help me with how i setup status email sent regularly lets say 08 in the morning every weekday telling me whats disk space of all target environments. Is this possible to configure in alertmanager since these are status email and not about something is down? If it is possible what condition do i use to trigger emails telling me status of target environment Disk Usage?
It will be a great help. Thanks
Thank you. Could you please check the full playlist of Prometheus, it will give you complete details.
hey thanks for the video, it worked for me.
Do you know how to receive hostname instead of IP address in the email?
Great to hear and thank you for your comment. Try changing the label.instance in the alert rule. Read the instructions.
Is smtp server setup mandatory?
If yes then how to do it. Please share a link. I have tried it but it isn't working.
You don't need to set up your own smtp server, make use of gmail or other smtp server details.
How we can setup okay alert. Means if we get any cpu alert more than 70 we setup alert for critical, once its down lessthan 70. Are we get any alert is resolved notification.
Update your rules.yml according to your percentage requirement.
Does it work for any email, or just Gmail?
Yes it will work. You need to change the configuration based on the email.
thanks for sharing .. it was helpful
Glad it was helpful!. Thank you for your comment.
Hey can we manually trigger an slack alert ? Also can we do this for a windows?
Why do you want to manually trigger an alert and in which scenario? Yes you can do this in windows as well.
@@Thetips4you i want to create an alert to slack like a test alert. This alert gets triggered when when WMI server is down. My alert gets fired in prometheus but in alert manager it shows no groups also no alert is been notified
Please check my video on Prometheus alert using slack in the playlist Prometheus. That should give you the details on it.
Hey sir
Was wondering if you could help?
I am looking to adjust alerting rules so that they do not fire for specific hosts. I know I can silence in alert manager but this is only temporary. I am looking for alert manager configuration adjustment.
Thanks
Thanks for contacting me. I will check and let you know on this.
@@Thetips4you I have hundreds of hosts reporting to a prometheus server. I have many exporters per host. I want to be able to make a list of hosts that I don't want alerting from. I still need the prometheus monitoring on these hosts.
Just add to the expr in alert rules. For example you can add instance=~ "ABC" Or host like. You can read alert documentation. You can also use regular expression to use a set of similar instances.
How about sending email for specific alerts
How can I send alert emails to more than one person, i.e., a collection of emails?
Create an email group and send it to that.
@@Thetips4you Does it only work that way?
Nice man! Thanks!!
You are welcome
err="*smtp.plainAuth auth: unencrypted connection
thanks it worked
You are welcome. Thanks for your feedback.
if "to" is my email address then what is "from" ???
From is a dummy name. You can give some name which will show up as the email received from.
@@Thetips4you Thank you!! My task just got more demanding, I have to run alertmanager as a Container. FYI
does not advertise the STARTTLS extension"
There is nothing advertised here. What are you really talking about?
I am getting error not receiving mail
I have just down node exporter that showing on Prometheus but mail not receiving
And I am very thankful to you explain this tutorial and easily understand.
If possible can I use mail instead of alert manager
Grafana mail alert