Skip to content
/ RRDReST Public
forked from tbotnz/RRDReST

Converts RRD Files to a easy to consume ReST API

Notifications You must be signed in to change notification settings

nmanzi/RRDReST

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RRDReST

simple micro service for converting your RRD's to web services

rrdReST

getting started

  • ensure you have rrdtool installed and you can access the rrd files from the server
  • git clone the project git clone https://github.com/tbotnz/RRDReST && cd RRDReST
  • install the requirements pip3 install -r requirements.txt
  • run the app with uvicorn uvicorn rrdrest:rrd_rest --host "0.0.0.0" --port 9000
  • access the swagger documentation via http://127.0.0.1:9000/docs

examples

  • last 24 hours curl 127.0.0.1:9000/?rrd_path=tests/port-id15.rrd
  • epoch date time filter curl 127.0.0.1:9000/?rrd_path=tests/port-id15.rrd&epoch_start_time=1622109000&epoch_end_time=1624787400
  • epoch date filter with daily step curl 127.0.0.1:9000/?rrd_path=tests/port-id15.rrd&epoch_start_time=1630425600&epoch_end_time=1633017600&step=86400

rrdtool

  • tested with version 1.7

About

Converts RRD Files to a easy to consume ReST API

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%