projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
plugin: Introduced basic support for per-plugin intervals.
[collectd.git]
/
src
/
collectd-perl.pod
diff --git
a/src/collectd-perl.pod
b/src/collectd-perl.pod
index
6b44722
..
d5401dd
100644
(file)
--- a/
src/collectd-perl.pod
+++ b/
src/collectd-perl.pod
@@
-656,9
+656,9
@@
A very simple read function might look like:
sub foobar_read
{
- my $vl = { plugin => 'foobar' };
+ my $vl = { plugin => 'foobar'
, type => 'gauge'
};
$vl->{'values'} = [ rand(42) ];
- plugin_dispatch_values (
'gauge',
$vl);
+ plugin_dispatch_values ($vl);
return 1;
}