Jump to content
atribe

[Support] for atribe's repo Docker images

290 posts in this topic Last Reply

Recommended Posts

Overview: Support for Docker images from atribe's repo.

 

Tutorial to use Grafana, Influxdb, and Telegraf in unRAID by PanzerschreckGER.

 

Influxdb:

Application: https://influxdata.com/

Docker Hub: https://hub.docker.com/_/influxdb/

GitHub: https://github.com/influxdata/influxdb

 

Grafana:

Application: http://grafana.org/

Docker Hub: https://hub.docker.com/r/grafana/grafana/

GitHub: https://github.com/grafana/grafana

 

Glances:

Application: https://github.com/nicolargo/glances

Docker Hub: https://hub.docker.com/r/nicolargo/glances/

GitHub: https://github.com/nicolargo/glances

 

apt-cacher-ng:

Application:  https://www.unix-ag.uni-kl.de/~bloch/acng/

Docker Hub: https://hub.docker.com/r/sameersbn/apt-cacher-ng/

GitHub: NA

 

untelegraf:

Application:  https://influxdata.com/time-series-platform/telegraf/

Docker Hub: https://hub.docker.com/r/appcelerator/telegraf/

GitHub: https://github.com/influxdata/telegraf

 

telegraf:

Application:  https://influxdata.com/time-series-platform/telegraf/

Docker Hub: https://hub.docker.com/_/telegraf/

GitHub: https://github.com/influxdata/telegraf

Note: You will need to place your own configuration file at /mnt/user/appdata/telegraf/telegraf.conf or the container will not start.

 

mineos-node:

Application: https://minecraft.codeemo.com/mineoswiki/index.php

Docker Hub: https://hub.docker.com/r/hexparrot/mineos/

GitHub: https://github.com/hexparrot/mineos-node

 

hddtemp:

Application: https://linux.die.net/man/8/hddtemp

Docker Hub: https://hub.docker.com/r/drewster727/hddtemp-docker/

GitHub: https://github.com/Drewster727/hddtemp-docker

 

apcupsd-influxdb-exporter

Application: https://github.com/atribe/apcupsd-influxdb-exporter

Docker Hub: https://hub.docker.com/r/atribe/apcupsd-influxdb-exporter

Github: https://github.com/atribe/apcupsd-influxdb-exporter

 

Credit: I didn't create any of these applications or images, I just created the xml template.

 

Changelog:
2016-08-31 - Added Glances and Apt-cacher-ng.
2016-09-02 - Added Influxdb and Grafana.
2016-09-06 - Added Telegraf that uses environment variables.
2016-09-11 - Added standard Telegraf.
2016-09-24 - Added Node.JS MineOS.
2017-11-10 - Added link to tutorial for telegraf, influxdb, and grafana.
2018-05-26 - Added hddtemp
2019-01-22 - Added apcupsd-influxdb-exporter
 
Edited by atribe
Added tutorial link

Share this post


Link to post

Hey there, this is great. I would like to get started on building a Grafana dash for unRAID that records historical data - this seems to be ideal for doing this.

 

atribe perhaps you should get a repository for peoples templates here and maybe a small how-to guide? :)

Share this post


Link to post

Hey there, this is great. I would like to get started on building a Grafana dash for unRAID that records historical data - this seems to be ideal for doing this.

 

atribe perhaps you should get a repository for peoples templates here and maybe a small how-to guide? :)

 

A how to guide would probably be a good idea. I'll see if I can come up with something soon.

Share this post


Link to post

Hi. Still working good here. Had a go at some basic dashboards but still learning.

 

Can't see any metrics for temperature though. Both netdata and munin get the CPU temp ok via volume mapping. I presume need to add a plugin into the docker telegraf config folder? Or is it something basic in my setup? Missing lm sensors or something.

 

I would also love to have hddtemp in the metrics too. Is that the same problem, need plugin?

 

I can really see the potential of the telegraf/influxdb/grafana method though. Configurable to the nth degree!

 

 

Sent from my iPhone using Tapatalk

Share this post


Link to post

For some reason the Grafana icon isn't showing on my Unraid Dashboard. Just shows as a broken img. I don't believe it's an issue with my server. All other dashboard icons are working.

Share this post


Link to post

For some reason the Grafana icon isn't showing on my Unraid Dashboard. Just shows as a broken img. I don't believe it's an issue with my server. All other dashboard icons are working.

I never set up an icon, so that's why it looks like that.

Share this post


Link to post

For some reason the Grafana icon isn't showing on my Unraid Dashboard. Just shows as a broken img. I don't believe it's an issue with my server. All other dashboard icons are working.

I never set up an icon, so that's why it looks like that.

Oh weird. In community apps it shows an icon, so I thought it had an icon. My bad!

 

Sent from my XT1575 using Tapatalk

 

 

Share this post


Link to post

For some reason the Grafana icon isn't showing on my Unraid Dashboard. Just shows as a broken img. I don't believe it's an issue with my server. All other dashboard icons are working.

I never set up an icon, so that's why it looks like that.

Oh weird. In community apps it shows an icon, so I thought it had an icon. My bad!

 

Sent from my XT1575 using Tapatalk

There is an icon specified in the template.  However it is a .svg

 

CA works a little differently that unRaid.  CA passes through the URL's for icons directly to the browser for it to display.  The docker engine in unRaid insists on downloading the icon during installation and then passing a URL for the local copy to the browser.  Its probably because .svg isn't a recognized format by unRaid that this is failing.

Share this post


Link to post
There is an icon specified in the template.  However it is a .svg

 

Ah so it is. I'll have to fix that.

Share this post


Link to post

I would also love to have hddtemp in the metrics too. Is that the same problem, need plugin?

 

Hi,

 

I figured I wasn't clever enough to get the docker to do temperatures and wasn't really sure if it was possible to do it from the docker anyway, so I decided to write my very first PHP script!

 

I managed to get sensible outputs for 'HD Temp' parsing the output of 'smartctl' for each of my disks, and luckily they still sense temperature without spinning up and when spun down. I used 'apcaccess' for UPS data so I can get the load on my UPS in watts (I have cable modem and router on the UPS as well as the server). I used 'hdparm' for spin status. And I used ipmi-sensors for fan speed and MB/CPU temp. Sending the data to influxdb via curl is quite straightforward.

 

I use crontab to invoke the scripts which reside in my appdata folder.

 

I have no idea if this is a sensible way of doing it and the scripts are very rough, but seems to work!

 

Untitled.jpg.85b30baf3542caa7a3c729eb9a84fdba.jpg

Share this post


Link to post

@Viaduct, that is awesome? Could you share the script? Maybe post it on GitHub or something?

 

Also, your crontab command?

 

I want to try this. It looks amazing.

Share this post


Link to post

I agree, that is awesome work, awesome graphs!

 

Now if we just had some guides (hint, hint)  ;)  Lots of smart people here, but many of us don't have time for more learning curves, would like already prepped and cooked products, ready to use, with a simple configuration screen for the particular components we want.  The ideal would be a user designed Dashboard with those graphs, *easily* set up and configured.  I suppose that that 'easily' and the time it takes is the problem that will block many of us.

 

I'd love to see a component for long-term SMART history, among other things.

Share this post


Link to post

No worries guys. I'll do a how to guide soon.

 

I'll tidy the scripts up over the weekend and post something. Possibly in a new thread.

 

I have absolutely no idea about github, I'm not a developer or programmer and the last time I wrote anything resembling a program or script was in the 80s in BASIC! So I probably can't vouch whether the scripts are safe to run or not, nor can I probably support users where the scripts might not work. But, happy to post them as a starting point and others more capable can refine them.

 

 

Sent from my iPhone using Tapatalk

Share this post


Link to post

Hey, hope im in the right thread here.

I use the mineos-node and I love it! Setting up a FTB Server was really easy. I have a question about the docker itself though. I installed it (via Community Apps) and then it said there is an update right away. I did that and after it would still say theres an update, so its never showing "up-to-date". Did I do something wrong or is it an error in the script ? Im just wondering if I did something wrong and having it not up to date also gets my OCD going  ;)

Share this post


Link to post

Hey, hope im in the right thread here.

I use the mineos-node and I love it! Setting up a FTB Server was really easy. I have a question about the docker itself though. I installed it (via Community Apps) and then it said there is an update right away. I did that and after it would still say theres an update, so its never showing "up-to-date". Did I do something wrong or is it an error in the script ? Im just wondering if I did something wrong and having it not up to date also gets my OCD going  ;)

What version of unRaid?

Share this post


Link to post

Hey, hope im in the right thread here.

I use the mineos-node and I love it! Setting up a FTB Server was really easy. I have a question about the docker itself though. I installed it (via Community Apps) and then it said there is an update right away. I did that and after it would still say theres an update, so its never showing "up-to-date". Did I do something wrong or is it an error in the script ? Im just wondering if I did something wrong and having it not up to date also gets my OCD going  ;)

What version of unRaid?

 

@Squid, I'm glad you saw this, because I have no idea.

Share this post


Link to post

What version of unRaid?

6.2

 

Edit: I already completely deleted the docker and any folders created by it and got it again via Community Apps. Had an update right away, still said it has an update after running it.

Share this post


Link to post

Hey, hope im in the right thread here.

I use the mineos-node and I love it! Setting up a FTB Server was really easy. I have a question about the docker itself though. I installed it (via Community Apps) and then it said there is an update right away. I did that and after it would still say theres an update, so its never showing "up-to-date". Did I do something wrong or is it an error in the script ? Im just wondering if I did something wrong and having it not up to date also gets my OCD going  ;)

What version of unRaid?

 

@Squid, I'm glad you saw this, because I have no idea.

Neither do I...  Does the same thing on my system

 

Weird thing is that during the initial install, it displayed this:

Digest: sha256:1db3dbb722800da3899460e90ebdd0b2f1e893c79dc528cb73a83a658ebe0de3
Status: Downloaded newer image for hexparrot/mineos:node-jessie
1603d9cecc7fa948e84d4c595e4168392da9f5ba19b8af4c1652d74300806a04

Which I've never noticed before

 

 

Share this post


Link to post

I get the same error. Deleted and recreated but no luck. Still there.

 

Has anyone managed to get pocketmine working with this docker?

Share this post


Link to post

I get the same error. Deleted and recreated but no luck. Still there.

 

Has anyone managed to get pocketmine working with this docker?

 

Haven't tried pocketmine. If it works on normal mineos node it should work here too.

Share this post


Link to post

Something seems wrong with the grafana docker.

 

The plugins directory doesnt seem to work if i drop files in there.  If I attach to the docker and run the CLI command it adds the plugin properly but it doesnt show in the plugins directory externally but does within the docker, yet the mapping seems to be right  :o

 

When i update the docker it destroys the plugins as expected since the mapping seems broken.

 

Second, how do you update the settings. (grafana.ini)  This is not exposed??

Share this post


Link to post

After looking at this closer, you can create environment variables to have it install the plugins using CLI by setting an environment variable key to GF_INSTALL_PLUGINS and setting the value to the name of the plugin you want to install. 

 

Example value for 2 plugins:

 

grafana-clock-panel,grafana-simple-json-datasource

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.