Skip to content
ResolveDesk

Assets and CMDB

How to run asset discovery with the collector scripts

Create an API key, download a collector for Windows, macOS or Linux, run it on a device and read the discovery summary.

Last updated

Asset discovery lets devices report themselves, so the asset register stays true without anyone typing it in. A small script reads the device's hardware, operating system, network addresses and installed software and sends them to ResolveDesk. Who can use it: Asset Managers, Administrators and the Organisation Owner download the scripts. People who can read assets see the results.

Create an API key

  1. Open API keys in the admin menu.
  2. Enter a Name, such as Discovery, and choose when the key expires.
  3. Tick the asset management permission and select Create key.
  4. Copy the key. It is shown once.

Download and run a collector

  1. Open Asset discovery in the main menu.
  2. Under Collectors, choose the platform: Linux, macOS or Windows.
  3. The page shows the command to run, already filled in with your ResolveDesk address.
  4. Select Download and run the script on a device with the key. On Linux and macOS it needs sudo, and on Windows it runs in PowerShell as administrator.

The device appears as an asset, with its installed software listed. Nothing is installed on the device.

Schedule it

A collector reports once each time it runs. Run it regularly, for example daily, from a login script, a scheduled task or your management tool. ResolveDesk does not run it for you.

How devices are matched

A device is matched to an existing asset by serial number, then network address, then host name, so it keeps its history. A new device becomes a new asset. A device that reports none of these is skipped. A matching asset that is retired or lost is left as it is. Servers and network devices also become configuration items.

Read the summary

  • Devices seen, with breakdowns by type and operating system.
  • Devices that stopped reporting: devices not seen for 7 days.
  • Devices with nobody assigned. Assign them in asset management.
  • Most installed software, and an Installed software list you can search.

Try ResolveDesk yourself

Start a free trial or open the shared demo organisation with a test account for every role.