Short answer: the agent follows the server. If your inventory lives in GLPI, use the GLPI Agent, because GLPI 10 and later read its data natively. If you run OCS Inventory, use the OCS agent that matches your server line: the classic 2.x agent for an OCS 2.12 server, or the new 3.x agent for the rewritten OCS Inventory 3. Running OCS agents just to feed GLPI only makes sense if you already have a large OCS estate and accept a sync plugin that is looking for maintainers.
This comparison was put together on 4 December 2026 from the projects’ GitHub releases, the OCS Inventory documentation and wiki, and the GLPI Agent documentation. The OCS Inventory 3.1.0 release appeared on GitHub that same day. Not tested yet: we have not run these versions ourselves, so pilot on a few machines first.
The three agents at a glance
“OCS agent” now means two different programs. The 2.x agents (a C++ Windows agent and a Perl Unix agent) talk to the classic OCS server. The 3.x agent is a new codebase written in Dart, and its README says it is meant to be used strictly with version 3.0 of the server.
| Item | OCS agent 2.x | OCS agent 3.x | GLPI Agent |
|---|---|---|---|
| Latest release | Windows 2.11.0.1 (23 May 2025); Unix 2.10.5 (23 April 2026); server 2.12.6 (25 August 2026) | 3.1.0 (4 December 2026); 3.0.0 was 12 October 2026 | 1.21 (8 October 2026) |
| Licence | Free, GPL-2.0 | Free, GPL-3.0 | Free, GPL-2.0 or later |
| Reports to | OCS 2.x communication server (/ocsinventory); also accepted by the 3.x server’s legacy endpoint | OCS Inventory 3.x server only | GLPI 10 or later (native inventory); FusionInventory plugin still supported |
| Windows | Vista and later, 32-bit and 64-bit since 2.7 | Windows 10 and 11; MSI is 64-bit only | 64-bit MSI; no 32-bit build since 1.8 |
| Other systems | Linux, Solaris, AIX (Unix agent; BSD listed as in progress) | RHEL, Rocky and AlmaLinux 8 to 10; Debian 11 to 13; Ubuntu 22, 24, 26; macOS 14, 15 and 26 (Intel and ARM) | macOS (Intel and Apple Silicon), Linux (RPM, DEB, Snap, AppImage) |
| Inbound port | None: the agent only opens outbound HTTP or HTTPS | Not stated in the documentation | 62354 for its local web page; can be turned off |
| Network discovery | IPDiscover run by elected agents on each subnet; SNMP scan by the Unix agent only | IPDiscover runs on the server; SNMP is a separate SNMP Scanner tool | Network discovery and network inventory tasks, which need the GLPI Inventory plugin |
| Software deployment | Built into OCS (package deployment) | The agent can process packages after the inventory upload if deployment is enabled | Deploy task, which needs the GLPI Inventory plugin |
| Offline inventory | /LOCAL= writes a file for import | Local JSON workflow | glpi-inventory, then import or glpi-injector |
Why the server decides
An inventory agent is only half of a system. The OCS agents speak the OCS protocol: the 2.x agent posts compressed XML to the Apache and Perl communication server at /ocsinventory, and the 3.x agent posts to the new Django REST backend. The GLPI Agent speaks the protocol of GLPI’s native inventory, which has been built into the GLPI server since version 10.
The two families share history. The GLPI Agent is a fork of the FusionInventory agent, and its README still credits OCS Inventory contributors for code from 2006 to 2010. The shared ancestry does not make the protocols interchangeable. We found no official statement that the GLPI Agent can report to an OCS server, or that an OCS agent can report straight to GLPI, so plan as if neither works.
The GLPI server itself is GLPI; on the day of writing its newest releases were 12.0.3 and 11.0.14, both from 2 December 2026. The agent has its own catalogue entry: GLPI Agent.
Silent install on Windows, side by side
The commands below come from each project’s documentation. Replace the server addresses and tags with yours.
OCS agent 2.x
The 2.x Windows agent ships as a ZIP containing OCS-NG-Windows-Agent-Setup.exe. The OCS wiki documents /S for a silent install, /NOSPLASH, /NOW to run an inventory right after setup, plus /SERVER=, /SSL=, /CA= and /TAG=:
OCS-NG-Windows-Agent-Setup.exe /S /NOSPLASH /SERVER=https://ocs.example.com/ocsinventory /NOW /TAG=officeThe wiki suggests a logon or startup GPO script, or PsExec, for mass rollout, and warns against using the OCS Packager to upgrade an existing agent.
OCS agent 3.x
Version 3 offers an Inno Setup EXE and, since 3.1.0, an MSI. The MSI takes properties such as OCS_URL, OCS_TAG, OCS_CERTIFICATE and OCS_MODE; settings end up in C:\ProgramData\OCSInventory-Agent\config.json:
msiexec /i OCSInventory-Agent-Setup-Windows-3.1.0.msi /qn OCS_URL=https://ocs.example.com OCS_TAG=officeGLPI Agent
msiexec /i GLPI-Agent-1.21-x64.msi /quiet SERVER="https://glpi.example.com/" TAG=office RUNNOW=1Our GLPI Agent install guide covers the other MSI options, winget and the GPO script. The project’s GPO script can also remove existing OCS Inventory or FusionInventory agents during the switch.
Moving between OCS 2.x and 3.x
The OCS documentation describes four migration paths: full replacement, parallel agents, proxy duplication, and a legacy endpoint. The last one matters if you have old machines: the 3.x server accepts 2.x agents at /asset/legacy/, and the documentation recommends legacy agents for devices that do not meet the 3.x agent requirements, such as Windows versions older than 10.
One trap is documented: some 2.x agents regenerate their device ID after network changes, which can create a duplicate asset on the 3.x server. The fix is the “Legacy duplicate reconciliation” setting under Configurations > General, which can match on name, serial number or MAC address instead.
The 3.x server needs Python 3.10 or newer and MySQL 8.0 (or MariaDB) or PostgreSQL 17, on a Debian- or Red Hat-based Linux. The 2.x server needs Apache with mod_perl, PHP 7 or later, and MySQL or MariaDB with InnoDB.
Using OCS and GLPI together
The bridge is the ocsinventoryng plugin for GLPI, which synchronises computers from an OCS database into GLPI. It is still released: 2.2.0 for GLPI 12 and 2.1.14 for GLPI 11, both on 23 October 2026. However, the first line of its README asks for new maintainers, and the README does not say whether the plugin supports the OCS 3.x server. Do not plan an OCS 3 migration around it without checking that first.
Security releases on the OCS 2.x line
If you stay on OCS 2.x, keep the server current. The release notes list CVE-2026-22675 fixed in 2.12.4 (March 2026), CVE-2026-16475 fixed in 2.12.5 (July 2026), and five web console CVEs (CVE-2026-76174 to CVE-2026-76178) fixed in 2.12.6 (August 2026). The 2.x communication server also received a fix in 2.12.6.
Which one fits you
- Choose the GLPI Agent if GLPI is, or will be, your ticketing and asset system; if you want one agent for Windows, macOS and Linux; and if you are fine adding the GLPI Inventory plugin for discovery and deployment.
- Choose the OCS 3.x agent if you want a standalone inventory with a REST API, rules and automated actions, and your fleet runs Windows 10 or 11, current Linux distributions or recent macOS.
- Keep the OCS 2.x agent for older Windows, Solaris or AIX machines, reporting either to a patched 2.12.6 server or to the 3.x legacy endpoint.
- Neither fits if you cannot install software on the endpoints. An agentless scanner such as Open-AudIT (SNMP, WMI and SSH) is the better start; see the IT asset management and help desk tools hub for more options.
Limitations
- Not tested yet: features and commands come from documentation and release notes, not from our own lab.
- OCS 3 is young. According to the OCS documentation, several 2.x features, including software categories, CVE reporting, notifications and Green IT, are still listed as planned, and many old plugins are replaced by a new template system.
- The GLPI Agent’s network and deploy tasks do nothing useful without the GLPI Inventory plugin; plain machine inventory works without it.
FAQ
What is OCS Inventory?
OCS Inventory NG is an open-source hardware and software inventory system: agents on each computer send an inventory to a central server, which adds network discovery, SNMP data and package deployment. The 2.x line is GPL-2.0; the rewritten 3.x line is GPL-3.0.
Is OCS Inventory 3 released?
Yes. Version 3.0.0 of the agent, backend and web interface was published on GitHub on 12 October 2026, and 3.1.0 followed on 4 December 2026. The 2.x server is still maintained separately, with 2.12.6 as its latest release.
Can the OCS agent send inventory to GLPI?
Not directly according to the official documentation we checked. GLPI gets OCS data through the ocsinventoryng plugin, which reads the OCS database. To feed GLPI without OCS, install the GLPI Agent.
GLPI Agent vs FusionInventory: what changed?
The GLPI Agent is a fork of the FusionInventory agent. It adds a protocol for GLPI’s native inventory (GLPI 10 and later) and keeps compatibility with the FusionInventory plugin. GLPI’s own documentation says FusionInventory is no longer supported, so new installs should use the GLPI Agent.
Do old OCS 2.x agents work with an OCS 3 server?
Yes, through the legacy endpoint /asset/legacy/ on the 3.x server. Watch for duplicate assets if those agents regenerate their device ID.
Last updated: 4 December 2026 · AdminHub Plus editorial team. Licence, version and platform details are checked against each developer's official documentation.