I am using prometheus operator

[root@ansible-node prometheus-operator-qa-lab-final]# kubectl get pods -n 
ns-prometheus-lab
NAME                                                      READY   STATUS    
RESTARTS   AGE
alertmanager-prometheus-operator-alertmanager-0           2/2     Running  
 0          21m
alertmanager-prometheus-operator-alertmanager-1           2/2     Running  
 0          21m
alertmanager-prometheus-operator-alertmanager-2           2/2     Running  
 0          21m
prometheus-operator-kube-state-metrics-74f47948f9-x2fbd   1/1     Running  
 0          22m
prometheus-operator-operator-9944b44f8-tc886              2/2     Running  
 0          22m
prometheus-operator-prometheus-node-exporter-5hf8r        1/1     Running  
 0          22m
prometheus-operator-prometheus-node-exporter-7w59x        1/1     Running  
 0          22m
prometheus-operator-prometheus-node-exporter-98fc9        1/1     Running  
 0          22m
prometheus-operator-prometheus-node-exporter-q7gl9        1/1     Running  
 0          22m
prometheus-operator-prometheus-node-exporter-wh2ml        1/1     Running  
 0          22m
prometheus-prometheus-operator-prometheus-0               3/3     Running  
 0          21m
[root@ansible-node prometheus-operator-qa-lab-final]#




On Wednesday, 29 July 2020 15:49:06 UTC+8, Nabarun Sen wrote:
>
> Hi All,
>
> I need a help as my alertmanager sending duplicate alert( for 1 alert 3 
> notification) to webhook receiver when we set alertmanager replica to 3 but 
> when I put alertmanager replica 1 it is sending one notofication.
>
> Please let me know if anyone faced similar issue.
>
>
> Alertmanager configuration:
>
> global:
>   resolve_timeout: 5m
> route:
>   receiver: 'webhook_receiver'
>   group_wait: 30s
>   group_interval: 10h
>   repeat_interval: 24h
>   routes:
>   - receiver: 'webhook_receiver'
>     match_re:
>       alertname: NodedownAlert|ServiceDown
>     group_wait: 30s
>     group_interval: 10h
>     repeat_interval: 24h
>     group_by: ['description']
> receivers:
>   - name: webhook_receiver
>     webhook_configs:
>       - send_resolved: true
>         url: 
> http://prometheus-webhook.monitoring:8080/v1/webhook?group=operation
>
> templates:
>   - '/etc/alertmanager/config/notification.tmpl'
>
> Thanks
> Nabarun Sen
>
>

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/3c5571a7-0a88-4efb-ae8c-b836d782797ao%40googlegroups.com.

Reply via email to