Menu

Tree [70c731] master /
 History

HTTPS access


File Date Author Commit
 CollectD_CSV 2013-05-19 Petteri Tolonen Petteri Tolonen [70c731] removed a debug print()
 bin 2012-08-17 Petteri Tolonen Petteri Tolonen [02dfab] Added license file and short copyright/license ...
 CHANGES.txt 2013-04-07 Petteri Tolonen Petteri Tolonen [c38be0] PyPI didn't like the updates.. had to try a few...
 LICENSE.txt 2012-08-17 Petteri Tolonen Petteri Tolonen [02dfab] Added license file and short copyright/license ...
 MANIFEST 2013-04-07 Petteri Tolonen Petteri Tolonen [58494f] see previous commit...
 README.txt 2012-08-17 Petteri Tolonen Petteri Tolonen [02dfab] Added license file and short copyright/license ...
 setup.py 2013-04-07 Petteri Tolonen Petteri Tolonen [c38be0] PyPI didn't like the updates.. had to try a few...

Read Me

============
CollectD-CSV
============

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.


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.