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 external mechanism to create and
delete the silences.

On Mon, Dec 14, 2020 at 10:39 PM zhengwei y <[email protected]> wrote:

> 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<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 to the Google Groups
> "Prometheus Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/7199b7bc-d681-4603-a01d-f20daad85ba6n%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/7199b7bc-d681-4603-a01d-f20daad85ba6n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAOAKi8yWh-%3D3xKz4QZE7Cwich6QeE5Z8z%3D5ig%3DRGGM9nGGJ5nA%40mail.gmail.com.

Reply via email to