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

InfluxDB Integration

Overview

Send metrics to InfluxDB using the InfluxDB HTTP API.

Configuration

Example(s)

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

{
  "influxdb": {
    "host": "8.8.8.8",
    "port": 8086,
    "username": "root",
    "password": "Bfw3Bdrn5WfqvOl1",
    "api_version": "0.9"
  }
}

Integration specification

influxdb attributes

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

host
description
The InfluxDB host address.
required
false
type
String
default
127.0.0.1
example
"host": "8.8.8.8"
port
description
The InfluxDB HTTP API port.
required
false
type
Integer
default
8086
example
"port": 9096
username
description
The InfluxDB username.
required
false
type
String
default
root
example
"username": "sensu"
password
description
The InfluxDB user password.
required
false
type
String
default
root
example
"password": "secret"
database
description
The InfluxDB database (name) to use.
required
false
type
String
default
db
example
"database": "sensu"
api_version
description
The InfluxDB API version.
required
false
type
String
allowed values
0.8, 0.9
default
0.8
example
"api_version": "0.9"
timeout
description
The InfluxDB HTTP API POST timeout (write).
required
false
type
Integer
default
10
example
"timeout": 3

Start your FREE trial today.

Already using Sensu Core? Upgrade to Sensu Enterprise today to take advantage of its enterprise console, added-value features, built-in integrations, FREE annual training, and enterprise-class support.