Hi Team,
I am encountering below issue. Appreciate if any one responds. 
consider 1st service is down ..our alertmanager is triggers  the alert 
...when 2nd service is down after 10 minutes ..that time it triggering both 
1st service and 2nd service alerts ...1st service alert already triggered 
so  we don't want 1st service alert to repeat.

Below is alert manager configuration file:

global:
  resolve_timeout: 30s
route:
  receiver: 'email_receiver_dummy'
  group_wait: 360h
  group_interval: 480h
  repeat_interval: 480h
  group_by: ['alertname']
  routes:
  - receiver: 'email_receiver'
    match_re:
      alertname: 
mssql-cluster-down|NodedownAlert|ServiceDown|Service-Down|mssql-secondary-node-down|mssql-primary-node-down|Mongoservicedegraded|Mongoservicedown|gfsdown|gfs-master1-down|gfs-master2-down|gfs-master3-down|Servicedegrade|Service-Degrade
    group_wait: 30s
    group_interval: 5m
    repeat_interval: 24h
    group_by: ['alertname']
    continue: true
  - receiver: 'webhook_receiver'
    match_re:
      alertname: 
mssql-cluster-down|NodedownAlert|ServiceDown|Service-Down|mssql-secondary-node-down|mssql-primary-node-down|Mongoservicedegraded|Mongoservicedown|gfsdown|gfs-master1-down|gfs-master2-down|gfs-master3-down|Servicedegrade|Service-Degrade
    group_wait: 30s
    group_interval: 5m
    repeat_interval: 24h
    group_by: ['alertname']


receivers:
  - name: email_receiver_dummy
    email_configs:
      - smarthost: xxxxxx:25
        auth_username: xxxxx
        auth_password: yyyyyy
        require_tls: true
        to: [email protected]
        from: [email protected]
        html: '{{ template "__email_text_list" . }}'
        headers:
          subject: '{{ template "_email_subject" . }}'
  - name: email_receiver
    email_configs:
      - smarthost: xxxxxxxxxxxxxx:25
        auth_username: xxxxxxxxxxxxx
        auth_password: xxxxxxxxxxxxxxxxxx
        require_tls: true
        to: xxxxxxxxxxxxxxxxxxxx@org
#        to: xxxxxxxxxxxxxxxxxxxx@org
        from: xxxxxxxxxxxxxxxxxxxx@org
        html: '{{ template "__email_text_list" . }}'
        headers:
          subject: '{{ template "_email_subject" . }}'
  - name: webhook_receiver
    webhook_configs:
      - send_resolved: false
        url: 
http://prometheus-webhook.ns-prometheus-mgmt:8080/v1/webhook?group=operation

templates:
  - '/etc/alertmanager/config/notification.tmpl'




-- 
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/3ef22e09-89da-4ad9-b4ec-787f285221cbn%40googlegroups.com.

Reply via email to