Skip to main content

Inventory

The inventory records what each machine is and what is installed on it: the make, model and serial number, the processor, memory modules and disks, the software packages, the updates waiting, and a few things only a person knows, such as where the machine stands and when its warranty ends.

It answers questions like which servers are Dell R740s, which disk has serial number …, on how many machines is OpenSSL 3.0.2 still installed and which hosts need a reboot to finish their updates.

The agent collects it; see Agent Collectors for what exactly is read on Linux and Windows and what it needs.

Where to find it​

  • Infrastructure → Inventory searches the hardware and the software of every host at once.
  • A host's Inventory tab shows one machine in full.
  • Patches → Packages shows each package across the fleet: on how many hosts it is installed, in how many versions, and where an update is waiting.

All three follow the server live. A new upload from a host appears on screen without reloading, and a customer's hosts never show up for someone who may not see that customer.

Searching the fleet​

Infrastructure → Inventory has two tabs, Hardware and Software, over one search box. Every word you type has to match somewhere in the row, in any order, ignoring case:

TabSearchedExample
Hardwarehost name, asset tag, location, vendor, model, serial number, virtualization and hypervisor, processor, BIOS version, disk models and serial numbers, memory module manufacturers, part and serial numbers, MAC addressesdell r740, ST4000NM0035, rack 4
Softwarepackage name, version, source package, host nameopenssl 3.0.2, 7-zip, kernel 5.14

The filters narrow further: customer, and on the hardware tab the type (physical, virtual machine, container); on the software tab the package source (dpkg, rpm, apk, pacman, Windows programs) and whether an update is waiting for that package on that host, and the operating system (Linux or Windows). A host's name is followed by the icon of its operating system or distribution. The filters and the search are in the address, so a filtered view can be bookmarked or sent to a colleague.

Export CSV downloads what the current filters show, as a spreadsheet file with all matching rows (up to 200,000). The Software tab and the Packages page have their own exports. Cells that a spreadsheet could read as a formula are written as plain text.

A host's Inventory tab​

The tab shows hardware and installed software. Pending updates and the restart state are on the host's Patches tab; see A host's Patches tab.

  • Hardware — vendor, model, serial number, BIOS, processor, memory, the memory modules, the disks with their SMART verdict (the real disks, or a virtual machine's virtual ones; ZFS volumes and DRBD devices, which live on other disks, are left out), the network interfaces and whether the machine is physical, a virtual machine or a container (and on which hypervisor).
  • Pending updates (shown on the host's Patches tab) — each package with an update waiting, the installed and the available version, the repository, and a Security mark for updates that fix a security problem. Also whether a reboot is required and which packages ask for it, whether unattended upgrades or dnf-automatic install updates by themselves (and whether that covers security updates only, and when it last ran), which packages are held back and which repositories are configured. A Windows host lists its missing updates with their KB number, type, severity, size and restart behaviour, and gets an Update history card beside them; see Windows Updates.
  • Installed software — every package, searchable, in a box of its own height that loads further as it is scrolled, so the cards below stay in reach.
  • Asset details — the fields below, shown read-only on the host's Details tab.

A network device polled over SNMP, and a host whose agent is older than the inventory, have no hardware and software to show; the asset details are available for them all the same.

Asset details​

These are typed in by a person in the host's edit dialog (the three-dots menu or the host page), for an agent, a network device or a host without an agent, under the host's own edit right:

FieldMeaning
Vendor, Model, Serial numberThe machine's manufacturer, model and serial number, for a device that reports no hardware. See below.
LocationWhere the machine stands: room, rack, site. Free text.
Asset tagThe number on your inventory sticker.
Purchase dateThe day it was bought.
Warranty untilThe last day the manufacturer's warranty covers.
NoteAnything else worth knowing.

Changes appear on every open page at once, and are recorded in the audit log.

Vendor, model and serial number by hand. Some devices report no hardware, or report placeholders. A value typed in always wins: the host's Hardware card, the fleet hardware list with its search and CSV export show it instead of the reported one, and a host whose identity is set by hand is listed there even though it never sent an inventory. When the agent reported something different, the reported value is shown in small print beside the hand-set one (Reported by the agent: …). Leave a field empty to use what the agent reports.

Warranty alert. The dashboard reports the days left on each warranty as the metric warranty_days_remaining, and the default rule Warranty ends within 30 days warns when 30 days or fewer are left. The last day of the warranty counts as 0 days. When a warranty has been over for more than 30 days the metric is dropped and the alert resolves, so an old machine does not keep an alert open for as long as it stands. See Alert Rules.

Packages across the fleet​

Patches → Packages lists every package that any host has installed, with the number of hosts and of versions. Many versions on few hosts is drift worth looking at. Opening a package lists each version with the hosts that have it, and for hosts with an update waiting the version it would get; a security update is marked.

The filters are the customer, the package source, with updates waiting and the operating system.

When the inventory is collected and sent​

The agent collects the inventory when it starts and then every 30 minutes. It sends it to the dashboard only when it changed, and once a day otherwise so the dashboard can tell an unchanged host from a silent one. The upload is compressed. A host that cannot reach the dashboard tries again at the next collection.

On Linux hosts that use apt or dnf/yum, the agent also downloads the package lists itself, every 6 hours, so that the updates it reports are the ones the mirrors offer now and not those of the last time somebody ran apt update. It does not do this while a package manager is running on the host. The interval is the setting inventory_refresh_hours (see Agent Settings); 0 leaves the package lists to the host.

After a patch run the lists are fresh at once: the dashboard takes the updates the run installed out of the pending list as soon as the run succeeded, and the agent (3.3.1 or later) downloads the package lists, or searches Windows Update again, right after the run instead of waiting for the interval. A Linux host also refreshes them once after a reboot when they are older than the boot.

When the agent could not ask the package manager for updates, the Patches tab says so instead of showing an empty list: no updates and unknown are different things.

Hardware changes become events​

When a later upload differs from the stored one, the dashboard records an event on the host's timeline:

KindMeaning
inventory.disk_addedA disk appeared; the message names its model and serial number.
inventory.disk_removedA disk is gone. A swapped disk is one removal and one addition.
inventory.memory_changedThe memory modules or the total memory changed.
inventory.serial_changedThe machine's serial number changed, for instance after a board replacement.

They are informational and never notify, whatever the event rules say: a disk swap is a record for whoever asks about the machine, not a reason to wake anyone. A host's first inventory is not a change, and neither is a part the agent could not read this time (no disks listed, no serial number). Installing smartctl on a host, which makes serial numbers appear, does not look like every disk being replaced.

What the data looks like in the database​

For people who build reports on top of it:

TableHolds
inventory_hardwareOne row per host: the hardware as a JSON document, plus vendor, model, serial, virtualization and collected_at.
inventory_packagesOne row per installed package: system_id, name, version, arch, source (the source package), source_version (that source's version where it differs from version; dpkg only), obsolete (no repository provides the package, or it is a kernel older than the running one), manager (dpkg, rpm, apk, pacman or windows).
pending_updatesOne row per update waiting: system_id, name, current_version, candidate_version, security, source. Windows hosts also fill kb, update_id, category, severity, size_bytes, reboot_behavior and released_at.
windows_update_historyOne row per attempt Windows Update made on a Windows host: system_id, date, title, kb, operation, result, hresult.
inventory_stateOne row per host: the hash of the last upload, when it was collected, the running kernel_release, whether updates could be checked, whether unattended upgrades are active with unattended_scope (security or all) and unattended_last_run, reboot_required with reboot_packages, the held packages and the repositories.

An upload replaces all of a host's rows in one transaction, so a reader never sees half of an old inventory and half of a new one. The manual fields are columns of systems: location, asset_tag, purchase_date, warranty_until, note, manual_manufacturer, manual_model and manual_serial.

Limits​

  • Windows lists the programs of Programs and Features (both the 64-bit and the 32-bit registry views), not Windows updates or Store apps. Its missing updates come from the Windows Update Agent, see Windows Updates.
  • A container reports no hardware identity: what it could read of the machine's firmware and disks belongs to its host.
  • Only IPv4 addresses are listed with the network interfaces. IPv6 hosts hold temporary addresses that change daily, which would make every host look changed every day.
  • An upload may carry up to 30,000 packages and 10,000 updates.