FarWatch 1.3.1 is availableRead the upgrade notes

Install on RHEL (RPM)

Install or upgrade with the RPM on RHEL 8 or later, choose the starting platforms, and check the services.

What the RPM is

The RPM is self-contained. The application goes under /opt/icc, with a private Node.js runtime at /opt/icc/node, vendored dependencies, and two systemd units: icc-dashboard (web and API) and icc-poller (collectors). Nothing is installed system-wide and no package repository is needed on the target. The names icc and /opt/icc are historical.

Supported targets are RHEL, Rocky and Alma 8 or newer on x86_64. The Node runtime needs glibc 2.28.

The package holds the compiled application, not source code. The backend logic is compiled to V8 bytecode that runs on the bundled Node runtime. String constants such as SQL text and log messages stay visible. Treat this as a barrier against casual reading, not as encryption.

Releases are available to customers from the Downloads page of the customer portal at /portal/downloads. The file is named icc-<version>-1.x86_64.rpm. Verify its SHA-256 before you install it.

Install

sudo dnf install ./icc-<version>-1.x86_64.rpm

A fresh install does the following.

  1. Creates the icc system user.
  2. Generates /opt/icc/.env with a new ENCRYPTION_KEY.
  3. Creates the Admin account. A scriptlet cannot prompt, so the password comes from ICC_ADMIN_PASSWORD in the environment or in /etc/icc/install.env. Without one, a random one-time password is written to /opt/icc/FIRST-RUN.txt, readable by root only. The install fails and starts nothing if the account cannot be created.
  4. Enables and starts both units.

Open http://<your-server>:3001/ and sign in as Admin. The app forces a new password at first sign-in. With no LICENSE_KEY in /opt/icc/.env the app runs a 30-day trial. See First sign-in.

Choose the starting platforms

Set ICC_PLATFORMS to a comma-separated list of platform ids in the environment of the install:

sudo ICC_PLATFORMS=logicmonitor,aws dnf install ./icc-<version>-1.x86_64.rpm

Run icc-cli list-platforms to print the ids. If your sudo policy drops environment variables, use sudo -E or the answers file below. Without a list, the dashboard asks the administrator to pick at first sign-in. Platforms left unpicked stay dormant. Add them later from the marketplace.

The answers file

First-run setup is done by /opt/icc/sbin/first-setup.sh, which the package calls and which you can run again by hand after a failure. It reads the environment of the install and /etc/icc/install.env. Because dzdo and sudo often drop environment variables, the file is the documented route. It holds KEY=VALUE lines, must be owned by root and not readable by group or others, and the environment wins over it.

sudo install -d -m 0755 /etc/icc
sudo install -m 0600 -o root -g root /dev/null /etc/icc/install.env
sudo tee /etc/icc/install.env > /dev/null <<'EOF'
ICC_ADMIN_PASSWORD=choose-one
ICC_PLATFORMS=logicmonitor,aws
EOF
sudo dnf install ./icc-<version>-1.x86_64.rpm

The package never deletes /etc/icc/install.env or a password file. Remove them yourself when the install is done.

The same file carries the PostgreSQL settings. See Starting on PostgreSQL.

Upgrade

Run the same dnf command with the new RPM. An upgrade replaces the code and restarts the units. The .env file and the data folder under /opt/icc/backend/data are never shipped in the package, so they survive every upgrade. Before it changes anything, the upgrade snapshots the data folder. See Upgrades and rollback.

Removing the package with rpm -e icc stops and disables the units and leaves /opt/icc/.env and /opt/icc/backend/data in place for a later reinstall.

Check the services

systemctl status icc-dashboard icc-poller
journalctl -u icc-poller -n 50 --no-pager
curl -s localhost:3001/health

Where things live

PathContents
/opt/icc/backend/dataThe databases, or the engine settings file when the install runs on PostgreSQL.
/opt/icc/backend/pluginsInstalled plugin packs.
/opt/icc/.envEncryption key, licence key if set, port.
/opt/icc/logsLogs, including the snapshot compression log.

The data, plugins and logs folders are owned by the service user. Keep the .env file. Losing ENCRYPTION_KEY makes the stored credentials unreadable.

Memory limit for the poller unit

The poller unit runs a supervisor and several child processes. If you set MemoryMax on the unit, it has to cover all of them: about 256 MB plus, for each child, its heap limit plus 384 MB. System Health reports a limit that is too low. See System Health and the support bundle.

The reverse proxy

The web service speaks plain HTTP on port 3001. Put a TLS reverse proxy in front for anything beyond a trusted network, and set TRUST_PROXY=1 in the .env file when you do. When a name other than the host's own reaches an install that has sign-in off, see Allowed host names.