create_rrd(self,
interval,
data_sources)
Create a new RRD.
If an RRD of the same name already exists, it will be replaced with
the new one.
-
- Parameters:
interval -
Interval in seconds that data will be fed into the RRD
data_sources -
Nested sequence (e.g. List of tuples) of data sources (DS) to
store in the RRD. Each data source is passed in as: (name, type,
min_value, max_value). If you try to update a data source with a
value that is not within its accepted range, it will be ignored.
min_value and max_value can be replaced with a 'U' to accept
unlimited values.
|