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


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mdstat-influx, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size mdstat_influx-0.1.0.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page