Skip to main content

Read mdstat and output to line format

Project description

mdstat-influx

read mdstat and format for line messages

Includes a script mdstat-influx.py. When run, it outputs messages in a line format.

Example:

$ mdstat-influx.py
mdstat,device_name=md0,raid_level=raid5,hostname=tinfoil disks=3i,faulty_disks=0i,replacement_disks=0i,spare_disks=0i,faulty_pct=0.0
mdstat,device_name=md1,raid_level=raid5,hostname=tinfoil disks=3i,faulty_disks=0i,replacement_disks=0i,spare_disks=0i,faulty_pct=0.0

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

mdstat_influx-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file mdstat_influx-0.1.0.tar.gz.

File metadata

  • Download URL: mdstat_influx-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for mdstat_influx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 589de9148a9d788a22024b3df0fa3e7a2cd2087fee3413f9296957a2d4f97466
MD5 b49070ad4291c5d2f040ffc9d4a7daf3
BLAKE2b-256 85184e93b54cfb70bb721b2be50f373e0d5d294127691b9f0d7e6ef12a4a9e94

See more details on using hashes here.

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