How can I Send Individual Alert for Different Servers on Different usage Criteria

18 views
Skip to first unread message

Pachha Gopi

unread,
Aug 5, 2020, 8:40:40 AM8/5/20
to Prometheus Users

Hi All,

I am Using Prometheus for my Production Servers,my question is is there any way that we can configure different alerts for individual server.
for example I have 3 Servers ,Server1 cpu usage is 20% ,Server 2 cpu usage is 30% and Server 3 cpu usage is 90% .Now I need to get alert if server 1 is above 50% and server 2 cpu usage is above 90% and server 3 cpu usage is below 50%.is there anyway that i can create rules according my requirement for individual servers.Please help me out if anyone know how to do it.
Thanks in advance...!

Christian Hoffmann

unread,
Aug 5, 2020, 8:41:38 AM8/5/20
to Pachha Gopi, Prometheus Users
Hi,
Did you have a look at this pattern already?
https://www.robustperception.io/using-time-series-as-alert-thresholds

Kind regards,
Christian

Pachha Gopi

unread,
Aug 5, 2020, 9:40:27 AM8/5/20
to Prometheus Users
Hi thanks for reply yes i had gone through article and it was very userfful

Pachha Gopi

unread,
Aug 5, 2020, 9:45:29 AM8/5/20
to Prometheus Users
Hi @Christian I am facing an issue that my alaert manager is not sending the alerts on regular intervals.how can i configure my alert manager to send alerts to my slack?


On Wednesday, August 5, 2020 at 6:11:38 PM UTC+5:30, Christian Hoffmann wrote:

Christian Hoffmann

unread,
Aug 8, 2020, 5:26:15 PM8/8/20
to Pachha Gopi, Prometheus Users
Hi,

On 8/5/20 3:45 PM, Pachha Gopi wrote:
> Hi @Christian I am facing an issue that my alaert manager is not sending
> the alerts on regular intervals.how can i configure my alert manager to
> send alerts to my slack?

Are you looking for the repeat_interval option, which defaults to 4h?

https://prometheus.io/docs/alerting/latest/configuration/

Kind regards,
Christian
Reply all
Reply to author
Forward
0 new messages