global:
resolve_timeout: 1m
route:
receiver: custom
group_by:
- alertname
routes:
- receiver: custom
continue: true
group_wait: 1m
group_interval: 5m
repeat_interval: 1h
receivers:
- name: custom
webhook_configs:
- send_resolved: true
http_config:
bearer_token: 'Splunk kd34662b-78e7-4923-b211-b26dab08cc4f'
tls_config:
insecure_skip_verify: true
url: 'https://splunk1234:8088/services/collector'level=error ts=2019-11-21T21:26:49.534Z caller=notify.go:372 component=dispatcher msg="Error on notify" err="cancelling notify retry for \"webhook\" due to unrecoverable error: unexpected status code 401: http://splunk1234:8088/services/collector/event" context_err=null
receivers:
- name: custom
webhook_configs:
- send_resolved: true
http_config:
basic_auth:
username: x
password: kd34662b-78e7-4923-b211-b26dab08cc4f
tls_config:
insecure_skip_verify: true
url: 'https://splunk1234:8088/services/collector/'level=error ts=2019-11-22T16:40:49.552Z caller=notify.go:372 component=dispatcher msg="Error on notify" err="cancelling notify retry for \"webhook\" due to unrecoverable error: unexpected status code 404: https://splunk1234:8088/services/collector/" context_err=nullcurl -k -u "x:kd34662b-78e7-4923-b211-b26dab08cc4f" "https://splunk1234:8088/services/collector/event" \
-d '{"event": "hello world from prometheus1"} {"text": "Success", "code": 0}'> To unsubscribe from this group and stop receiving emails from it, send an email to promethe...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/79099ef3-fa2a-4c87-981d-d3d5051e92f3%40googlegroups.com.
receivers:
- name: custom
webhook_configs:
- send_resolved: true
http_config:
basic_auth:
username: x
password: kd34662b-78e7-4923-b211-b26dab08cc4f
tls_config:
insecure_skip_verify: truecurl -k -u "x:kd34662b-78e7-4923-b211-b26dab08cc4f" "https://splunk1234:8088/services/collector" \
-d '{"event": "hello world from prometheus"} {"text": "Success", "code": 0}'-d '{"event": "hello world from prometheus"} {"text": "Success", "code": 0}'