X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd-perl.pod;h=d5401dd4c7aac55bf1f08d8c5cf5ecbd0c9ff733;hb=d6021a800b12c89b5a78877af2c5b9abc1a8e609;hp=bacf8850f8443b5207b9287d1069018e0089cad5;hpb=3ea3b96ec7fe3e2f907bfe6e471d1eaf35b49eee;p=collectd.git diff --git a/src/collectd-perl.pod b/src/collectd-perl.pod index bacf8850..d5401dd4 100644 --- a/src/collectd-perl.pod +++ b/src/collectd-perl.pod @@ -400,23 +400,6 @@ argument has been specified, only named plugins will be flushed. The value of the B and B arguments may either be a string or a reference to an array of strings. -=item B (I, I) - -This is identical to using "plugin_flush (timeout =E I, plugins -=E I". - -B: Starting with version 4.5 of collectd, B has been -deprecated and will be removed in some future version of collectd. Use -B instead. - -=item B (I) - -This is identical to using "plugin_flush (timeout =E I)". - -B: Starting with version 4.5 of collectd, B has been -deprecated and will be removed in some future version of collectd. Use -B instead. - =item B (I) Submits a I to the daemon which will then pass it to all @@ -673,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; }