Skip to content

WIP: A collection of helper classes for working with rrdtool

License

Notifications You must be signed in to change notification settings

photogabble/php-rrd-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP RRDTool Helpers

Ease the creation and updating of rrdtools files

Latest Stable Version License

About this package

I wrote this library to help my understanding of how RRDTool commands work. It acts as a class based container that can easily be configured and then cast to a string to return the command line input.

It currently only contains a class representation of rrdcreate.

I am aware of the php-rrd extension and do use it in other contexts. However this library may be useful on systems where that extension isn't available but RRDTools is.

Install

Install this library with composer: composer require photogabble/php-rrd-tool.

Usage

Please see the tests for detailed example of usage.

Todo

  • Add class representation of rrdupdate
  • Add class representation of rrddump
  • Add class representation of rrdfetch
  • Add class representation of rrdfirst
  • Add class representation of rrdgraph
  • Add class representation of rrdinfo
  • Add class representation of rrdlast
  • Add class representation of rrdlastupdate
  • Add class representation of rrdresize
  • Add class representation of rrdrestore
  • Add class representation of rrdtune
  • Add class representation of rrdxport
  • Add missing specialized functions HWPREDICT, MHWPREDICT, etc

About

WIP: A collection of helper classes for working with rrdtool

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages