I'm using collectd with a custom writer plugin. The writer reports to servers in a different data center and occasionally we have network connection issues between the data centers. Collectd continues to work but falls behind. After the network connections return to normal collectd continues to report at the same rate as specified by Interval in the config and never catches up.
Is there something I need to do in the writer plugin so that collectd will report more often or send more data to flush the queue and get caught back up?
答案 0 :(得分:0)
问题是报告的指标多于当前1分钟间隔内发送的指标。网络问题刚刚使问题变得更糟。解决方案是将间隔更改为5分钟。