Object ::rrd::plugin::users (public)
::rrd::Plugin ::rrd::plugin::users
Defined in packages/rrd-tool/tcl/rrd-procs.tcl
- Testcases:
- No testcase defined.
Source code: namespace eval ::rrd::plugin {} ::nsf::object::alloc ::rrd::Plugin ::rrd::plugin::users {set :baseResolution 60 set :durations { "1 min" "1 day" "10 min" "8 days" "2 hours" "45 days" "1 day" "2 years" } set :name users set :rrdPath /var/www/openacs.org/www/rrd/localhost.localdomain_users set :rrdRoot /var/www/openacs.org/www/rrd/localhost.localdomain set :type GAUGE set :vars { anonymous authenticated }} ::rrd::plugin::users public object method update {} { set tm [throttle trend user_count_minutes] lassign [throttle users nr_users_time_window] ip auth :updateDataSource authenticated $auth :updateDataSource anonymous $ip } ::nsf::object::alloc ::rrd::DataSource ::rrd::plugin::users::authenticated {set :baseResolution 60 set :name authenticated set :rrdFile /var/www/openacs.org/www/rrd/localhost.localdomain_users_authenticated-d.rrd set :type GAUGE} ::nsf::object::alloc ::rrd::DataSource ::rrd::plugin::users::anonymous {set :baseResolution 60 set :name anonymous set :rrdFile /var/www/openacs.org/www/rrd/localhost.localdomain_users_anonymous-d.rrd set :type GAUGE}XQL Not present: Generic, PostgreSQL, Oracle