Gnocchi storage plugin for collectd
Project description
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" # UserId admin # ProjectId admin # Roles admin ## With Keystone authentication # 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file collectd-gnocchi-1.0.0.tar.gz
.
File metadata
- Download URL: collectd-gnocchi-1.0.0.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 964c76d7f017af24468de8c7aa9ab5f48fa524e68fdc2ff28822a13bc3fd2ac6 |
|
MD5 | ea643fcfab89bacd6fdde67c53646ccf |
|
BLAKE2b-256 | b0edc6721db7c98a543ec9a19fd26b272f9684febaeb8b22d5bdf1f351b5dd01 |