Install on Linux
-
Download the file for your server:
metrivo-<version>-linux-amd64.tar.gz(Intel and AMD) ormetrivo-<version>-linux-arm64.tar.gz(ARM). -
Extract it and copy the program to
/usr/bin:Terminal window tar -xzf metrivo-*-linux-amd64.tar.gzsudo install -m 0755 metrivo-*-linux-amd64/metrivo /usr/bin/metrivo -
Create the
metrivouser, with no login and no privileges:Terminal window sudo useradd --system --no-create-home --shell /sbin/nologin metrivo -
Create the service in
/etc/systemd/system/metrivo.service:/etc/systemd/system/metrivo.service [Unit]Description=Metrivo Database Monitor agentAfter=network-online.targetWants=network-online.target[Service]User=metrivoGroup=metrivoExecStart=/usr/bin/metrivo serve -config /etc/metrivo/metrivo.yamlRestart=on-failureStateDirectory=metrivoConfigurationDirectory=metrivoNoNewPrivileges=yesProtectSystem=strictProtectHome=yes[Install]WantedBy=multi-user.target -
Start the service and have it start with the server:
Terminal window sudo systemctl daemon-reloadsudo systemctl enable --now metrivo -
Check that it is running and see the panel addresses:
Terminal window sudo -u metrivo metrivo statusAgent: runningPanel: https://dbmon01:9443/https://10.0.0.15:9443/Firewall: firewalld active, port 9443/tcp open
The data is kept in /var/lib/metrivo. The configuration file /etc/metrivo/metrivo.yaml is optional: without it, the agent uses port 9443 and the defaults. Everything else is set up in the panel.
If status says the port is not open, see Firewall and port 9443. Then go on to the first sign-in.
Metrivo Database Monitor · metrivodb.com