Fetch CollectD CSV data matching the given parameters.
Project description
CollectD-CSV is a tool for fetching CollectD CSV data from a directory. The wanted measurements can be specified by giving a time interval and regular expressions matching the end of the path without the datestamp. The fetched data can be saved into files or returned as a list. Typical usage often 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.
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-csv-0.4.tar.gz
(6.5 kB
view details)
File details
Details for the file collectd-csv-0.4.tar.gz
.
File metadata
- Download URL: collectd-csv-0.4.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b2f2418997a8cd1855c9c00132aef915db2d823140a78b73fd07b70a2d4830f |
|
MD5 | c4679cac1d87bc42f6807e70cf96f052 |
|
BLAKE2b-256 | 4b036dd077f22c0d434f46e1304d11dd5707c1f682e4246026f33d3fbc54ed87 |