VictorOps

ENTERPRISE: Built-in integrations are available for Sensu Enterprise users only.

Overview

Create VictorOps messages for events.

Configuration

Example(s)

The following is an example global configuration for the victorops enterprise event handler (integration).

{
  "victorops": {
    "api_key": "a53265cd-d2ef-fa32-fc54de52659a",
    "routing_key": "everyone",
    "timeout": 10,
    "filters": [
      "handle_when",
      "check_dependencies"
    ],
    "severities": [
      "critical",
      "unknown"
    ],
    "http_proxy": "http://192.168.250.11:3128"
  }
}

Minimum required attributes

{
  "victorops": {
    "api_key": "a53265cd-d2ef-fa32-fc54de52659a"
  }
}

Integration Specification

victorops attributes

The following attributes are configured within the {"victorops": {} } configuration scope.

api_key
description The VictorOps api key to use when creating messages.
required true
type String
example
"api_key": "a53265cd-d2ef-fa32-fc54de52659a"
routing_key
description The VictorOps routing key to decide what team(s) to send alerts to.
required false
type String
default everyone
example
"routing_key": "ops"
filters
description An array of Sensu event filters (names) to use when filtering events for the handler. Each array item must be a string. Specified filters are merged with default values.
required false
type Array
default
["handle_when", "check_dependencies"]
example
"filters": ["recurrence", "production"]
severities
description An array of check result severities the handler will handle. NOTE: event resolution bypasses this filtering.
required false
type Array
allowed values ok, warning, critical, unknown
default
["warning", "critical", "unknown"]
example
 "severities": ["critical", "unknown"]
timeout
description The handler execution duration timeout in seconds (hard stop).
required false
type Integer
default 10
example
"timeout": 30
http_proxy
description The URL of a proxy to be used for HTTP requests.
required false
type String
example
"http_proxy": "http://192.168.250.11:3128"