- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::rrd::DataSource
::rrd::DataSource create ... \
[ -baseResolution baseResolution ] \
[ -name name ] \
[ -rrdFile rrdFile ] \
[ -type (default "DERIVE") ]
Defined in packages/rrd-tool/tcl/rrd-procs.tcl
Class Relations
::nx::Class create ::rrd::DataSource \ -superclass ::nx::ObjectMethods (to be applied on instances)
deleteRRD (scripted, public)
<instance of rrd::DataSource> deleteRRD
- Testcases:
- No testcase defined.
if {[file exists ${:rrdFile}]} { file delete ${:rrdFile} }lastupdate (scripted, public)
<instance of rrd::DataSource> lastupdate
- Testcases:
- No testcase defined.
return [Rrd::lastupdate ${:rrdFile}]requireRRD (scripted, public)
<instance of rrd::DataSource> requireRRD
- Testcases:
- No testcase defined.
if {![file exists ${:rrdFile}]} { :createRRDfile }update (scripted, public)
<instance of rrd::DataSource> update [ -timestamp timestamp ] \ value
- Switches:
- -timestamp (optional, defaults to
"N"
)- Parameters:
- value (required)
- Testcases:
- No testcase defined.
ns_log notice "Rrd::update ${:rrdFile} ${timestamp}:$value" Rrd::update ${:rrdFile} ${timestamp}:$value
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables