CoderCruise

La classe RRDGraph

(PECL rrd >= 0.9.0)

Introduction

Classe pour exporter les données depuis une base de données RRD vers un fichier image.

Synopsis de la classe

RRDGraph {
/* Méthodes */
public __construct ( string $path )
public array save ( void )
public array saveVerbose ( void )
public void setOptions ( array $options )
}

Sommaire

add a note add a note

User Contributed Notes 1 note

up
0
Anonymous
6 days ago
On Windows if you get "Cannot parse DS in 'DEF:rr=C:/Users/xxx/code/monitor/speed_gauge.rrd:value:MAX'" error on Windows. This may mean that rrdtool does not like ":" 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