Before You Start
The current server agent is distributed aswt-warden, a Go binary that sends
server health and runtime metrics to Watchman Tower.
To run it, you need:
- a server entry created in Watchman Tower
- the server’s
server_id - the server’s
api_key - the API URL used for metric ingestion
- a Linux server with
systemd
The recommended path is now the one-line installer. Manual installation still
works and remains useful if you want full control over the binary or service
file.
Recommended Install
The easiest way to installwt-warden is with the hosted installer:
- downloads the correct Linux binary for the server architecture
- writes
/etc/watchmantower/warden.env - creates
wt-warden.service - enables and starts the service automatically
Recommended Upgrade
If you already run an older Watchman Tower server agent, use the upgrade script:- migrate older
wt-monitoringinstalls towt-warden - rewrite the systemd service safely
- preserve or migrate the existing runtime credentials
- restart the agent on the new binary name
Required Flags
If you run the binary directly, the current agent accepts these flags:server_id, api_key, and
api_url.
Manual Run Command
If you want to run the agent directly:Runtime Behavior
When the agent starts:- it sends an initial payload containing static host information
- Watchman Tower returns an interval value
- the agent begins sending dynamic metrics on that interval
Authentication and Validation
The current backend expects:- a bearer token built from the server API key
- a valid Watchman Tower
server_id - the request to come from the server IP configured for that server entry
Recommended Deployment Approach
For the current version, the safest practical setup is:- use the hosted installer or upgrader wherever possible
- run the agent as a
systemdservice - keep the API key scoped to the specific server entry
- verify the service after install with
systemctl status wt-warden
Troubleshooting Basics
If the agent does not appear in Watchman Tower:- verify
server_id - verify
api_key - verify
api_url - verify the server’s public IP matches the configured IP in Watchman Tower
- confirm outbound HTTPS access from the host
- review logs with
journalctl -u wt-warden -f
