- notification name {
- email = dev-alerts@example.com, prod-alerts@example.com, ...
- post = http://example.com
- get = http://example.com
- next = another-notification-definition
- timeout = 30m
- runOnActions = false
- body = {"text": {{.|json}}}
- contentType = application/json
- print = true
- }
In Bosun notifications are used for both new alert incidents and when an alert is acked/closed/etc. If you don't want the other events to trigger a notification add runOnActions = false
to the notification definition.
See also: