Actions
Feature #46775
closed
VT
VT
mgr/cephadm: Enhance AlertManagerSpec to allow adding additional webhook receiver URLs
Feature #46775:
mgr/cephadm: Enhance AlertManagerSpec to allow adding additional webhook receiver URLs
Status:
Resolved
Priority:
Normal
Assignee:
Category:
orchestrator
Target version:
Due date:
% Done:
0%
Tags (freeform):
Merge Commit:
Fixed In:
v16.0.0-4146-gc38309f0c2
Released In:
v16.2.0~1763
Upkeep Timestamp:
2025-07-14T19:35:00+00:00
Description
Add the ability to configure webhook receiver URLs for additional external webhooks. This enhancement will be as simple as possible, there are no plans to support all alertmanager configuration features. The implementation will consider a later expansion.
Example spec:
service_type: alertmanager service_id: xyz user_data: default_webhook_urls: - "https://foo" - "https://bar"
The alertmanager.yml file will now contain a 'default' receiver configuration where these additional URLs will be added. A second route will contain the already existing receiver configuration for the Dashboard.
The resulting alertmanager.yml file will look like:
# This file is generated by cephadm.
# See https://prometheus.io/docs/alerting/configuration/ for documentation.
global:
resolve_timeout: 5m
route:
receiver: 'default'
routes:
- group_by: ['alertname']
group_wait: 10s
group_interval: 10s
repeat_interval: 1h
receiver: 'ceph-dashboard'
receivers:
- name: 'default'
webhook_configs:
- url: 'https://foo'
- url: 'https://bar'
- name: 'ceph-dashboard'
webhook_configs:
- url: 'https://localhost:41211/api/prometheus_receiver'
VT Updated by Volker Theile over 6 years ago
- Status changed from New to Fix Under Review
- Pull request ID set to 36371
VT Updated by Volker Theile over 6 years ago
- Status changed from Fix Under Review to Resolved
LG Updated by Lenz Grimmer over 6 years ago
- Related to Feature #46666: cephadm: Introduce 'container' specification to deploy custom containers added
SW Updated by Sebastian Wagner over 6 years ago
- Target version changed from v16.0.0 to v15.2.5
UB Updated by Upkeep Bot over 1 year ago
- Merge Commit set to c38309f0c2f3421416c35ea5eab793426be39101
- Fixed In set to v16.0.0-4146-gc38309f0c2
- Released In set to v16.2.0~1763
- Upkeep Timestamp set to 2025-07-14T19:35:00+00:00
Actions