<p>Trying to resend all firing alarms to webhook at a specific point in time due to webhook requirement for synchronisation.
Prometheus and alertmanager are deployed within a kubernetes cluster in gcp.</p>
<p>Any idea how to do this. The repeat_intervall is only resending one specific alert after 12h but need to send all of them at once.</p>
<p>find attached my alertmanager config</p>
<pre><code>  config:
    global:
      resolve_timeout: 5m
    route:
      group_by: ['job']
      group_wait: 30s
      group_interval: 5m
      repeat_interval: 12h
      receiver: 'null'
      routes:
      - match:
          alertname: Watchdog
        receiver: 'null'
      - match_re:
          severity: &quot;.*&quot;
        receiver: 'webhook-prod1'
        continue: true
      - match_re:
          severity: &quot;.*&quot;
        receiver: 'webhook-prod2'
    receivers:
    - name: 'null'
    - name: 'webhook-prod1'
      webhook_configs:
      - send_resolved: true
        url: 'http://xx.xx.xx.xx:9090/probe/webhook/prometheus/'
        http_config:
          basic_auth:
            username: &quot;username&quot;
            password: &lt;secret&gt;
    - name: 'webhook-prod2'
      webhook_configs:
      - send_resolved: true
        url: 'http://xx.xx.xx.xx:9090/probe/webhook/prometheus/'
        http_config:
          basic_auth:
            username: &quot;username&quot;
            password: &lt;secret&gt;
    templates:
    - '/etc/alertmanager/config/*.tmpl'
</code></pre>

enceladus2022
<p>Looks like there's no such configuration in alertmanager for now.</p>
<p>Instead you could <strong>call the alertmanager api to fetch all currently firing alerts</strong> at a specific point in time in your webhook system, the same way as <code>amtool</code> does.</p>
<p>The swagger openapi docs is as follows:</p>
<p><a href="https://petstore.swagger.io/?url=https://raw.githubusercontent.com/prometheus/alertmanager/main/api/v2/openapi.yaml#/alert/getAlerts" rel="nofollow noreferrer">Alertmanager API</a></p>
