Select Supported Platforms

Select Supported Architectures

Select Tier

Github Name

Asset Definition
Release Notes
Release Assets

Sensu InfluxDB Handler

The Sensu InfluxDB Handler is a Sensu Event Handler that sends metrics to
the time series database InfluxDB. Sensu can collect metrics using
check output metric extraction or the StatsD listener. Those collected metrics
pass through the event pipeline, allowing Sensu to deliver the metrics to the
configured metric event handlers. This InfluxDB handler will allow you to
store, instrument, and visualize the metric data from Sensu.


Download the latest version of the sensu-influxdb-handler from releases,
or create an executable script from this source.

From the local path of the sensu-influxdb-handler repository:

go build -o /usr/local/bin/sensu-influxdb-handler main.go


Example Sensu 2.x handler definition:

  "name": "influx-db",
  "type": "pipe",
  "command": "sensu-influxdb-handler --addr '' --username 'foo' --password 'bar' --db-name 'myDB'"

Example Sensu 2.x check definition:

  "name": "collect-metrics",
  "command": "",
  "interval": 10,
  "subscriptions": [
  "output_metric_format": "graphite_plaintext",
  "output_metric_handlers": [influx-db]

That's right, you can collect different types of metrics (ex. Graphite), Sensu
will extract and transform them, and this handler will populate them into your

Usage Examples


  sensu-influxdb-handler [flags]

  -a, --addr string       the address of the influx-db server
  -d, --db-name string    the influx-db to send metrics to
  -h, --help              help for handler-influx-db
  -p, --password string   the password for the given db
  -u, --username string   the username for the given db

Are you sure you want to report this asset?

Please describe the reason for reporting this asset. Our moderators will be notified and will disable the asset if it is found to be inappropriate.


You must be signed in to report this asset.

Sign In with Github



There are no asset definitions for this version, only source code:

Download Source Cancel