Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not receiving any metrics from collectd #106

Open
sbaxter-izo opened this issue Jan 5, 2021 · 1 comment
Open

Not receiving any metrics from collectd #106

sbaxter-izo opened this issue Jan 5, 2021 · 1 comment

Comments

@sbaxter-izo
Copy link

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!

@aganiger
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants