Hi All ,

I am badly stuck in a problem .
One main thing is that .. alert manager sends resolve notification on its 
own but the alert is still active.
I want to disable this feature. I want "resolved " alert to be sent only 
when alert is really resolved.

Below is my alert manager configuration

apiVersion: v1
data:
  alertmanager.yml: |
    global:
      resolve_timeout: 12h
      slack_api_url: 
https://hooks.slack.com/services/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
    receivers:
    - name: alertnow
      slack_configs:
      - channel: '#stage_dict_app_events_and_alerts'
        send_resolved: true
        text: |-
          {{ range .Alerts }}
             *Alert:* {{ .Annotations.summary }} - `{{ .Labels.severity }}`
             *Description:* {{ .Annotations.description }}
             *Details:*
             {{ range .Labels.SortedPairs }} • *{{ .Name }}:* `{{ .Value }}`
             {{ end }}
            {{ end }}
        title: '[{{ .Status | toUpper }}{{ if eq .Status "firing" }}:{{ 
.Alerts.Firing
          | len }}{{ end }}] Cloud|Azure|Monitoring Event Notification'
      webhook_configs:
      - send_resolved: true
        url: 
https://alertnowitgr.sec-alertnow.com/integration/prometheus/v1/67a54ac114e9d111ea4860650ac112ba32eb
    route:
      group_by:
      - alertname
      - locale
      group_interval: 5m
      group_wait: 5m
      receiver: alertnow
      repeat_interval: 8h
kind: ConfigMap

Prometheus config : 

 prometheus.yaml.tmpl: |
    global:
      evaluation_interval: 1m
      external_labels:
        region: EastUS
        replica: $(POD_NAME)
        tier: stg
      scrape_interval: 1m
      scrape_timeout: 10s


Please help 

-- 
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/9a6ae21c-3b79-4e1d-8c91-a2fd007332e9%40googlegroups.com.

Reply via email to