[collectd] Configure reporting interval on network plugin

Joel Serrano joel at gogii.net
Tue Feb 16 05:41:58 CET 2016


Hi everybody,

Going back to this, I have tried more combinations with no luck.

Has anyone successfully configured the network plugin in collectd to send
metrics every X seconds? (like 10 seconds).

I can't manage to figure out how to do it.

Thank you.

Best regards,
Joel.

On Thu, Feb 11, 2016 at 12:09 PM, Joel Serrano <joel at gogii.net> wrote:

> Hi everyone,
>
> We are using collectd to monitor servers and send the metrics via network
> protocol to a remote InfluxDB database.
>
> In version 5.4, it would report the metrics right away, in version 5.5,
> apparently collectd gathers the metrics and sends them all together after X
> interval (2-3 minutes).
>
> Is there a setting so that metrics are reported for example every 10
> seconds? (we need real-time statistics)
>
> I have been trying several ways with the Interval setting as follows:
>
> Try 1:
>
> Interval 10
> LoadPlugin network
> <Plugin network>
> ...
>
>
> Try 2:
>
> <LoadPlugin network>
>      Interval 10
> </LoadPlugin>
> <Plugin network>
> ...
>
>
> Try 3:
>
> LoadPlugin network
> <Plugin network>
>     <Server "XXX">
>         Interval 10
>     </Server>
> </Plugin>
> ...
>
>
> But non of them make any change. The metrics are being gathered every 10
> seconds, so we don't lose data, the problem is it is reported every 2-4
> minutes...
>
>
> Also, I found this post from 2014 with no answer:
> http://mailman.verplant.org/pipermail/collectd/2014-June/006202.html
>
>
> Any help is appreciated.
>
>
> Thank you in advance.
>
> Best regards,
> Joel.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20160215/f55cef91/attachment.html>


More information about the collectd mailing list