while Integrating Prometheus with Splunk,
- name: 'splunk-webhook' # Adding Splunk Webhook
webhook_configs:
- url: 'http://glchbs-st1001.eu.org.net:8088/services/collector'
send_resolved: true
http_config:
basic_auth:
username: x
password: 2etr5t549d43-d2d0-417e-ver7-1234569a2f9a2
- name: 'splunk-webhook'
webhook_configs:
- url:
'http://prometheus-alertmanager-splunkbot.isdt-sbxprom.svc.cluster.local:44553/alerts'
send_resolved: true
i am getting...
2024-02-23T05:51:13.408Z caller=dispatch.go:515 level=debug
component=dispatcher
aggrGroup="{}/{severity=~\"^(?:critical|Critical|info|Critica)$\"}:{alertname=\"TEST\",
namespace=\"isdt-sbxtest\"}" msg=flushing alerts=[TEST[e6f0eaf][active]]
2024-02-23T05:51:13.408Z caller=dispatch.go:515 level=debug
component=dispatcher
aggrGroup="{}/{severity=~\"^(?:critical|Critical|info|Critica)$\"}:{alertname=\"TEST\",
namespace=\"isdt-sbxtest\"}" msg=flushing alerts=[TEST[e6f0eaf][active]]
2024-02-23T05:51:13.420Z caller=dispatch.go:352 level=error
component=dispatcher msg="Notify for alerts failed" num_alerts=1
err="splunk-webhook/webhook[0]: notify retry canceled due to unrecoverable
error after 1 attempts: unexpected status code 401:
http://glchbs-st21234.eu.org.net:8088/services/collector:
<http://glchbs-st220018.eu.novartis.net:8088/services/collector:>
{\"text\":\"Invalid authorization\",\"code\":3}"
--
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/79154abd-3182-4b4e-a120-6a28953b93e5n%40googlegroups.com.