Troubleshooting · October 2026
Minimal setup for WhaTap Edge Server (RUM on-premise: rumagent + rumctl)
Enable WhaTap Real User Monitoring — browser and mobile — on an on-premise Collection server with two modules: download the all-in-one package, drop rumagent and rumctl under /data, write their config.yaml files, register both with systemd. Ports, config keys and the traps included.
What this gets you
An on-premise WhaTap Collection server does not, by itself, serve Real User Monitoring. Browser monitoring and mobile monitoring come from a separate RUM tier — the Edge Server — that you run inside your own network next to the collection server.
This is the minimal version of that deployment: two modules, rumagent and rumctl, both on the same host as the Collection server. No RUM proxy, no stats module, no dedicated machine.
Before you start
The all-in-one RUM package from the WhaTap repository (ask WhaTap for the repository base URL for your deployment). It is build-timestamped and contains every RUM module; this guide uses only two of them:
text<repo-base>/rum-onpremise-pkg-<buildstamp>.tar.gzA sample filename looks like
rum-onpremise-pkg-202608120700.tar.gz— download the current one rather than pasting that exact name.Root (or
sudo) on the host running the Collection server — the shipped service template runs the modules asroot.The Collection server IP and its proxy port (
6600). This is the port the RUM modules report to, and it is not the same thing as the console/web port.systemd (both modules are registered as units).
The firewall ports you will need open:
8848and6060.
1. Download and extract the package
wget <repo-base>/rum-onpremise-pkg-<buildstamp>.tar.gz
tar xzf rum-onpremise-pkg-<buildstamp>.tar.gz
cd rum-onpremise-pkg-<buildstamp>The extracted tree contains one directory per module — rumagent, rumctl, rumproxy, rumstats. The minimal setup uses the first two.
2. Place the two modules under /data
/data is the default WhaTap install root. Replace <module> with rumagent and then rumctl:
sudo mkdir -p /data/<module>
sudo cp -R ./<module>/* /data/<module>/
sudo chmod +x /data/<module>/<module>The resulting binaries are /data/rumagent/rumagent and /data/rumctl/rumctl.
3. Write the configuration for each module
The two modules do not keep their configuration in the same place or in the same shape. Get this wrong and you have services that look healthy and do nothing.
rumagent reads /data/rumagent/config.yaml:
host:
- <collection-server-ip> # Collection server IP
hostport: 6600 # Collection server proxy port
myport: 8848 # rumagent listen port
ginmode: release # gin run mode (release, debug)
envmode: vm # environment (vm, k8s, rumstats)
disableginlog: false # whether to write gin logs
apimode: 2 # 0: RUM only, 1: Mobile only, 2: All APIs
# clientipheader: "" # (optional) real client IP header name in CDN environments| Key | Meaning | Value |
|---|---|---|
host | Collection server IP (a list) | your collection server |
hostport | Collection server proxy port | 6600 |
myport | rumagent listen port | 8848 |
ginmode | gin run mode | release in production, debug for development |
envmode | Environment | vm, k8s, or rumstats |
disableginlog | Whether to write gin logs | false |
apimode | Which RUM APIs are served | 0 RUM only, 1 Mobile only, 2 all APIs |
clientipheader | Optional real client IP header for CDN setups | unset |
apimode: 2 is what gives you browser and mobile monitoring together, which is normally what an Edge Server deployment is for. Narrow it only if you deliberately want one surface.
rumctl reads /data/rumctl/conf/config.yaml — note the conf/ subdirectory, and the different key names:
keeper:
Type: keeperIP
- 127.0.0.1:6789 # keeper IP:Port
server:
RunMode: release # run mode (release, debug)
HTTPPort: 6060 # rumctl HTTP listen port
ReadTimeout: 60
WriteTimeout: 60| Key | Meaning | Value |
|---|---|---|
keeper | keeper server IP:Port | the actual keeper address |
server.RunMode | Run mode | release in production, debug for development |
server.HTTPPort | rumctl HTTP listen port | 6060 |
ReadTimeout and WriteTimeout are not used in on-premises installations.
4. Register both modules as systemd services
Every module uses the same registration procedure. Create /etc/systemd/system/<module>.service:
[Unit]
Description=RUM <module> Service
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/data/<module>
ExecStart=/data/<module>/<module>
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.targetAdjust WorkingDirectory and ExecStart if you did not install to /data. Then:
sudo chmod 644 /etc/systemd/system/<module>.service
sudo systemctl daemon-reload
sudo systemctl enable <module> # start automatically on boot
sudo systemctl start <module>
sudo systemctl status <module>Repeat for rumagent and rumctl.
Where the pieces end up
| Path | Purpose |
|---|---|
/data/rumagent/rumagent | RUM Agent executable (listens on 8848) |
/data/rumagent/config.yaml | RUM Agent configuration |
/data/rumctl/rumctl | RUM Control executable (listens on 6060) |
/data/rumctl/conf/config.yaml | RUM Control configuration |
/etc/systemd/system/rumagent.service | RUM Agent unit |
/etc/systemd/system/rumctl.service | RUM Control unit |
Both run as the root user, per the shipped unit template.
Verify
sudo systemctl status rumagent
sudo systemctl status rumctlBoth should be active (running) and enabled. Then open the firewall ports for the modules you installed:
| Module | Port |
|---|---|
| RUM Agent | 8848 |
| RUM Control | 6060 |
The real confirmation is end-to-end: browser and mobile data showing up in the WhaTap console. The guide does not document a health endpoint for either module, so systemctl status plus the console is what you have — and the console only fills in once the application itself is instrumented.
Gotchas
The two config files are in different places. rumagent reads config.yaml at its module root; rumctl reads conf/config.yaml. Copying one layout for both is the easiest way to run a module that starts cleanly with defaults you did not intend.
Port 6600 is the collection server’s proxy port, not its console port. hostport in config.yaml must point at the proxy port. Pointing it at a console/web port gives you a running agent whose payloads never land.
rumctl needs a keeper, and the sample points at loopback. The sample config uses 127.0.0.1:6789 with the comment “keeper IP:Port”. That is only correct when rumctl runs on or beside the keeper — put the real keeper address there for any other topology.
Installing the Edge Server is not the same as collecting RUM data. The services accept and forward payloads; the browser and mobile applications still need their instrumentation in place. If rumagent is up, the ports are open, and the console is still empty, suspect the client-side instrumentation and the collection address before you suspect the module.
Both services restart forever by design. Restart=always with RestartSec=10 means a misconfigured module is a process that keeps coming back, not one that stays down — so systemctl status alone will look reassuring. Check uptime and the logs when something is wrong.
Takeaways
- An on-premise RUM deployment is two services, not a platform install: an agent that receives and a control service that manages. Both fit on the Collection server host.
- Configure by file location and key name together — the modules share a deployment shape but not a config layout, and nothing in the procedure validates that the file you wrote is the one being read.
- Keep the two ports straight:
6600is the collection server’s proxy port (where the agent sends), while8848and6060are what the modules listen on and what the firewall must allow. apimodeis the switch that decides whether you get browser monitoring, mobile monitoring, or both.2is both.
Derived from internal field work; product-specific values and client-identifying details have been generalised. Paths, ports and configuration keys are as shipped by the RUM on-premise package.