如何更改collectd中的间隔时间?

smi*_*ith 5 configuration monitoring

如何更改 collectd 中的收集间隔时间?我希望它每 1 秒收集一次我的数据。

A.B*_*.B. 4

通过Interval

man collectd.conf

Interval Seconds
   Configures the interval in which to query the read plugins.
   Obviously smaller values lead to a higher system load produced by
   collectd, while higher values lead to more coarse statistics.
Run Code Online (Sandbox Code Playgroud)

例如:

<LoadPlugin df>
    Interval 1
</LoadPlugin>
Run Code Online (Sandbox Code Playgroud)