Before You Start
The current server agent is a Go binary that sends server 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
The current binary expects these values as runtime flags. It does not yet
ship with a packaged installer or service manager wrapper in this repo.
Required Flags
The current agent accepts these flags:server_id and api_key.
Basic Run Command
After building the binary, a minimal run command looks like this:Build From Source
From thewarden repository:
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:- build the binary on the target server
- run it under a system service such as
systemd,supervisord, or another process manager you already use - keep the API key scoped to the specific server entry
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
