collectd_exporter
collectd_exporter copied to clipboard
Not receiving any metrics from collectd
Hi folks,
I'm trying to pipe through collectd metrics to prometheus, but I am not receiving any metrics other than the internal metrics for the collectd exporter. collectd seems to be talking to the exporter properly, as the collectd_last_push_timestamp_seconds metric is getting updated regularly according to the set interval. The RRD files on my device running collectd are being regularly updated as well, and using rrdtool I have confirmed that collectd is updating its metrics locally. I have used tcpdump and the machine running the collectd_exporter is receiving traffic from the machine gathering metrics.
I've tried both the "network" and "write_http" plugins for collectd. Possibly related, I only see the collectd_last_push_timestamp_seconds metric updated with the "write_http" plugin, but otherwise still get no collectd metrics with either one.
Do you have any pointers to how I can further debug why the collectd metrics are not showing up on the prometheus end? Or any insights to what may be wrong with my configuration?
Thanks for the help!
The issue may be due to both machines not in time sync. The machine where collectd is running and the target machine where the data is collected should be time synchronized. The collectd_exporter may not read data when there is difference in time.