These are my preferred distros, and the ones I have the most experience with. Let’s look at what they support for 圆4: ntop OS and architecture supportĬool, there’s both Debian and Ubuntu. For a better explanation click here OS/arch We invoke the save command, to ensure that we store the data. The only other notable thing here is the command declaration. The container is restarted 5 times if it fails and is then left alone. The above thing declares a new container, grabs redis:alpine from the land of docker images, and maps the /data directory to a local one. Note – I’ll talk about the network_mode: host param in a bit. Here’s the docker-compose declaration for it: version: '3' Honestly, this was the easiest part of this whole adventure. Ntop requires a working Redis container in the network. My assumption is that I might’ve overlooked a dependency somewhere, so I made the “only other choice” – build it from scratch Pre-requisites Redis The thing is that the above images didn’t run properly on my Raspberry Pi. Ready-made imagesĪs a dev, the first thing I thought of was: “There must be an image out there already”. If you don’t dare to spend 8 hours on getting a docker container up, use the links above. Yes, there’re official binaries on Ntop’s website, and yes there’s one for getting this up and running on a Raspberry. Furthermore, I wanted a challenge, I wanted something that I really had to spend some time with to get working. Seriously though, it’s way faster and easier to clean up a docker setup if I wanted to move to a different tool in the future. That choice was made for a number of reasons, one of which is that I’m apparently a masochist. I wanted to Dockerise the install instead of having to install the tool “bare metal”. For more info on the tool, visit their homepage here The strategy It’s built on top of “ntop”, the original network probe. Ntopng is a full on network monitoring tool, that’s open-source and easy to use. I’ll be super brief here, I assume you’re familiar with the tool if you’re reading this. Dockerise the installation and get it up and running on the Pi. I already have a Raspberry Pi running, so the choice was obvious. So I’ve been wanting to include a network monitoring suite in my home network for a while now.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |