Volver a la wiki

Network discovery: how CreaRack identifies your devices

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:

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):

  1. ICMP (Ping) — checks the device is alive and measures round-trip time. A device that does not answer ping is not probed further.
  2. 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.
  3. 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 public and private as fallbacks — so a wrong community often still finds the device.
  4. HTTP — fingerprints the device’s web interface on ports 443 and 80 (server header). Optional; many devices have no web UI.
  5. 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

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

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.

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:

  1. 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.
  2. The Agent probes with the SNMP credentials stored in that device’s profile, which the server hands it — they never travel through your browser.
  3. 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:

Troubleshooting

SymptomLikely causeFix
“The Primary agent is offline …” or “This Agent is offline”The Agent you chose is not connectedPick 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.0Update 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 AgentMake sure the Agent is running on this very computer, then retry; otherwise choose the Primary agent
Range rejected, naming some addressesThe range includes public addressesScan 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 scanWait, or press Stop to cancel yours
Device alive but Method = PINGSNMP disabled or wrong communityEnable SNMP on the device, set the community, then Refresh
Wrong or missing vendor/modelIdentification relied on MAC OUI onlyProvide SNMP or SSH credentials and Refresh
Deep Discover button missingDevice has no SNMP support or no stored credentialsGet SNMP working first via a normal discovery
Deep discovery returns little dataNo vendor MIBs for that makerUpload the vendor’s MIB files via Vendor MIBs and re-run
Refresh failsDevice offline or Agent below v2.3.0Ping the device; update the Local Agent
Subir