Skip to main content

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.

Metadata

Release files for collectd-csv 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for collectd-csv 0.6.1
File Size Uploaded Provenance
collectd-csv-0.6.1.tar.gz 7.3 kB Without provenance Details

Release files / collectd-csv-0.6.1.tar.gz

Download URL collectd-csv-0.6.1.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
12e5169881401fabb6b7d640ff2e94d0ec8f905da112bfa2b72207b29c1316e0
BLAKE2b-256 checksum
How to use checksums
3733274109108542b7687ffc3a5c7b63090ee032e88f4b17dfca080fb1d30b88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for collectd-csv 0.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page