photogabble/php-rrd-tool

RRDTool Helper methods

1.0.0 2018-08-17 15:12 UTC

This package is auto-updated.

Last update: 2024-04-07 14:42:58 UTC


README

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