Stats

113 Contributors: 2
2016-09-30
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook

Notifications: Overview

Download bosun eBook

Syntax

  • 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
  • }

Remarks

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:

Related Examples