writeRRD(self,
devId,
compType,
compId,
dpName,
value)
| source code
|
Write the given data to its RRD file. Also check any thresholds and
send events if value is out of bounds. Note that if the write does not
succeed, a None value is returned.
- Parameters:
devId (string) - device name (as known by DMD)
compType (string) - component type (found in objects meta_type field)
compId (string) - name of the component
dpName (string) - name of the data point
value (number) - performance metric to store
- Returns: number or None
- valid value (ie long or float) or None
|