[collectd] Read callback return value
Oleg Rosowiecki
orosowiecki at gmail.com
Thu Nov 15 14:48:56 CET 2018
Hi,
Suppose I have a read callback that isn't able to collect its data within a
given interval (e.g. operation times out). Do I have to return a non-zero
value in this case? What does that mean to the collectd engine?
Simply returning zero and not dispatching any values at all (via
plugin_dispatch_values()) seems to do no harm. So I'm curious what the
difference is between returning a a non-zero value and not dispatching any
values.
Thanks,
Oleg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20181115/35d4d918/attachment.html>
More information about the collectd
mailing list