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

Feature Request: Add collectd parser #1100

Closed
gunnaraasen opened this issue Apr 26, 2016 · 7 comments
Closed

Feature Request: Add collectd parser #1100

gunnaraasen opened this issue Apr 26, 2016 · 7 comments
Assignees

Comments

@gunnaraasen
Copy link
Member

Should be fairly straightforward to port the existing code from InfluxDB's collectd input service.

@sparrc
Copy link
Contributor

sparrc commented Apr 26, 2016

since we already have the tcp_listener and udp_listener plugins, we should be able to just write a parser for the collectd format (https:/influxdata/telegraf/tree/master/plugins/parsers)

@gunnaraasen gunnaraasen changed the title Add collectd input plugin Feature Request: Add collectd parser Apr 26, 2016
@panda87
Copy link

panda87 commented Apr 27, 2016

We workaround it with graphite output from Collectd, and used UDP listener on the host with the latest template feature, and it works very well

@danielnelson danielnelson self-assigned this Mar 1, 2017
@bfgoodrich
Copy link

I really like the idea of having a specific plugin for collectd

@danielnelson
Copy link
Contributor

It won't be a whole input plugin, just a new parser to be used with socket_listener like this:

[[inputs.socket_listener]]
  service_address = "udp://127.0.0.1:25826"
  data_format = "collectd"
  name_prefix = "collectd_"

@danielnelson
Copy link
Contributor

One limitation of this method is we can't support authentication, encryption, signing, or validation against a types database.

@danielnelson
Copy link
Contributor

One limitation of this method is we can't support authentication, encryption, signing, or validation against a types database.

This is not correct, all of these can be supported via additional parser options:

  collectd_auth_file = "/etc/collectd/auth_file"
  collectd_security_level = "sign"
  collectd_typesdb = "/usr/share/collectd/types.db"

@danielnelson danielnelson mentioned this issue Mar 7, 2017
2 tasks
@danielnelson danielnelson mentioned this issue Apr 12, 2017
3 tasks
@danielnelson
Copy link
Contributor

Implemented in #2654

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

5 participants