-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Telegraf MongoDB plugin doesn't work. #11830
Comments
Here is that telegraf command with --debug:
|
Same issue. 1.23.4 works fine. At 1.24 - seems nothing happens with mongodb plugin. OS: Centos8 |
Confirmed. I downgraded to Telegraf 1.23.4-1 and I am now seeing mongo metrics. |
Same here with v1.24.0 |
The start method handler did not match the interface, nor was there a stop function. As a result, start was never called and the plugin was never setting up the servers to connect to and collect from correctly. This was introduced in influxdata#11629. fixes: influxdata#11830
It will be a little longer than 30 minutes before I can test this out. But I will test this out for you Josh! |
Tests all pass. Upgraded and reconfigured. We can close this out when you see fit. J |
Relevant telegraf.conf
Logs from Telegraf
System info
Telegraf 1.24.0 (git: HEAD@3c4a6516), Debian 11.4, LXC
Docker
N/A
Steps to reproduce
...
Expected behavior
I expect Telegraf to connect to my MongoDB and pull the configured metrics.
Actual behavior
Nothing happens. Nothing is logged.
When I run:
telegraf --config /etc/telegraf/telegraf.conf --input-filter mongodb --test
there is no output. It doesn't even try to connect from what I can tell. TCPDump shows zero packets going to my MongoDB server.Additional info
Proxmox VE is the primary host. InfluxDB runs in a container. MongoDB runs in another container. Everything is on the same subnet with no internal firewalls between the containers.
Can someone help me figure this out? I am out of ideas.
Regards,
Jeff
The text was updated successfully, but these errors were encountered: