RRDUpdater::update

Update the RRD database file

&reftitle.description; public `bool` `RRDUpdater::update` `array` `values` `string` `time` time()

Updates the RRD file defined via `RRDUpdater::__construct`. The file is updated with a specific values.

&reftitle.parameters;

`values`

- Data for update. Key is data source name.

`time`

- Time value for updating the RRD with a particulat data. Default value is current time.

&reftitle.returnvalues;

&return.success;

&reftitle.errors;

Throws a `Exception` on error.

&reftitle.examples;

### `RRDUpdater::update` examples

    <?php
    $updator = new RRDUpdater("speed.rrd");
    //updates the data source "speed" with value "12411"
    //for time defined by timestamp "920807700"
    $updator->update(array("speed" => "12411"), "920807700");
    ?>