Skip to content

Connect Your First Site

GridNMS Cloud needs a collector inside your network to do the actual watching. The collector connects outbound to your GridNMS instance — you never open any inbound firewall ports. This page gets your first collector online.

New to collectors? Read What Is a Collector? first.

  • A machine on the network you want to monitor (a small Linux VM is ideal — 1–2 CPUs and 1 GB RAM is plenty to start).
  • Outbound HTTPS (443) access from that machine to your GridNMS instance.
  • Admin access to your GridNMS instance.
  1. In GridNMS, go to Configure → Collectors.
  2. Select Add collector. GridNMS shows a ready-to-run command containing your instance address and a one-time join token.
  3. Copy that command — you’ll run it on your collector machine in the next step.

The Collectors page, where you add and manage collectors Configure → Collectors: add a collector and watch it come online.

Download the collector to your machine from the Customer Portal → Downloads (sign-in required):

  • Linux / Docker — download Collector (Docker image) for your CPU (collector-image-amd64.tar.gz) and load it into Docker:

    Terminal window
    docker load < collector-image-amd64.tar.gz

    This restores the image locally as gridnms/collector:latest.

  • Desktop app (Mac/Windows) — download the macOS .dmg or Windows .msi instead. See Installing a Collector.

Run the command from step 1 on your collector machine.

Run it with host networking so the collector sees the real source IP of syslog and SNMP traps:

Terminal window
docker run -d --name gridnms-collector --restart unless-stopped \
--network host \
-e GRIDNMS_TUNNEL_URL="https://tunnel.gridnms.io/api/tunnel/ws" \
-e GRIDNMS_JOIN_TOKEN="<your-join-token>" \
-e GRIDNMS_STATE_DIR=/var/lib/gridnms \
-v gridnms-collector-state:/var/lib/gridnms \
gridnms/collector:latest

(The Add collector screen fills in the tunnel URL and token for you.)

Back on Configure → Collectors, your new collector appears and turns online within a few seconds.

A collector only monitors the networks you assign to it:

  1. Open your collector on Configure → Collectors.
  2. Add the networks (IP ranges / CIDRs) it’s responsible for.
  3. Save. The collector begins discovering and watching devices in those ranges.

More on this in Networks & Sites.

Your network is connected. Now add devices and see GridNMS in action:

Getting Started Walkthrough

docs built 2026-07-27 · 4fd9e9cd