3/31/2023 0 Comments Raspberry pi system monitor remoteYou are ready to rock now, The DataSource and Dashboard for Grafana are automatically provisioned. The system will do a speedtest every 15 minutes, configurable in prometheus/prometheus.yml file and check ping to hosts or websites (HTTP 200 OK response time) to sites mentioned in prometheus/pinghosts.yml file.Ĭonfigure the parameters as deemed necessary, and re-instate the containers with the following - cd internet-monitoring/prometheus sudo docker-compose up -d The password can be later changed through Grafana dashboard however, the password is stored in grafana/config.monitoring file. Go to the IP address of your raspberry-pi and enter the following credentials to view the dashboard. Login to your raspberry-pi and enter the following - git clone cd internet-monitoring/prometheus sudo docker-compose up -d The readme briefs about all the configuration possibilities, however, to keep this article short, we will go through the nominal steps to get you started. If this helped you, a star⭐ to the repo will be encouraging. This is a custom docker app running Prometheus and Grafana that will give you real-time visualizations of your network status. In this way you will know if your ISP gives you promised speeds all the time. Get granular ideas about your network regarding the speed, latency, jitter and many more with this. In the next steps, we will install PiHole and a Custom Docker Stack that will help you monitor your network stats. If docker-compose fails, you need to create a symbolic link by doing the following - sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose $ docker-compose -version docker-compose version 1.29.2, build 1110ad01 sudo curl -L "$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-composeĪfter the same is done, run the following command to generate a similar output. With Compose, you use a YAML file to configure your application’s services. Compose is a tool for defining and running multi-container Docker applications. Run the following commands one-by-one to get docker-compose installed. If that is so, then you have successfully installed docker. The output should display the Docker version along with some additional information. To check if docker is installed properly, run - docker version The above three commands will install the latest version of docker and provision the user “pi” to have access over the docker engine. curl -fsSL -o get-docker.sh sudo sh get-docker.sh sudo usermod -aG docker Pi The software is popular among developers as it speeds up the development process and does not use a lot of resources. Installing Dockerĭocker is a tool for creating, deploying, and running applications in containers. All the commands here apply for any Ubuntu/Debian virtual machine too. The above will grant you super user access and get you the latest updates for your raspberry. Once you are logged it, let's stay on the latest updates by running the following commands - sudo apt-get update & sudo apt-get upgrade Staying on the latest LTS release would be a safe option.įirstly, SSH into your raspberry pi from any system on your network using ssh The default password of a raspberry pi running raspbian os is “raspberrypi”, unless you have changed it. Initial ConfigurationĪssuming you have completed the aforementioned steps, the following methods can be applicable to a raspberry pi and also any virtual machine or physical machine running ubuntu-server or Debian operating system on it. It would be good if you can fix the IP of the raspberry pi to be constant either via a DHCP static mapping on your router or configuring the raspbian’s network to be Static IP using your current network properties. Please collect the IP address of the raspberry pi so that we can login to it. Now you are ready to start off with the configuration.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |