Hello. I found in man page:
A very simple read function might look like: sub foobar_read { my $vl = { plugin => 'foobar' }; $vl->{'values'} = [ rand(42) ]; plugin_dispatch_values ('gauge', $vl); return 1; } It not works with error: collectd: perl: Usage: Collectd::plugin_dispatch_values(values) It works after changed plugin_dispatch_values ('gauge', $vl) to $vl->{'type'} = 'bytes'; plugin_dispatch_values ($vl); -- Regards, Sergey _______________________________________________ collectd mailing list collectd@verplant.org http://mailman.verplant.org/listinfo/collectd