Skip to content

damaex17/whisper-to-influxDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

whisper-to-influxDB

script searches whisper files, reads them and creates datapoints in influxDB.

the script is a early proof of concept and might be using bulk commits or threading in the future. the performance is not mindblowing at the moment.

usage: whisper-to-influxdb.py [-h] [-host host] [-port port] [-user user]
                              [-password password] [-db db]
                              path

the script will parse the given path recursively and search for whisper files. the found whisper files are being read and None values are omitted.

influxDB naming:

OS path:

tmp/tracker-001/cpu.wsp
tmp/tracker-001/eth0_rx.wsp
tmp/tracker-001/rabbit_queue.wsp

script will commit to the database "whisper":

timeseries: tracker-001
value: cpu

timeseries: tracker-001
value: eth0_rx

timeseries: tracker-001
value: rabbit_queue

About

whisper-to-influxDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages