Connecting a server to the dashboard

Add your OpenShield server in the console, test the connection against /health, understand each failure, and read live metrics.

Last updated

On this page

Once the agent is installed and metrics are enabled, you connect the server in the console so the dashboard can poll it. The whole flow takes about a minute per server.

Add the server in the console

  1. Open your product page in the dashboard and choose Add server.
  2. Enter a name, the Metrics API URL, and the API key — both printed by openshield key on the server.
  3. Click Test connection. The console calls /health on the agent from the server side, using your key.
  4. When the test passes, click Save.

What each test failure means

FailureCauseFix
UnreachableThe console cannot open a connection to the URLCheck the URL, and that the metrics.listen port is reachable from outside
401Invalid keyRe-copy the key from openshield key
403Caller IP not whitelistedAdd the console egress range to metrics.whitelist and run openshield reload
TimeoutThe agent accepted the connection but answered too slowlySet auto_fetch.mode: dedicated so large updates do not stall responses, and confirm the port is reachable

After the server connects

Within a few seconds of saving, the server row turns green and the live metrics tab starts filling in: traffic, attack forensics, bans, and geo analytics. The console polls the agent from the server side; your API key is stored server-side and never shown to browsers.

If the row stays grey or flips back to offline, work through the troubleshooting guide.

Next steps