Moussa Posted May 27, 2016 Share Posted May 27, 2016 This looks like a pretty neat monitoring tool https://github.com/firehol/netdata Quote Link to comment
spants Posted May 27, 2016 Share Posted May 27, 2016 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. Quote Link to comment
roland Posted May 27, 2016 Share Posted May 27, 2016 This is great and soooo easy!! edit: Spants, I hope you dont mind. It was tempting to try myself on a template. My first attempt ... https://raw.githubusercontent.com/Data-Monkey/unRAID/master/templates/netdata.xml EDIT: Moved to: Repository: https://github.com/Data-Monkey/docker-templates Template: https://raw.githubusercontent.com/Data-Monkey/docker-templates/master/Data-Monkey/netdata.xml Quote Link to comment
roland Posted May 28, 2016 Share Posted May 28, 2016 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. Quote Link to comment
elfner11 Posted May 31, 2016 Share Posted May 31, 2016 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. Quote Link to comment
roland Posted June 1, 2016 Share Posted June 1, 2016 Actually the logs get redirected to stdout and stderr. So they show in the docker container log. I need to find out if docker then handles the housekeeping of those. I wasn't yet successfull in locating the data. Will have another go over the weekend. EDIT: This might be part of the answer: http://lime-technology.com/forum/index.php?topic=45249.0 Quote Link to comment
Moussa Posted June 2, 2016 Author Share Posted June 2, 2016 Thanks for the templates guys, works wonderfully! Although I have noticed space in my docker image being eaten away, probably the logging issue. Quote Link to comment
roland Posted June 3, 2016 Share Posted June 3, 2016 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. Quote Link to comment
roland Posted June 3, 2016 Share Posted June 3, 2016 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 Quote Link to comment
Recommended Posts
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.