I also have another receiver to send the email,
Why I did not get the email?
Assistant
The log entry you provided is from a Prometheus Alertmanager (or a compatible alert manager) indicating that it attempted to send a notification to a webhook but failed to connect.
ts=2025-07-22T07:58:56.578Z
The timestamp when the log entry was generated (July 22, 2025, at 07:58:56 UTC).
caller=notify.go:848
Indicates the source code file and line number in the Alertmanager code where this log was generated.
level=warn
The severity level of the log message; a warning here.
component=dispatcher
The part of Alertmanager responsible for dispatching notifications.
receiver=alert-hook
The name of the Alertmanager receiver configured in alertmanager.yml.
integration=webhook[0]
This shows the type of integration used for notification; in this case, it's the first webhook configuration.
aggrGroup
Grouping expression of alerts based on labels (here, filtering/severity labels).
msg="Notify attempt failed, will retry later"
The main message telling that the notification attempt failed but it will retry.
attempts=1
This was the first attempt to send the notification.
err="Post "": dial tcp 10.52.23.104:3443: connect: connection refused"
The error encountered when trying to send the notification: connection refused when trying to POST to the webhook URL at IP 10.52.23.104 on port 3443.
What does this mean?
Alertmanager tried to send an alert to the configured webhook endpoint at 10.52.23.104:3443.
The connection was refused, which typically means:
There is no service listening on port 3443 on 10.52.23.104.
The service is down or unreachable.
A firewall or network rule is blocking the connection.
The webhook URL or port might be incorrect.
Next steps to resolve:
Verify the webhook service
Check if the service listening on 10.52.23.104:3443 is running and correctly configured.
Check network connectivity
Run a network test (e.g., telnet 10.52.23.104 3443 or nc -zv 10.52.23.104 3443) from the Alertmanager host to see if port 3443 is reachable.
Check configuration
Verify the webhook URL and port in your Alertmanager configuration (alertmanager.yml) to ensure it's correct.
Check firewall/security groups
Ensure no firewall or network security settings are preventing access to port 3443 on the target host.
Restart or fix the webhook service
If the service is down, restart it or troubleshoot any issues on that server.
If you provide the relevant snippet of alertmanager.yml or information about the webhook service, I can help further with debugging or configuration.
Thanks for sharing the route configuration snippet. Based on this and your initial log about the alert-hook webhook failing with connection refused, let's analyze why you may not be receiving the email you expect.
The root route sends any alerts by default to default receiver.
Three nested routes match alerts by regex on either severity or alertname. The "continue: true" in each route means Alertmanager will keep processing subsequent sibling routes after sending notifications via the matched route.
Where might the problem be?
No route matching your email receiver for the alert in question?
You mention you have a receiver that sends email (I assume this is the dbs-email receiver).
The dbs-email route matches severity: warning|critical.
Your alert's severity is warning (from your original log's group label: {severity="warning"}), so it should match dbs-email.
Because continue: true, it moves on to send also to other matching routes (like alert-hook webhook).
Possible reasons emails are not sent:
a) The alert actually does not match the dbs-email route?
Make sure that severity label is set correctly and exactly matching warning or critical in the alert payload.
Regex is case sensitive. If your alert's severity label is e.g., Warning (capital W) instead of warning, it will not match.
Also, confirm the alert labels by checking Alertmanager UI or metrics: