Rollbar
ENTERPRISE: Built-in integrations are available for Sensu Enterprise
users only.
Overview
Create and resolve Rollbar messages/items for Sensu events.
Configuration
Example(s)
The following is an example global configuration for the rollbar
enterprise
event handler (integration).
{
"rollbar": {
"access_token_read": "2ae6bccccf534b9c8749a4327671e711",
"access_token_write": "944872fdbfba40c48305fc8cd73707b5",
"access_token_patch": "f34948101a714661a83dcd8dbe6a167a",
"timeout": 30
}
}
Integration Specification
rollbar
attributes
The following attributes are configured within the {"rollbar": {} }
configuration scope.
access_token_read |
|
description |
The Rollbar access token for read operations. |
required |
true |
type |
String |
example |
"access_token_read": "2ae6bccccf534b9c8749a4327671e711"
|
access_token_write |
|
description |
The Rollbar access token for write operations. |
required |
true |
type |
String |
example |
"access_token_write": "944872fdbfba40c48305fc8cd73707b5"
|
access_token_patch |
|
description |
The Rollbar access token for patch operations. |
required |
true |
type |
String |
example |
"access_token_patch": "f34948101a714661a83dcd8dbe6a167a"
|
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"
|
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 |
|