Instalação do agente do OCS-Inventory em GNU/Linux

Faça o download do pacote OCSNG_UNIX_AGENT-1.02.tar.gz, a versão mais recente pode ser obtida em http://www.ocsinventory-ng.org.

wget http://downloads.sourceforge.net/project/ocsinventory/OCS%20Inventory%20NG/*/Ocsinventory-Unix-Agent-*.tar.gz

Descompacte os arquivos:

tar xzvf Ocsinventory-Unix-Agent-*.tar.gz

Entre no diretório Ocsinventory-Agent-*:

cd Ocsinventory-Unix-Agent-*/

Inicie a instalação:

perl Makefile.PL

Irá aparecer a seguinte mensagem:

Please install Crypt::SSLeay if you want to use SSL.
Checking if your kit is complete...
Looks good
Writing Makefile for Ocsinventory::Agent

Gerar Binários

make

Instalar Binários

make install

Surge o Assistente:

Do you want to configure the agent [Enter]
Please enter 'y' or 'n'?> [y]
Where do you want to write the configuration file?
0 -> /etc/ocsinventory
1 -> /usr/local/etc/ocsinventory
2 -> /etc/ocsinventory-agent
?> 1
Do you want to create the directory /usr/local/etc/ocsinventory?
Please enter 'y' or 'n'?> [y]
[info] The config file will be written in /etc/ocsinventory/ocsinventory-agent.cfg,
What is the address of your ocs server?> [ocsinventory-ng] IP_CONFIGURADO_O_OCS-INVENTORY_SERVER
Do you need credential for the server? (You probably don't)
Please enter 'y' or 'n'?> [n]
Do you want to apply an administrative tag on this machine
Please enter 'y' or 'n'?> [y] n
ocsinventory agent presents: /usr/bin/ocsinventory-agent
Do yo want to install the cron task in /etc/cron.d
Please enter 'y' or 'n'?> [y]
Where do you want the agent to store its files? (You probably don't need to change it)?> [/var/lib/ocsinventory-agent]
Do you want to create the /var/lib/ocsinventory-agent directory?
Please enter 'y' or 'n'?> [y]
New settings written! Thank you for using OCS Inventory
Should I remove the old linux_agent
Please enter 'y' or 'n'?> [n]
Do you want to use OCS-Inventory software deployment feature?
Please enter 'y' or 'n'?> [y]
Do you want to use OCS-Inventory SNMP scans feature?
Please enter 'y' or 'n'?> [y]
Do you want to send an inventory of this machine?
Please enter 'y' or 'n'?> [y]
[info] Accountinfo file doesn't exist. I create an empty one.

Instalação do agente do OCS-Inventory em Windows

Faça o download do agente do OCS-Inventory no link: https://github.com/OCSInventory-NG/WindowsAgent/releases/download/2.3/OCSNG-Windows-Agent-2.3.0.0.zip

Descompacte os arquivos e entre na pasta "OCSNG-WINDOWS-AGENT" e dê um duplo clique em "OCS-NG-Windows-Agent-Setup.exe"

Na tela que irá se iniciar, clique em Next

Na próxima tela, clique em I Agree

Tela de componentes, selecione todos menos a opção "Local inventory (no network connection)" e clique em Next

Erro ao criar miniatura: Arquivo não encontrado

Tela de opções, configure as opções desejadas e clique em Next

Em server URL, digite o IP 10.17.64.125

Em server port digite 80

Opções de Proxy, configure as opções desejadas e clique em Next

Referência

http://andredeo.blogspot.com.br/2009/08/instalando-agente-ocs-manualmente.html