OCS Inventory
Import OCS Inventory IT asset data into OverSOC via CSV or JSON export
This document describes how to configure the OCS Inventory connector using the REST API to import hardware and software inventory data for your IT assets.
Objective
The OCS Inventory connector imports the following information via REST API:
- Hardware inventory (CPUs, RAM, disks, network interfaces)
- Software inventory (installed applications, versions)
- System information (OS, BIOS, users)
Prerequisites
- Access to OCS Inventory NG with administration rights
- REST API enabled on the OCS Inventory server
- API credentials configured (Basic Auth or IP Restriction)
Authentication
This connector uses Basic Authentication or IP Restriction for REST API access.
Procedure
Enable REST API Access
- Log in to the OCS Inventory NG web console with administrator rights.
- Access the REST API configuration in Apache settings.
- Enable the REST API module if not already enabled.
- Configure API authentication settings (Basic Auth or IP Restriction).
- Note the API endpoint URL.
Configure API Authentication
- For Basic Auth: Create API user credentials in OCS Inventory.
- For IP Restriction: Configure allowed IP addresses for API access.
- Store the authentication credentials securely.
Configure in OverSOC
- In OverSOC, go to Data Sources Settings > Sources.
- Select OCS Inventory and click Configure.
- Enter the OCS Inventory server URL.
- Configure authentication (Basic Auth username/password or IP-based).
- Click Save Configuration.
Official Documentation
For more information, see the OCS Inventory REST API Authentication