Operating Scouter Analytics from source
Build Scouter Analytics
The supplied Makefile uses podman to build Scouter Analytics in a well-defined environment where most tools are made available, but some must still be installed to the host system
If you're on Arch, or a derivative like Omarchy, run:
pacman -S \
podman \
erofs-utils \
git
Fedora, CentOS, Rocky, and other RHEL-like distros:
dnf install -y \
podman \
erofs-utils \
git
Clone, build, and install Scouter Analytics
git clone https://github.com/sbaildon/scouter-analytics
cd scouter-anlaytics
make && sudo make install
Install Scouter Analytics
Scouter is installed as a Systemd portable service, located at /var/lib/portables/scouter-analytics.v/, where .v/ is a directory with versioned releases
Arch provides portablectl in a fresh install. If you're using Fedora, Rocky, or another RHEL-like distro, you will likely need to install portablectl
dnf install -y systemd-container
Attaching a portable service
Portable services need to be attached to the host system. To do that, run
portablectl attach /var/lib/portables/scouter-analytics.raw.v/ scouter-analytics
The unit scouter-analytics.service should be attached to your system
systemctl cat scouter-analytics
Running Scouter Analytics
systemctl enable --now scouter-analytics
Access the dashboard from http://localhost