Skip to main content

Gnocchi storage plugin for collectd

Project description

https://img.shields.io/pypi/v/collectd-gnocchi.svg https://img.shields.io/pypi/dm/collectd-gnocchi.svg

This is an output plugin for collectd that send metrics to Gnocchi. It will create a resource type named _collectd_ (by default) and a new resource for each of the host monitored.

Each host will have a list of metrics created dynamically using the following name convention:

plugin-plugin_instance/type-type_instance-value_number

In order for the metric to be created correctly, be sure that you have matching archive policies rules.

Installation

This is a regular Python package that you can install via PyPI using:

pip install collectd-gnocchi

Or from sources using:

pip install .

In order to use this plugin you will need a server running the Gnocchi 3.1 or greater.

Configuration

Once installed, you need to enable it in your collectd.conf file this way:

<Plugin python>
  Import "collectd_gnocchi"
  <Module collectd_gnocchi>
     ## Without Keystone authentication
     # Endpoint "http://localhost:8041"
     # User admin

     ## With Keystone authentication
     # Auth_Mode keystone
     # AuthUrl http://keystoneurl
     # UserId admin
     # ProjectId admin
     # Password passw0rd
     # UserDomainName default
     # ProjectDomainName default
     # RegionName regionOne
     # Interface public
     # Endpoint http://localhost:8041 # if you want to override Keystone value

     ## Default resource type created by the plugin in Gnocchi
     ## to store hosts
     # ResourceType collectd

     ## Minimum number of values to batch
     # BatchSize 10
  </Module>
</Plugin>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collectd-gnocchi-1.1.1.tar.gz (18.2 kB view details)

Uploaded Source

File details

Details for the file collectd-gnocchi-1.1.1.tar.gz.

File metadata

File hashes

Hashes for collectd-gnocchi-1.1.1.tar.gz
Algorithm Hash digest
SHA256 79eee5d30096b092edfd078855ad334c57ea54601392938588f44c677b506f85
MD5 839f5bacafd7a7466ab5074c9f4db136
BLAKE2b-256 3b8d0a3e648b179f4450b5674c7838f16fda0587a9063c36eedb71521a2718ce

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page