RRDCreator
PHP Manual

RRDCreator::addDataSource

(PECL rrd >= 0.9.0)

RRDCreator::addDataSourceAdds data source definition for RRD database.

Beschreibung

public void RRDCreator::addDataSource ( string $description )

RRD can accept input from several data sources (DS), e.g incoming and outgoing traffic. This method adds data source by description. You need call this method for each data source.

Parameter-Liste

description

Definition of data source - DS. This has same format as DS definition in rrd create command. See man page of rrd create for more details.

Rückgabewerte

Es wird kein Wert zurückgegeben.


RRDCreator
PHP Manual