[Request] netdata container


Recommended Posts

docker run -d --cap-add SYS_PTRACE -v /proc:/host/proc:ro -v /sys:/host/sys:ro  -p 19999:19999 titpetric/netdata

 

then http://serverip:19999

 

from https://hub.docker.com/r/titpetric/netdata/

 

I cant get the docker names to show though -tried

docker run -d --cap-add SYS_PTRACE -v /proc:/host/proc:ro -v /sys:/host/sys:ro  -v /var/run/docker.sock:/var/run/docker.sock -p 19999:19999 titpetric/netdata

 

Otherwise, it works well!

:-)

 

I will make a template for it if people want.

Link to comment

The template seems to work and the docker is running fine as well.

I am a bit concerned that there is no external directory mapping. So I assume all the logs and the data gets stored in the docker and that can't be a good thing.

 

I want to see if I can expose the log, data and config directory.

Link to comment

The template seems to work and the docker is running fine as well.

I am a bit concerned that there is no external directory mapping. So I assume all the logs and the data gets stored in the docker and that can't be a good thing.

 

I want to see if I can expose the log, data and config directory.

 

Thank you for the XML, I think this a great app to run in unRAID for performance monitoring!

 

Any updates on the logs and external data? I figured I would just map /var/log but I haven't the slightest clue where the data is kept.

Link to comment

Hi, the logging should go outside of the docker.img

 

Could you please check the img size using this command? It could take a while depending on your img size.

docker ps -a -s | grep titpetric/netdata

mine shows: 12.29 MB (virtual 152.7 MB)  after about 1hr of runtime

 

You can check the log size by running this:

du -ah /var/lib/docker/containers/ | grep  "log$" | grep f44c3694b757

where you need to replace the container id with your own id (shown in the result from the first command.

 

Link to comment

I have also had a better look at how the other guys have structured their github and have decided to follow, so the template has moved.

 

Repository: https://github.com/Data-Monkey/docker-templates

Template: https://raw.githubusercontent.com/Data-Monkey/docker-templates/master/Data-Monkey/netdata.xml

 

I will start a support thread soon and add the link here.

EDIT: https://lime-technology.com/forum/index.php?topic=49534.0

Link to comment

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.