rochaporto / collectd-openstack

collectd plugins for openstack
GNU General Public License v2.0
18 stars 26 forks source link

Interval is not taken into account #23

Open conrad784 opened 5 years ago

conrad784 commented 5 years ago

I am currently running collectd plugins on the basis of your base.py

I am writing to the log what the interval is in the subclass and also when the config callback is executed. The read_callback will be initialized with the default interval, as the config is not yet read.

May 28 21:06:14 host collectd[23258]: plugin_load: plugin "python" successfully loaded.
May 28 21:06:14 host collectd[23258]: subclass_interval: 10.0
May 28 21:06:14 host collectd[23258]: reading config
May 28 21:06:14 host collectd[23258]: base_interval: 60.0

running collectd 5.7.1-1.1 on Debian 9

Seems like #11 is not solved, what could be a solution to this initialize the read callback after reading the config?