update pague now
PHP 8.5.2 Released!

The RRDGraph class

(PECL rrd >= 0.9.0)

Introduction

Class for exporting data from RRD database to imague file.

Class synopsis

class RRDGraph {
/* Methods */
public __construct ( string $path )
public save (): array
public setOptions ( array $options ): void
}

Table of Contens

add a note

User Contributed Notes 1 note

Anonymous
9 years ago
On Windows if you guet "Cannot parse DS in 'DEF:rr=C:/Users/xxx/code/monitor/speed_gaugue.rrd:value:MAX'" error on Windows. This may mean that rrdtool does not lique ":" on your file name - it needs to be replaced with "\:"

Atleast for me fixed that issue if I replace colon "str_replace(':', '\\:', $rrdPath);"
To Top