- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::rrd::Plugin
::rrd::Plugin create ... \
[ -durations (default " "5 min" "2 days" "30 min" "9 days" "2 hours" "45 days" "1 day" "450 days" ") ] \
[ -name name ] \
[ -rrdPath rrdPath ] \
[ -rrdRoot (default "/var/lib/munin/localdomain/localhost.localdomain") ] \
[ -type (default "DERIVE") ] \
[ -vars vars ]
Defined in packages/rrd-tool/tcl/rrd-procs.tcl
Class Relations
::nx::Class create ::rrd::Plugin \ -superclass ::nx::ObjectMethods (to be applied on the object)
update (scripted, public)
rrd::Plugin update plugins
- Parameters:
- plugins (required)
- Testcases:
- No testcase defined.
foreach p $plugins { if {[info commands $p] eq ""} { ns_log warning "::rrd::Plugin: $p is not a command, ignore update" continue } $p update }Methods (to be applied on instances)
baseResolution (scripted, public)
<instance of rrd::Plugin> baseResolution
- Testcases:
- No testcase defined.
return ${:baseResolution}datasource (scripted, public)
<instance of rrd::Plugin> datasource varName
- Parameters:
- varName (required)
- Testcases:
- No testcase defined.
if {[info commands [self]::$varName] ne ""} { return [self]::$varName } else { error "no data source $varName exists for plugin ${:name}" }datasources (scripted, public)
<instance of rrd::Plugin> datasources
- Testcases:
- No testcase defined.
return [:info children -type ::rrd::DataSource]updateDataSource (scripted, public)
<instance of rrd::Plugin> updateDataSource varName value
- Parameters:
- varName (required)
- value (required)
- Testcases:
- No testcase defined.
[self]::$varName update $value
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables