Install, Upgrade, Uninstall
Quick Start
Quick start for the case that the monitoring is run as a standalone app (not as a part of Braiins Farm Proxy).
- clone the git repository
git clone https://github.com/braiins/farm-monitor.git - go to a new directory
cd farm-monitor - define IP address ranges for the device discovery in the config file
./monitoring/metrics_exporter/metrics-exporter.toml - run command
docker compose up -d - open URL http://localhost:3000 to see the Farm Dashboard in Grafana
Prerequisites
Braiins Farm Monitor has its own public Github repository and it is basically a stack of 3 Docker containers. You can easily install it with the Linux terminal of the hardware which will host the monitoring.
At the beginning it is required to install a couple of prerequisites:
Linux
Docker
Docker compose
RPi
Docker
Docker compose
Verify prerequisite installed
Installation
Description of the installation in case that Braiins Farm Monitor is run as a standalone app (not as a part of Braiins Farm Proxy).
Download Braiins Farm Monitor Repository
You can either clone the repository using git:
…or download a zip archive with all the files:
Upgrade
Braiins recommends users to monitor the Braiins Farm Monitor Github repository to be notified if a new version is available.
To upgrade to a newer version just run the command git pull origin master in the Linux terminal.
If you made any changes in the configuration files you might want to save the modified files or stash them with command git stash before the upgrade.
If you made any changes in the docker-compose.yml file, you will need to make them again after the upgrade since the git pull pulls the docker-compose.yml from the Github repository.
Uninstallation
To completely remove farm-proxy and out-of-the-box monitoring from your system you need to perform the following steps:
- Stop monitoring:
docker compose down
- Remove containers:
docker container prune
- Remove images:
docker image prune
- Remove stored monitoring data:
docker volume prune
- Remove the folder:
rm -rf farm-monitor/