这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/notifications.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Action notifications are a little different than alert notifications. They are r
- `{{.Message}}` is the message they entered.
- `{{.ActionType}}` is the type of action.

If multiple actions are performed at once, they are grouped together by default. You can disable this, and send a notification for each individual alert key by setting `geoupActions = false` in the notification. You can get the first incident from `States` with `{{$first := index .States 0}}` if this is the case.
If multiple actions are performed at once, they are grouped together by default. You can disable this, and send a notification for each individual alert key by setting `groupActions = false` in the notification. You can get the first incident from `States` with `{{$first := index .States 0}}` if this is the case.

You can choose whether a notification sends action notifications or not on a per-action basis using the `runOnActions` key. You may set it to `all` or `none`, or to any comma separated list of action types from `Ack`, `Close`, `Forget`, `ForceClose`, `Purge`, `Note`, `DelayedClose`, or `CancelClose`.

Expand Down Expand Up @@ -169,7 +169,7 @@ notification slack {

## Unknown Notifications

When an alert goes "unknown", it will send a special notification to let you know. Similar to actions, these notifications are rendered on-demand, with a special context. Bosun attempts to group these appropriately to reduce spam. The context has:
When an alert goes "unknown", it will send a special notification through `critNotification` to let you know. Similar to actions, these notifications are rendered on-demand, with a special context. Bosun attempts to group these appropriately to reduce spam. The context has:

- `{{.Time}}`, a timestamp of when the unknown event occurred.
- `{{.Name}}`, bosun's description of the tags or alert name for the grouping.
Expand Down