-
Notifications
You must be signed in to change notification settings - Fork 836
Closed
Description
These are two examples I've found of POSTing wrong input to /api/v1/alerts that results in Alertmanager returning 2XX and setting the config to an empty string:
- Wrong indentation of content
alertmanager_config: |
global:
smtp_smarthost: 'localhost:25'
smtp_from: '[email protected]'
route:
receiver: asdf
receivers:
- name: asdf
email_configs:
- to: '[email protected]'
- Invalid field name (note the typo in
aalertmanager_config)
aalertmanager_config: |
global:
smtp_smarthost: 'localhost:25'
smtp_from: '[email protected]'
route:
receiver: asdf
receivers:
- name: asdf
email_configs:
- to: '[email protected]'
Metadata
Metadata
Assignees
Labels
No labels