Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
docs
Commits
a45d74f1
Commit
a45d74f1
authored
Apr 28, 2017
by
Conor Broderick
Committed by
Brian Brazil
Apr 28, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added VictorOps configuration to docs (#724)
* Added VictorOps configuration to docs
parent
c7061931
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
1 deletion
+25
-1
configuration.md
content/docs/alerting/configuration.md
+25
-1
No files found.
content/docs/alerting/configuration.md
View file @
a45d74f1
...
...
@@ -369,7 +369,7 @@ channel: <tmpl_string>
# API request data as defined by the Slack webhook API.
[ color: <tmpl_string> | default = '{{ if eq .Status "firing" }}danger{{ else }}good{{ end }}' ]
[ username: <tmpl_string> | default = '{{ template "slack.default.username" . }}'
[ username: <tmpl_string> | default = '{{ template "slack.default.username" . }}'
]
[ title: <tmpl_string> | default = '{{ template "slack.default.title" . }}' ]
[ title_link: <tmpl_string> | default = '{{ template "slack.default.titlelink" . }}' ]
[ icon_emoji: <tmpl_string> ]
...
...
@@ -408,6 +408,30 @@ api_key: <string>
# Comma separated list of tags attached to the notifications.
[ tags: <tmpl_string> ]
```
## `<victor_ops_config>`
VictorOps notifications are sent out via the
[
VictorOps API
](
https://help.victorops.com/knowledge-base/victorops-restendpoint-integration/
)
```
# The API key to use when talking to the VictorOps API.
api_key: <string>
# The VictorOps API URL.
[ api_url: <string> | default = global.victor_ops_api_url ]
# A key used to map the alert to a team.
[ routing_key: <string> ]
# Describes the behavior of the alert (Critical, Acknowledgement, Info, Recovery).
[ message_type: <string> ]
# Contains explanation of the alerted problem.
[ state_message: <string> | default = '{{ template "victorops.default.state_message" . }}' ]
# The monitoring tool the state message is from.
[ monitoring_tool: <string> | default = '{{ template "victorops.default.monitoring_tool" . }}' ]
```
## `<webhook_config>`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment