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

field corresponding to `gather_cluster_status' is not defined in mongodb.MongoDB #7668

Closed
debu99 opened this issue Jun 12, 2020 · 1 comment

Comments

@debu99
Copy link
Contributor

debu99 commented Jun 12, 2020

[[inputs.mongodb]]
  servers = ["mongodb://127.0.0.1:27017"]
  gather_cluster_status = true
  gather_perdb_stats = true
  gather_col_stats = false

telegraf --debug
2020-06-12T10:29:21Z I! Starting Telegraf 1.14.4
2020-06-12T10:29:21Z I! Using config file: /etc/telegraf/telegraf.conf
2020-06-12T10:29:21Z E! [telegraf] Error running agent: Error parsing /etc/telegraf/telegraf.conf, line 31: field corresponding to `gather_cluster_status' is not defined in mongodb.MongoDB

@danielnelson
Copy link
Contributor

danielnelson commented Jun 12, 2020

This option is new and will be included in 1.15.0 (#7515)

You may find it helpful to browse the repo on the release-1.14 branch, since the documentation on the master branch is for the development version.

Also, if you are up for it you can try the nightly builds to test the new feature, any testing is much appreciated.

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