Skip to content
@OCSInventory-NG

OCS Inventory NG

Open Computers and Software Inventory Next Generation is an assets management and deployment solution.

OCS Inventory Banner

OCS Inventory

Website Ask a Question OCS Pro

Welcome to the official repository profile for OCS Inventory (Open Computers and Software Inventory Next Generation), a powerful open-source asset management and package deployment solution. Since 2001, OCS Inventory has enabled administrators to discover, track, and manage their hardware and software assets across complex infrastructures.


1. Project Cohabitation: Version 2.X & Version 3.0

The OCS Inventory project is undergoing a major evolution. To ensure stability and support for all users, we are maintaining both the legacy and the reworked branches in parallel:

  • OCS Inventory 3.0 [Active Rework]
    • Status: Status 3.0
    • Focus: A complete technological redesign focusing on RESTful API-driven architecture, cross-platform Dart-based agent execution, unified data models, and a modern Vue.js web UI.
  • OCS Inventory 2.X [Legacy Branch]
    • Status: Status 2.X
    • Focus: Maintenance mode.
    • Support & EOL: Version 2.X will be maintained for 5 years. During this EOL period, it will receive critical security patches and major functional bug fixes. This guarantees operational continuity while you plan your transition.

2. OCS Inventory 3.0

OCS Inventory 3.0 is a complete overhaul of our architecture to embrace modern engineering practices, remove technical limitations, and enhance developer onboarding and community contributions.

Key Architectural Shifts

Feature / Stack OCS Inventory 2.X (Legacy) OCS Inventory 3.0 (Rework)
Backend & Communication Perl Communication Server & direct PHP MySQL queries Python (Django & Django REST Framework) RESTful API
Web Administration Console Monolithic PHP interface (ocsreports) Modern Vue.js SPA interface with responsive navigation
Agent Base Perl (Unix/Linux) and C++ (Windows) Unified, cross-platform Dart-based agent
Network Discovery Agent-side SNMP & IPDiscover (separated data) Dedicated standalone SNMP Scanner, server-side IPDiscover
Reporting / Queries Complex SQL/custom search forms Modern UI with no-code graphical reporting templates

For more details, see the dedicated Key Architecture Shift documentation.

Rework Repositories

Explore the components of OCS Inventory 3.0:

  • Server Backend API: The single entry-point for console communications and agent posts, exposing a fully open RESTful API.
  • Server Frontend Console: The brand-new Vue.js web dashboard for system reporting and administration.
  • Unified Agent Rework: The cross-platform Dart agent focusing on efficient and unified local inventory collection.
  • SNMP Scanner: Standalone scanner tool for agentless inventory, unifying SNMP network devices into the core catalog.
  • Server Packages: Deployment files, configurations, and OS packages (Debian, etc.) to install the V3 stack.

Getting Started & Migration Guidelines

We provide comprehensive paths to guide you through installation and transition:

  • Quickstart & Installation: Refer to the setup guides covering OS package installation and database configurations (like PostgreSQL).
  • Backward Compatibility: Version 3.0 includes a backward compatibility module allowing legacy 2.x agents to report standard inventory data directly to the new 3.0 backend.

Migration Strategies

For detailed steps and diagrams, see the dedicated Migration Strategies documentation.

  1. Parallel Agents (Recommended for validation): Run legacy 2.x and reworked 3.x agents side-by-side on the same assets to validate inventories with zero downtime.
  2. Proxy Duplication: Position a reverse proxy in front of your legacy server. Duplicate incoming XML inventory data, forwarding one flow to V2 and another to the V3 REST API.
  3. Legacy Endpoint Redirection: Keep the legacy hostname pointing to a reverse proxy that redirects legacy agent traffic into the V3 backend wrapper.
  4. Full Replacement: Uninstall 2.x agents/server and replace them with the 3.0 stack (optimal for smaller, automated fleets).

3. OCS Inventory 2.0 (Legacy)

Although the core development effort has transitioned to the 3.0 architecture, OCS Inventory 2.0 remains a stable workhorse. All legacy community portals, documentation sites, and repositories will remain active and online.

Legacy Source Repositories


License

OCS Inventory is licensed under the GPLv2 License.

Pinned Loading

  1. OCSInventory-ocsreports OCSInventory-ocsreports Public

    Webconsole for OCS Inventory NG

    JavaScript 251 159

  2. OCSInventory-Server OCSInventory-Server Public

    Communication server of OCS Inventory

    Perl 398 151

  3. WindowsAgent WindowsAgent Public

    OCS Inventory NG Agent for Windows

    C++ 179 88

  4. UnixAgent UnixAgent Public

    This is the OCS unified agent for Unix operating systems

    Perl 104 85

  5. AndroidAgent AndroidAgent Public

    OCS Inventory NG Android Agent

    Java 30 25

  6. Wiki Wiki Public

    Official repository for OCS Inventory documentation

    31 37

Repositories

Showing 10 of 24 repositories

Top languages

Loading…

Most used topics

Loading…