What it is
Discovery is the process CreaRack uses to identify a network device from its IP: who made it, what model it is, what type of device it is (switch, router, firewall, access point, UPS, media player), and how confident the identification is. It powers the [[crearack—network—auto-provision-wizard]] and the per-device Refresh and Deep Discover actions.
The scan itself runs on a Local Agent (CreaRackAgent.exe) inside the network — the cloud cannot reach private IPs. The CreaRack server orders the scan to the Agent you choose in Run on (see below); the Agent collects the raw data, and the server then enriches it, matches vendors and stencils, scores the result, and saves it as a device profile in the database. See [[crearack—terminal—local-agent]].
Which Agent runs the scan
Discovery (in Terminal › Network Tools) and the subnet scan of the [[crearack—network—auto-provision-wizard]] are ordered by the server to the Agent you pick in Run on. Your browser no longer sweeps the network through the Agent on your PC, so you can discover a customer’s network from your office or from home:
- Primary agent (the default) — the Agent that already monitors the client’s network. It needs Remote access via Primary agent turned on for the organization (see [[crearack—settings—remote-console]]).
- Another Agent connected to your organization — pick it by name.
- This PC — appears only when the Agent installed on your computer belongs to the active organization. CreaRack first checks automatically that your browser is on the same computer as that Agent; this local run does not need the remote-access switch.
Whichever you pick is remembered in your browser for the organization. The chosen Agent must be 2.39.0 or later.
Only private addresses are scanned (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 and 100.64.0.0/10). A range that includes public addresses is rejected, and the message lists which ones.
A scan keeps going if you close the tab. If the Agent is already running a heavy scan (a range sweep or full discovery), yours waits in line and shows its position; Stop cancels it, waiting or running.
The discovery phases
Every scan runs the same pipeline. You see it live in the wizard’s phase panel (Ping → ARP → SNMP → HTTP → Enrich):
- ICMP (Ping) — checks the device is alive and measures round-trip time. A device that does not answer ping is not probed further.
- ARP — reads the network’s ARP table to get the device’s MAC address, and derives the vendor from the MAC prefix (OUI). This works even on devices with no SNMP.
- SNMP — the core identification phase. The Agent queries the device for its system description, hostname, model and interfaces. It tries your community string first, then known vendor-specific strings, then
publicandprivateas fallbacks — so a wrong community often still finds the device. - HTTP — fingerprints the device’s web interface on ports 443 and 80 (server header). Optional; many devices have no web UI.
- Enrich — the server combines everything: vendor matching, model detection, stencil suggestion for the Rack Editor, and a Confidence score (green ≥70%, orange 40-69%, red <40%). The result is saved as a device profile.
Devices that only answer ping still get a minimal profile (IP + MAC + OUI vendor) with low confidence — useful as an inventory hint, but worth a Refresh with proper credentials later.
Single device vs subnet scan
- Single Device — one IP through the full pipeline. Typically 10-30 seconds.
- Subnet Scan — a CIDR or an IP range of up to 256 addresses (a
/24) is expanded into individual IPs. The Agent pings them in parallel batches, then runs ARP, SNMP and HTTP only on the hosts that answered. Results are enriched and appear progressively. A/24can take 10-20 minutes.
The quick scan in Network Tools (Discover / Ping only) works on up to 1024 addresses; see [[crearack—network—network-tools]]. The full modes are launched from the wizard — see [[crearack—network—auto-provision-wizard]] for the step-by-step.
Credentials: what discovery uses
- What you type in the wizard (community, SNMPv3 keys, SSH user/password) is ephemeral: it is used for that scan only and never stored in your browser. It travels to the server encrypted, and the Agent receives it from the server.
- Saved Credentials from the [[crearack—settings—credential-store]] can pre-fill the wizard fields, so you don’t re-type them per scan.
- Stored profile credentials: once a device is discovered, its working credentials are saved encrypted with its profile. From then on, the browser never sees them again — in the device card the community shows as a mask (
••••••), and any re-scan resolves the credentials on the server side.
Deep discovery (per device)
Standard discovery answers “what is this device”. Deep Discover answers “how is it doing”: it loads the vendor’s MIBs and queries extended SNMP data — CPU load, memory, VLANs, temperature and hardware inventory.
- Run it per device with the Deep Discover button in the results table or in the device card, or enable the Deep Discovery toggle before scanning to run it on every SNMP device automatically.
- It requires the device to support SNMP and to have working SNMP credentials on its profile.
- The job is dispatched to the Local Agent and tracked live; when it finishes, the device card gains Hardware, VLANs, Environment and Resources tabs, and the row shows a MIB badge.
- You can upload custom vendor MIBs first (Vendor MIBs button, or Upload MIB / Manage MIBs in the device card) to enrich the results.
It is noticeably slower than standard discovery (1-2 minutes per device), so use it when you need that detail.
Refreshing an already-discovered device
The Refresh button on a results row re-runs the full pipeline for that device only — no need to re-scan the whole subnet, and no need to re-enter credentials:
- The server orders the Agent chosen in Run on (2.39.0 or later) to probe the IP again (ping, ARP, SNMP, HTTP). Your browser does not talk to the Agent of your PC for this.
- The Agent probes with the SNMP credentials stored in that device’s profile, which the server hands it — they never travel through your browser.
- The server re-enriches the result, reusing the profile’s stored SNMP v2c/v3 and SSH credentials server-side, and updates the row in place.
Use it after changing a device’s config, fixing its SNMP setup, or when a first pass came back ping-only and you have since added credentials to the profile.
If the device already had Deep Discovery data, Refresh keeps it, with the date it was taken, until a new deep reading replaces it (one is requested automatically after the refresh). The ports keep showing their neighbours in the meantime. The old data is cleared only if a different device now answers on that IP (the refresh sees another MAC address).
Where the results go
Each discovered device becomes a device profile stored per organization. Profiles feed:
- The wizard’s Results & Assign table, where you route devices to racks and monitors.
- The Rack Editor’s pending-device panel ([[crearack—racks—auto-provision]]).
- Saved scans (Load Previous Results), shared with your whole team.
- Recent scans in Network Tools: every scan of your organization from the last 30 days is kept on the server, with who ran it, when, on which Agent and the range. Open one to see its devices again, from any computer.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| “The Primary agent is offline …” or “This Agent is offline” | The Agent you chose is not connected | Pick another Agent in Run on, or start the Agent and retry |
| “Update this Agent to 2.39.0 or later” | The chosen Agent is older than 2.39.0 | Update the Agent (see the Agent Fleet) or choose another |
| “The Agent on this PC could not confirm that you are next to it” | This PC is chosen but the browser could not prove it is on the same computer as the Agent | Make sure the Agent is running on this very computer, then retry; otherwise choose the Primary agent |
| Range rejected, naming some addresses | The range includes public addresses | Scan only private ranges (10/8, 172.16/12, 192.168/16, 100.64/10) |
| Scan shows “Waiting in line” | The Agent is busy with another heavy scan | Wait, or press Stop to cancel yours |
| Device alive but Method = PING | SNMP disabled or wrong community | Enable SNMP on the device, set the community, then Refresh |
| Wrong or missing vendor/model | Identification relied on MAC OUI only | Provide SNMP or SSH credentials and Refresh |
| Deep Discover button missing | Device has no SNMP support or no stored credentials | Get SNMP working first via a normal discovery |
| Deep discovery returns little data | No vendor MIBs for that maker | Upload the vendor’s MIB files via Vendor MIBs and re-run |
| Refresh fails | Device offline or Agent below v2.3.0 | Ping the device; update the Local Agent |
Related
- [[crearack—network—auto-provision-wizard]] — the wizard that runs discovery end to end
- [[crearack—settings—credential-store]] — saved credentials for prefill
- [[crearack—terminal—local-agent]] — the Agent that performs the scan
- [[crearack—racks—auto-provision]] — from discovery to the rack
- [[crearack—network—gestion-red]] — network management overview
Referenciado desde
- ADR: Eliminar python-nmap (abandonada) → subprocess + xml.etree stdlib
- Auto-Provision Wizard: discover and add network devices
- Barrido de subred de Auto-Provision ejecutado por el Agente primario (lado servidor, #500)
- Batching de Deep Discovery en re-escaneos automáticos
- Herramientas de red por el Agente elegido: Discovery y subred de Auto-Provision como trabajos del servidor (plan #500 E1b)
- Network Tools - Guía Completa
- Port Assignment Guide