Collectd Swift Stat 0.0.2 | Coderz Repository

collectd-swift-stat 0.0.2

Last updated:

0 purchases

collectd-swift-stat 0.0.2 Image
collectd-swift-stat 0.0.2 Images

Free

Languages

Categories

Add to Cart

Description:

collectdswiftstat 0.0.2

Overview
This plugin uses the swift client in order to issue a swift stat against a
specific swift account.


Sample Graphs





Metrics

swift_stat/gauge-$PREFIX-bytes
swift_stat/gauge-$PREFIX-containers
swift_stat/gauge-$PREFIX-objects


$PREFIX will be the configured Prefix value in the plugin configuration in
collectd.conf


Install / Configuration

Assuming you have collectd installed already, append the following
plugin details to your collectd.conf config file. Adjust the
configuration items as you see fit. The plugin must be able to
subprocess the ceph and rados commands.
<LoadPlugin python>
Globals true
</LoadPlugin>

<Plugin python>
LogTraces true
Interactive false
Import "collectd_swift_stat"
<Module collectd_swift_stat>
Interval 30
Prefix "gnocchi"
User "gnocchi"
Password "xxxxxxxxxxxxxxxxxxxxxxxxx"
AuthURL "http://172.21.0.10:5000/v3"
AuthVersion "3.0"
Project "service"
</Module>
</Plugin>

Install plugin
[root@overcloud-controller-0 ~]# pip install collectd-swift-stat

Restart collectd
[root@overcloud-controller-0 ~]# systemctl restart collectd

View metrics on the configured Swift account in your TSDB



Resources

wiki.openstack.org/wiki/Swift
Collectd.org

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product: (if this is empty don't purchase this product)

Customer Reviews

There are no reviews.