Re: [prometheus-users] How do I set the maintenance cycle

2020-12-15 Thread Laurent Dumont
If you are coming from a Zabbix world, there is no equivalent maintenance mechanic in Prometheus. Most of the service assurance/service mapping is not part of the Prometheus stack. Silences are only active between X and Y and will expire after Y. They cannot repeat so you'll need some kind of exte

Re: [prometheus-users] How do I set the maintenance cycle

2020-12-15 Thread Julien Pivotto
On 14 Dec 19:39, zhengwei y wrote: > Does this mean That I have to maintain a timer task to create and delete > the corresponding silence rules every day ? For the moment yes, but we expect to have that kind of features available directly in alertmanager soon (time windows). > > 在2020年12月14日

Re: [prometheus-users] How do I set the maintenance cycle

2020-12-15 Thread Christian Hoffmann
On 2020-12-15 04:39, zhengwei y wrote: Does this mean That I have to maintain a timer task to create and delete the corresponding silence rules every day ? That would be one possibility. This could also be automated using cron or something. We chose a different approach and solve that on the

Re: [prometheus-users] How do I set the maintenance cycle

2020-12-14 Thread zhengwei y
Does this mean That I have to maintain a timer task to create and delete the corresponding silence rules every day ? 在2020年12月14日星期一 UTC+8 下午6:29:38 写道: > On 2020-12-14 10:25, zhengwei y wrote: > > How do I set the maintenance cycle ? such as silence all alarms from > > 0:00 to 1:00 am every da

Re: [prometheus-users] How do I set the maintenance cycle

2020-12-14 Thread Stuart Clark
On 2020-12-14 10:25, zhengwei y wrote: How do I set the maintenance cycle ? such as silence all alarms from 0:00 to 1:00 am every day? You can create silences in advance & there is an API to create them automaticlly. -- Stuart Clark -- You received this message because you are subscribed t

[prometheus-users] How do I set the maintenance cycle

2020-12-14 Thread zhengwei y
How do I set the maintenance cycle ? such as silence all alarms from 0:00 to 1:00 am every day? -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-