Skip to main content

Scan profiles

A scan profile says what to scan, from which Collector, and how often. You can have several, for example one per network or per site.

Add a scan profile​

On the Discovery settings page, under Scan profiles, click Add scan profile and fill in:

FieldWhat to enter
NameA name that tells what it scans, for example Server network.
CollectorThe Collector that runs the scans. It needs to reach the addresses below.
ScanThe addresses to scan, one per line or separated by commas: single addresses, CIDR ranges such as 10.20.0.0/24, dash ranges such as 10.20.1.10-10.20.1.50 (or 10.20.1.10-50), and host names.
Skip (optional)Addresses or ranges within those not to scan, in the same formats.
CredentialsThe credentials to log in with. Only those the chosen Collector can use are listed. Without any, devices are identified by their open ports only.
SSH portThe port SSH logins are tried on, on every host this profile scans. Usually 22.
Port checkStandard (the default) checks each address on the ports that find most devices and tell printers from computers. Login ports only checks only the SSH port and WinRM (5985 and 5986), for a network that allows no more: see what each one checks and what Login ports only misses. Login ports only needs Collector 0.4.3 or later: the Collector's status shows its version. A profile given ports of its own through the API shows them here, and they're kept unless you choose another check.
Presence checkOff (the default), or Every 5 minutes, Every 15 minutes or Every hour. Every few minutes, the Collector checks whether the devices this profile found still answer, and sets their Online status: see Online or offline and what a presence check sends. Needs Collector 0.5.0 or later.
ScheduleEvery day at 02:00 UTC (the default), Every Monday at 02:00 UTC, or Only when run manually.
Record devices that can't be scannedOn by default. Devices no credential gets into are written as printers when they answer on a printer's port, and as unclassified devices otherwise. When it's off, they're only listed in the scan history. Printers identified over SNMP are written either way.

Where devices are written shows the type each kind of device goes to in the Discovery space.

A credential only reaches a host when both the profile uses it and its own Use only for list covers the host.

Run a scan​

Click Scan now on a profile to run it at once. A profile runs one scan at a time: while one is running, the button shows Scanning, and a scheduled scan that comes due meanwhile is skipped.

A scan runs on the profile's Collector, which needs to be online. If the Collector stops responding during a scan, the scan fails after a while, and the next one starts as usual.

Move a profile to another Collector​

Change the profile's Collector. Its credentials need to be usable by the new Collector: edit each one and add the new Collector under Collectors that may use it, entering the secret again. A profile with Port check set to Login ports only can only move to a Collector on release 0.4.3 or later, and one with a Presence check to a Collector on 0.5.0 or later. Scans waiting for the old Collector are cancelled.

Delete a profile​

Deleting a profile removes it and its schedule. The devices it has written stay in Starhive. With a presence check, they're no longer checked, and keep the last Online status they had.