Skip to main content

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.1.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file collectd-csv-0.1.tar.gz.

File metadata

  • Download URL: collectd-csv-0.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for collectd-csv-0.1.tar.gz
Algorithm Hash digest
SHA256 915ff3c4859dbf3d0036e2b8a0974957121881ad4e3a0ad1c5b1be18e155b2fa
MD5 2bbe5db0ee6209ae7919cdfabcf2ca3b
BLAKE2b-256 ad09116c5aa2f2250f51f85973c0a5be6f4b9660a2cff82aceaf625e75f183c3

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page