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.

Run the command from the previous step 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://<your-instance>/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 address 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