Troubleshooting · September 2026

Minimal setup for WhaTap AI on an on-premise Collection server

Install the argus service that runs WhaTap AI inside your own network: unpack, run the installer twice, fill in two config files, verify the health endpoint. Includes the config traps that cost the most time.

Published Updated 7 min readPublished

What this gets you

On an on-premise WhaTap deployment, WhaTap AI is not bundled with a model. It is served by a separate on-premise component — the argus service — that you install on the WhaTap Collection server and point at an LLM endpoint with an operator-supplied API key.

This is the whole minimal path: unpack the installer, run it, fill in two config files, run it again, verify — and then enable the feature on the WhaTap Front service, which is a separate switch people miss. Seven steps. The only genuinely surprising part is that the install script stops on purpose the first time.

Before you start

  • The downloaded archive: argus-onprem-<version>-linux-<arch>.tar.gz
  • Root (or passwordless sudo) on the Collection host
  • The LLM API key the operator is supplying, and the base URL of your WhaTap front/APM server
  • systemd (the installer registers a unit)
  • Access to the WhaTap Front service config (step 7) — installing argus alone does not surface the feature

1. Unpack the installer

bash
tar xzf argus-onprem-<version>-linux-<arch>.tar.gz
cd argus-onprem-<version>-linux-<arch>

2. Run the installer — it will stop, and that is correct

bash
sudo ./systemd/install.sh

The first run halts deliberately. The script creates the configuration files, then its preflight check finds the CHANGE-ME placeholders it just wrote and stops before the service can ever start with placeholder values.

If you are watching the output and expecting a service at the end of it, this looks like a failure. It is not. It is a guard rail. Fill in the config and run it again.

3. Fill in the configuration

Two files were created. Replace CHANGE-ME in both.

bash
sudo vi /etc/argus/argus.env          # FRONT_APM_BASE_URL, DEFAULT_MODEL
sudo vi /etc/argus/argus.secret.env   # OPENAI_API_KEY
FileModeContents
/etc/argus/argus.env0644Non-secret settings — FRONT_APM_BASE_URL, DEFAULT_MODEL, DB_DRIVER, and so on
/etc/argus/argus.secret.env0600Secrets such as API keys. Owned by argus

Include the scheme in FRONT_APM_BASE_URL. A bare host:port still starts cleanly and looks healthy — and then every upstream call fails at URL parsing. This is the single most common way to get a running service that does nothing useful: http://apm.internal:8080, not apm.internal:8080.

DEFAULT_MODEL is the model name, not an endpoint. It is the model the service asks the LLM for; the endpoint comes from the supplied key. A working value looks like:

text
DEFAULT_MODEL=deepseek-v4-flash

It must be a model the supplied key is entitled to. Note that hosted providers retire model aliases — sometimes without notice — so this value is a versioned external dependency, not a setting you write once and forget. When it breaks, it does not break at startup: the service stays healthy and only inference starts failing, which is exactly the kind of failure that sends you debugging the service instead of the config. If the provider offers version-pinned names, prefer them.

Placing the secrets file in advance

If you create /etc/argus/argus.secret.env beforehand with mode 0600 and owner argus:argus, the script keeps it instead of overwriting it. That is the supported path when the key is provisioned by configuration management rather than typed in by hand — and it means you can pre-seed the secret without it being clobbered on the next run.

4. Run the installer again

bash
sudo ./systemd/install.sh

Preflight now passes, the service is registered and started, and the script prints the version and the health-check result at the end.

If the service is already running and you only changed configuration, a full reinstall is not needed — a restart picks it up:

bash
sudo systemctl restart argus

5. What actually gets installed

PathPurpose
/opt/argus/bin/argusExecutable
/etc/argus/Configuration files
/var/lib/argus/SQLite database
/var/log/argus/argus.logLog file (registered with logrotate)
/etc/systemd/system/argus.servicesystemd unit

The service runs as the argus system account. The script creates the account if it does not exist and reuses it if it does — so a pre-created account is safe.

Database migration runs on every start, through the unit’s ExecStartPre. You never run it by hand, and you do not need a separate migration step in your deployment tooling.

6. Verify

bash
systemctl status argus
curl -fsS http://127.0.0.1:8090/health

Then follow the log:

bash
sudo tail -f /var/log/argus/argus.log

7. Enable WhaTap AI on the WhaTap Front service

This step is not optional, and it is the one most often missed. Installing argus gets you a healthy service; it does not make WhaTap AI appear. The front service has to be told to show the feature and where argus is.

Edit front.conf — default location /data/whatap/conf/front.conf — and add three lines:

text
ui_whatap_ai_mode=show
argus_enabled=true
argus_backend_url=http://127.0.0.1:8090 #change to argus url
KeyMeaning
ui_whatap_ai_modeshow — surface WhaTap AI in the console UI
argus_enabledtrue — turn the argus integration on
argus_backend_urlwhere argus is listening

Then restart the front service, with either command:

bash
/data/whatap/bin/control.sh front restart
sudo systemctl restart front

argus_backend_url defaults to 127.0.0.1:8090, which only works if the front service and argus are on the same host. If argus runs on a different machine, change it to that host — otherwise the front service keeps talking to a port nothing is listening on.

Gotchas worth knowing up front

The logs are a file, not the journal. The unit sends both standard output and standard error to /var/log/argus/argus.log, so journalctl -u argus holds almost nothing. When you investigate a problem and the journal is empty, that is expected — read the file above instead. This is the opposite of the default assumption on most systemd services.

Service up, WhaTap AI still missing from the UI. A green service and a passing health check are necessary but not sufficient. If WhaTap AI does not appear in the console, the Front side integration is still pending — the front end has to be pointed at the service as well (see Configuration → Front integration). Do not go hunting for a service fault when the service is fine.

The service listens on 8090. curl http://127.0.0.1:8090/health from the host is the fastest sanity check that survives a broken front-end integration.

“Enabled” is two switches, on two hosts. argus must know where the front/APM server is (FRONT_APM_BASE_URL), and the front server must know where argus is (argus_backend_url). They live in different config files on different machines, and nothing validates that the two agree. If the feature is missing from the UI, check both directions before touching the service.

A front.conf edit does nothing until the front service restarts. The keys are read at start, so the feature stays hidden until /data/whatap/bin/control.sh front restart (or sudo systemctl restart front) has run. If you edited the file and nothing changed, that is why.

Do not skip the scheme. Worth repeating, because it fails late rather than at startup.

A healthy service with failing answers can be a retired model name. DEFAULT_MODEL points at a hosted model alias. If the provider retires or renames that alias, systemctl status argus and the health endpoint both stay green while inference errors — the configuration looks untouched. Check the model name against the provider’s current list before you dig into the service.

Takeaways

  • A preflight check that refuses to start with placeholder config is a feature. Expect the first installer run to stop, and treat “it halted” as the script working correctly rather than a broken package.
  • Configure the two config files by mode, not just by content — 0644 for non-secret settings, 0600 for secrets, owned by the service account. Pre-placing the secret file at the right mode is what makes automated provisioning possible.
  • Two of the classic symptoms here are not service faults: an empty journal (logs go to a file) and a missing UI feature (which is step 7, not a fault). Check the health endpoint before debugging the unit.
  • Installing a service and exposing its feature are different jobs. argus runs correctly and the feature is still invisible until the front side is configured and restarted. Whenever a deployment “works but shows nothing”, look for the enable/registry switch on the consuming side rather than re-debugging the thing you just installed.
  • Two addresses, two files, no validation. FRONT_APM_BASE_URL and argus_backend_url must agree and are configured independently. Write both down when you deploy, or a later change to one host’s address silently half-breaks the integration.

Derived from internal field work; product-specific values and client-identifying details have been generalised. Version numbers, architecture suffixes and the full configuration reference come from the shipped installer and its documentation.

  • guide
  • installation
  • rum
  • real-user-monitoring
  • browser-monitoring
  • mobile-monitoring
  • systemd
  • linux
  • whatap

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.

· 5 min read

  • guide
  • installation
  • webmethods
  • webmethods-11
  • integration-server
  • microservices-runtime
  • java-agent
  • apm
  • middleware
  • jvm
  • whatap
  • monitoring

Attach the WhaTap Java agent to a webMethods Integration Server

Step-by-step setup for webMethods monitoring with the WhaTap Java agent (2.2.68+): where the JVM options go (custom_wrapper.conf or setenv.sh, decided by USE_WRAPPER), weaving=webmethods-10, field notes from webMethods 11 Microservices Runtime, the Java 8 vs 9+ split, and how to verify the session in whatap.log.

· 9 min read

Keep reading the field notes

Every note starts as a real escalation: the symptom, the metric that proved it, and the fix that shipped.

Browse all guides