In this post, we are going to understand how to install ocsinventory-agent on Linux and windows system? and how we use this agent to fetch system information?
To understand GLPI and OCS Inventory integration read the below-related post.
Free Asset Management System: GLPI integration with OCS inventory server
Let’s start with the installation steps of OCS Inventory Agent.
First, we are going to install the ocs agent on a linux machine.
Step 1 : Update the repository of linux machine and install ocsinventory-agent with apt-get command,
$ apt-get update
$ apt-get install ocsinventoryagent
Step 2 : At the time of installation process it will prompt you to choose a method from http and local which means if you don’t have network connection choose Local and if ocs inventory Server is setup then choose “http” and then tab n click OK.
So here we are choosing http because we have already setup our OCS inventory Server.
please check below screenshot for more understanding.