I have deployed kube-prometheus v0.10.0 and argocd v2.3.1. Added below configuration to configure argocd with alertmanager.
In alertmanager.yaml:
receivers:
After doing all the configuration, when we are checking the logs of alert manager , it gives us the below error
level=error ts=2022-03-22T14:22:28.274Z caller=dispatch.go:354 component=dispatcher msg="Notify for alerts failed" num_alerts=3 err="argocd/webhook[0]: notify retry canceled due to unrecoverable error after 1 attempts: unexpected status code 404: http://10.43.20.153:9093/api/alerts/webhook"
Defined trigger and template also in argocd-notifications-cm.
I am not really knowing, Why am I getting 404 error?
Describe the bug
I have deployed kube-prometheus v0.10.0 and argocd v2.3.1. Added below configuration to configure argocd with alertmanager. In alertmanager.yaml: receivers:
In argocd-notification-cm.yaml: apiVersion: v1 kind: ConfigMap metadata: name: argocd-notifications-cm data: service.alertmanager: | targets:
After doing all the configuration, when we are checking the logs of alert manager , it gives us the below error
level=error ts=2022-03-22T14:22:28.274Z caller=dispatch.go:354 component=dispatcher msg="Notify for alerts failed" num_alerts=3 err="argocd/webhook[0]: notify retry canceled due to unrecoverable error after 1 attempts: unexpected status code 404: http://10.43.20.153:9093/api/alerts/webhook"
Defined trigger and template also in argocd-notifications-cm.
I am not really knowing, Why am I getting 404 error?