Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

Fetch collectd CSV data matching the given parameters.

Project Description

CollectD-CSV is a small project providing utilities for analyzing CollectD CSV data locally.

CollectD_CSV module provides functions for fetching data with a specified time interval and regular expressions matching the end of the path excluding the datestamp. The fetched data can be saved into files or returned as an ordered dictionary.

fetchCSV.py script can be used to fetch the data matching the given parameters and save to files in a specified directory.

monitorCSV.py script calculates the minimum, average and maximum values of specified resources on one host from the last XX minutes.

Typical usage of the module looks like this:

#!/usr/bin/env python

import CollectD_CSV
from collections import OrderedDict

regexps = ["myhost/load.*", "myotherhost/memory.*"]

#fetch the data into an ordered dictionary
resultdirct = CollectD_CSV.fetchData(123456789, 123498765, regexps,
                                     "/var/lib/collectd", destdir=None)

See more information about the usage in the comments of CollectD_CSV.py. For complete usage examples, see bin/fetchCSV.py and bin/monitorCSV.py. For help in using the scripts use the “-h” command line option.

Release history Release notifications

This version
History Node

0.6.1

History Node

0.6

History Node

0.5.2

History Node

0.5.1

History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
collectd-csv-0.6.1.tar.gz (7.3 kB) Copy SHA256 hash SHA256 Source None May 19, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page