I am in the same boat trying to find a way for the same issue in my 
environment. Are you able to find a solution?


Thanks
Sandosh

On Tuesday, February 19, 2019 at 3:58:40 AM UTC-6 [email protected] wrote:

> Hello,
>
>   I'm new to prometheus and alertmanager. I'm trying to find a way how
> to setup alertmanager to suppress (inhibit) alerts in network tree 
> structure
> at any level. Something like
>
>    - root switch
>       - host 1
>       - host 2
>       - level 1 switch 1
>       - host 3
>          - host 4
>          - level 2 switch
>             - host 5
>          - level 1 switch 2
>          - host 6
>       
> I want to receive only notification about root switch if it fails (no 
> other host/switch).
> I want to receive only notification about level 1 switch 1 (and no host 
> 3-5 or level 2 switch).
> and so on.
>
> What is the best way? I was thinking about using some prefix form in label
> net (e.g.
> net: root
> net: root_host1,
> net: root_lev2sw
> net: root_lev2sw_host5,
> but I find no way how to use source label in target match. I do not want 
> to write
> static inhibit rule for every switch node.
>
> Thank you for any hint,
>
> Luf
>

-- 
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/2b25dfdd-1d8b-4643-8afb-bb26df8074ddn%40googlegroups.com.

Reply via email to