Base and Template Inventory
Assets in OCS have two types of inventory data: base inventory and template inventory.
Base Inventory
The base inventory provides a default set of core information about an asset. This inventory is always available and includes the following fields:
Name
Description
Serial Number
OS Name
OS Version
UUID
IP Address
Mac Address
Domain
Agent Version
Template Inventory
To extend the base inventory, OCS uses a template system. These templates add extra fields and define what method should be used to retrieve the corresponding data.
Preloaded Templates
By default, OCS includes six preloaded templates, visible at Configurations → Inventory → Templates:
Legacy (for compatibility with legacy agents, version 2.X)
Linux (Debian based)
Linux (RHEL based)
MacOS
Windows
Generic SNMP
Template Assignment
OCS automatically assigns templates to assets based on their operating system/agent version during the first inventory using predefined Rules.
Out of the box, OCS provides six predefined rules, evaluated against the OS Name or Agent field of the base inventory and used to assign Templates automatically:
Field evaluated
OS Name
OS Name
OS Name
OS Name
Agent
OS Name
Value(s) expected
Windows
Ubuntu, Debian
Redhat, Centos, Alma, Rocky
Mac
OCS-NG
SNMP
Template
Windows
Debian based
RHEL based
macOS
Legacy
Generic SNMP
Notes on automatic assignment:
Rules are evaluated with each incoming inventory.
If no rule matches, the asset will only report using the base inventory.
Template assignment can also be switched to manual selection per device. More details are available on the Managing Rules page.
Last updated

