@@ -369,7 +369,7 @@ channel: <tmpl_string>
369
369
370
370
# API request data as defined by the Slack webhook API.
371
371
[ color: <tmpl_string> | default = '{{ if eq .Status "firing" }}danger{{ else }}good{{ end }}' ]
372
- [ username: <tmpl_string> | default = '{{ template "slack.default.username" . }}'
372
+ [ username: <tmpl_string> | default = '{{ template "slack.default.username" . }}' ]
373
373
[ title: <tmpl_string> | default = '{{ template "slack.default.title" . }}' ]
374
374
[ title_link: <tmpl_string> | default = '{{ template "slack.default.titlelink" . }}' ]
375
375
[ icon_emoji: <tmpl_string> ]
@@ -408,6 +408,30 @@ api_key: <string>
408
408
# Comma separated list of tags attached to the notifications.
409
409
[ tags: <tmpl_string> ]
410
410
```
411
+ ## ` <victor_ops_config> `
412
+
413
+ VictorOps notifications are sent out via the [ VictorOps API] ( https://help.victorops.com/knowledge-base/victorops-restendpoint-integration/ )
414
+
415
+ ```
416
+ # The API key to use when talking to the VictorOps API.
417
+ api_key: <string>
418
+
419
+ # The VictorOps API URL.
420
+ [ api_url: <string> | default = global.victor_ops_api_url ]
421
+
422
+ # A key used to map the alert to a team.
423
+ [ routing_key: <string> ]
424
+
425
+ # Describes the behavior of the alert (Critical, Acknowledgement, Info, Recovery).
426
+ [ message_type: <string> ]
427
+
428
+ # Contains explanation of the alerted problem.
429
+ [ state_message: <string> | default = '{{ template "victorops.default.state_message" . }}' ]
430
+
431
+ # The monitoring tool the state message is from.
432
+ [ monitoring_tool: <string> | default = '{{ template "victorops.default.monitoring_tool" . }}' ]
433
+
434
+ ```
411
435
412
436
413
437
## ` <webhook_config> `
0 commit comments