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

Collectd in influxdb #1

Closed
yeyeoke opened this issue May 29, 2018 · 8 comments
Closed

Collectd in influxdb #1

yeyeoke opened this issue May 29, 2018 · 8 comments

Comments

@yeyeoke
Copy link

yeyeoke commented May 29, 2018

Problem/Motivation

Influxdb needs a simple change to the configuration to be able to collect data from collectd as far as I can tell atleast, but since I'm new to both influxdb and grafana, I'm open to the possibility that I'm wrong.

Proposed changes

While reading this guide https://anomaly.io/collectd-metrics-to-influxdb/
it seems that the only change needed is;

[collectd]
enabled = true
port = 25826
database = "collectd_db"
typesdb = "/opt/collectd/share/collectd/types.db"

Great work with the addon I'm really enjoying it.

Anomaly
Configuration example to send metrics from Collectd to InfluxDB. Then, configure InfluxDB to receive Collectd metrics. Enjoy your new monitoring dashboard
@addons-assistant
Copy link

👋 Thanks for opening your first issue here! If you're reporting a 🐛 bug, please make sure you include steps to reproduce it. Also, logs, error messages and information about your hardware might be usefull.

@tremebundo
Copy link

Any news with this?
It should be great to get collectd integrated with this Inluxdb instance and displayed in Home Assistant with your Grafana addon.
Thanks a lot for your work.

@frenck
Copy link
Member

frenck commented Jun 17, 2018

@tremebundo @yeyeoke
I've actually built the feature and it is currently living in a separate branch on my development machine.

I'm not sure if I should publish it though. It seems to be a pretty edge case. Maybe I'm just not too familiar with all this, but as far as I understand, I'd would need collectd itself as well.

Is this correct? Our would simply open up Collectd in Influx be enough?
Could you guys provide me some hint on how to test and/or set this thing up?

@tremebundo
Copy link

tremebundo commented Jun 17, 2018

Ufff!
I am pretty new to collectd and Influxdb.
I have just installed the official package of collectd in a Ubuntu 16.04. I am running Hassio in a docker container with your Inluxdb and Grafana plugins. Collectd seems to be already collecting data.
Now I need to display its data some way and I thought using your plugins and have a panel frame in Home Assistant.
I am trying to follow this guide:

https://www.buffalodatasystems.com/2017/10/24/Getting-started-with-grafana-and-ubuntu-16-04/

But I thought about using the Inluxdb instance provided by your plugin to avoid installing another Influxdb on the host system.
My server is hanging up randomly and I think some persistent statistics would help me to address the problem. And I think also that having that data displayed on a healthy system through HA would be very convenient.
Sorry for not being very helpful.

We're a new internet consulting company. We can help you with everything from basic web hosting to custom application development.

Drop us a line if you're interested in having a chat.

@frenck
Copy link
Member

frenck commented Jun 26, 2018

@yeyeoke, as the original requester; Do you have any pointers for me?

@frenck
Copy link
Member

frenck commented Jun 27, 2018

https://community.home-assistant.io/t/community-hass-io-add-on-influxdb/54491/60?u=frenck

image

Home Assistant Community
Hi Frenk, In the end, I have setup a docker container with Telegraf. It supplies mostly the same information as Collectd, allows to have a config file at the host system and comunicates gracefully with the Influxdb instance of your plugin. https://hub.docker.com/_/telegraf/

@frenck
Copy link
Member

frenck commented Jun 27, 2018

Close this feature request, since it seems to me a very tiny use-case.
Telegraf might be something to consider 😉

@frenck frenck closed this as completed Jun 27, 2018
@frenck frenck added Declined and removed Accepted labels Jun 27, 2018
@addons-assistant
Copy link

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@addons-assistant addons-assistant bot locked as resolved and limited conversation to collaborators Jul 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants