Ocs Inventory Agent 馃 | Instalaci贸n y configuracion

Ocs Inventory Agent 馃 | Instalaci贸n y configuracion

Ya tienes tu servidor opensource OCS, y ahora que? dir谩s. Ahora debes instalar el Ocs Inventory Agent en cada equipo que quieres controlar, inventariar. Acomp谩帽ame en este tutorial en espa帽ol y aprende como instalarlo en diferentes OS.

Que es el Ocs Inventory Agent?

El Ocs Inventory Agent es un modulo de software desarrollado en perl que debemos instalar en cada uno de los equipos a controlar. Este software se ejecutara a diario o seg煤n nuestra configuracion (tambi茅n podemos ejecutarlo desconectado para despu茅s cargar en nuestro servidor su informaci贸n). Sin el agente, nuestro servidor no lo listara en su inventario por lo cual debe haber comunicaci贸n entre ellos para que esto sea autom谩tico despu茅s de instalado.

Requerimientos Ocs Inventory Agent

  • Servidor OCS Inventory instalado y actualizado (en la ip 192.168.5.101, haz el cambio a tu ip cuando sea necesario en el articulo)
  • Conectividad a internet

Ocs Inventory Agent 馃 | Instalaci贸n y configuracion SENCILLA

Todos los Ocs Inventory Agent se descargan de la pagina oficial de OCS, independientemente del sistema operativo al que queramos instalarlo, solo debes tener cuidado de SIEMPRE tener actualizado tu servidor OCS ya que el server SIEMPRE (hasta el momento de este articulo) debe ser mas actual que los agentes que se le conecten (para este articulo uso OCS Inventory Server 2.5 y Ocs Inventory Agent 2.4.x)

Todos los Ocs Inventory Agent se descargan de la pagina oficial de OCS
Todos los Ocs Inventory Agent se descargan de la pagina oficial de OCS

-Apenas damos click al que necesitamos, se nos pedir谩 registrar algunos de nuestros datos para permitirnos descargar aunque solo es obligatorio el email. Damos click al bot贸n Submit

Debes llenar un sencillo formulario para poder descargar el agente
Debes llenar un sencillo formulario para poder descargar el agente

-En la siguiente pagina veremos el listado de archivos que podemos descargar. Los Ocs Inventory Agent est谩n bajo AGENT

Ya tenemos acceso al listado de Ocs Inventory Agent
Ya tenemos acceso al listado de Ocs Inventory Agent

Instalando Ocs Inventory Agent en Ubuntu Linux

-Descargamos el agente Linux 2.4.2 en nuestro equipo Ubuntu Linux. Abrimos una consola de texto, descomprimimos el archivo y entramos a su directorio
tar xzvf Ocsinventory-Unix-Agent-2.4.2.tar.gz
cd Ocsinventory-Unix-Agent-2.4.2

-Instalamos las dependencias (la mayor铆a m贸dulos perl)
sudo apt install libdigest-md5-file-perl libxml-simple-perl libnet-ip-perl liblwp-protocol-https-perl libcrypt-ssleay-perl libnet-cups-perl libnet-snmp-perl libnet-netmask-perl libnmap-parser-perl libdata-uuid-perl libparse-edid-perl dmidecode read-edid ipmitool nmap libproc-daemon-perl libproc-pid-file-perl libcompress-zlib-perl

-Compilamos Ocs Inventory Agent en Ubuntu Linux
perl Makefile.PL
make

-Para instalar debemos tener privilegios (sudo) y casi todas las preguntas las responderemos con su respuesta default. Al final se enviara el primer inventario a nuestro servidor opensource OCS
sudo make install
Manifying 1 pod document
Manifying 4 pod documents
Appending installation info to /usr/local/lib/x86_64-linux-gnu/perl/5.26.1/perllocal.pod
[ ! -f run-postinst ] || /usr/bin/perl postinst.pl
Do you want to configure the agent
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
?> 0
Do you want to create the directory /etc/ocsinventory?
Please enter ‘y’ or ‘n’?> [y]
Should the old unix_agent settings be imported ?
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?> http://192.168.5.101/ocsinventory
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]
tag?> DriveMeca Etiqueta que nos servir谩 para crear grupos de equipos (ejemplo, contabilidad, sistemas, inventario, etc)
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]
Should I remove the old unix_agent
Please enter ‘y’ or ‘n’?> [n]
Do you want to activate debug configuration option ?
Please enter ‘y’ or ‘n’?> [y]
Do you want to use OCS Inventory NG UNix Unified agent log file ?
Please enter ‘y’ or ‘n’?> [y]
Specify log file path you want to use?> /var/log/ocs.log
Do you want disable SSL CA verification configuration option (not recommended) ?
Please enter ‘y’ or ‘n’?> [n] y
Do you want to set CA certificate chain file path ?
Please enter ‘y’ or ‘n’?> [y] 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]
Setting OCS Inventory NG server address…
Looking for OCS Invetory NG Unix Unified agent installation…
ocsinventory agent presents: /usr/local/bin/ocsinventory-agent
Setting crontab…
Creating /etc/ocsinventory directory…
Writing OCS Inventory NG Unix Unified agent configuration
Creating /var/lib/ocsinventory-agent/http:__192.168.5.101_ocsinventory directory…
Copying SNMP MIBs XML files…
Activating modules if needed…
Launching OCS Inventory NG Unix Unified agent…
Can’t open display
Use of uninitialized value in subtraction (-) at /usr/share/perl5/Parse/EDID.pm line 533.
Use of uninitialized value $edid{“ratio_precision”} in string eq at /usr/share/perl5/Parse/EDID.pm line 533.
-> Success!
New settings written! Thank you for using OCS Inventory

Instalando Ocs Inventory Agent en Microsoft Windows

-Descargamos el agente 2.4.0.0 y descomprimimos el archivo. Seguidamente debemos Ejecutar como administrador (click bot贸n derecho del mouse) el fichero OCS-NG-Windows-Agent-Setup.exe

Para que se pueda instalar como servicio en Windows, deje ejecutarse como administrador
Para que se pueda instalar como servicio en Windows, deje ejecutarse como administrador

-Permitimos su ejecuci贸n dando click al bot贸n Si

Aceptamos su ejecuci贸n
Aceptamos su ejecuci贸n

-Se nos da la bienvenida al asistente de instalaci贸n del agente. Damos click al bot贸n Next

Comienza la instalaci贸n de OCS Inventory Agent en Windows
Comienza la instalaci贸n de OCS Inventory Agent en Windows

-Aceptamos la licencia dando click al bot贸n I Agree

Aceptamos la licencia para instalar
Aceptamos la licencia para instalar

-Llegamos al listado de componentes que se instalaran. Damos click al bot贸n Next

Aceptamos los defaults de componentes a instalar
Aceptamos los defaults de componentes a instalar

-En la siguiente pantalla escribimos el URL donde encontrara nuestro servidor OCS http://ip-servidor/ocsinventory (haz el cambio a tu ip en ip-servidor). Desmarcamos la opci贸n Validate certificates. Damos click al bot贸n Next

Configuramos el URL de nuestro servidor OCS opensource
Configuramos el URL de nuestro servidor OCS opensource

-Si tu Windows llegara hasta el servidor OCS por medio de un proxy, en esta pagina configuraras los datos. Si no es el caso, dejamos todo en blanco y damos click al bot贸n Next

Si necesitas un proxy, puedes configurarlo para el agente
Si necesitas un proxy, puedes configurarlo para el agente

-De opciones generales activamos Enable verbose log (dejara un archivo de log en el directorio donde descomprimimos el agente), escribimos un TAG (nos servir谩 para despu茅s agrupar equipos, ejemplo, contabilidad, inventario, sistemas, etc), activamos Immediately launch inventory para que se envi茅 un inventario al terminar de instalar. Damos click al bot贸n Next

Activamos el envi贸 de un inventario apenas termine de instalar el agente
Activamos el envi贸 de un inventario apenas termine de instalar el agente

-Aceptamos el directorio destino para la instalaci贸n. Damos click al bot贸n Next

Aceptamos directorio de instalaci贸n
Aceptamos directorio de instalaci贸n

-Esperamos unos segundos mientras se instala OCS Inventory Agent en Microsoft Windows

En unos segundos tendremos instalado el agente
En unos segundos tendremos instalado el agente

-Finaliza la instalaci贸n. Activamos la opci贸n Start OCS Inventory NG Systray Applet. Damos click al bot贸n Finish

Activamos el applet de la barra inferior de windows
Activamos el applet de la barra inferior de windows

-En nuestra barra, cerca del reloj, veremos el applet de OCS ejecut谩ndose

El applet de OCS nos indica que se esta ejecutando como servicio
El applet de OCS nos indica que se esta ejecutando como servicio

-Si damos click bot贸n derecho del mouse sobre el applet se nos mostraran las opciones de ejecutar y enviar un inventario en este momento (ideal para forzar un envi贸), Muestra informaci贸n del inventario (veras el inventario que se enviara en una ventana local) y Salir (esto cerrara el applet, no el servicio

El applet OCS tiene opciones 煤tiles
El applet OCS tiene opciones 煤tiles

Instalando Ocs Inventory Agent en Fedora Linux

-Abrimos una consola de texto y descargamos el agente Linux en su versi贸n 2.4.2, lo descomprimimos y entramos a su directorio
wget -c聽https://github.com/OCSInventory-NG/UnixAgent/releases/download/v2.4.2/Ocsinventory-Unix-Agent-2.4.2.tar.gz
tar xzvf Ocsinventory-Unix-Agent-2.4.2.tar.gz
cd聽Ocsinventory-Unix-Agent-2.4.2

-Instalamos todas las dependencias (la mayor铆a m贸dulos perl)
sudo dnf install聽perl-Digest-MD5聽perl-XML-Simple聽perl-Net-IP聽perl-libwww-perl聽perl-Crypt-SSLeay聽perl-LWP-Protocol-https聽perl-Net-CUPS聽perl-Net-SNMP聽perl-Net-Netmask聽perl-Net-Ping聽perl-Nmap-Parser聽perl-Data-UUID聽perl-Parse-EDID聽ipmitool nmap聽perl-Proc-Daemon聽perl-Proc-PID-File聽perl-IO-Compress聽perl-ExtUtils-MakeMaker

-Compilamos OCS Inventory Agent en Fedora Linux
perl Makefile.PL
make

-Para instalar debemos tener privilegios (sudo) y la mayor铆a de las preguntas las responderemos con sus defaults. Al final se enviara un inventario de nuestro Fedora Linux al servidor OCS
sudo make install
[sudo] password for drivemeca:
Manifying 1 pod document
Manifying 4 pod documents
Installing /usr/local/share/perl5/Ocsinventory/Logger.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent.pm
Installing /usr/local/share/perl5/Ocsinventory/Compress.pm
Installing /usr/local/share/perl5/Ocsinventory/LoggerBackend/Syslog.pm
Installing /usr/local/share/perl5/Ocsinventory/LoggerBackend/Stderr.pm
Installing /usr/local/share/perl5/Ocsinventory/LoggerBackend/File.pm
Installing /usr/local/share/perl5/Ocsinventory/Unix/postinst.pl
Installing /usr/local/share/perl5/Ocsinventory/Agent/Common.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Network.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Config.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Hooks.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/AccountConfig.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/AccountInfo.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Modules/Snmp.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Modules/Example.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Modules/Download.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Modules/Apache/VhostsEL.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Modules/Apache/Vhosts/Common.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Modules/Databases/Oracle.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Modules/Databases/Oracle/Instances.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Modules/Snmp/8072.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Modules/Snmp/231.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Modules/Snmp/311.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Modules/Snmp/11.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Modules/Snmp/Entity_Mib.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Modules/Snmp/If_Mib.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Modules/Snmp/641.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Modules/Snmp/7244.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Modules/Snmp/9.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Modules/Snmp/Default.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Modules/Snmp/Printer_Mib.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Modules/Snmp/3375.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Modules/Snmp/42.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Modules/Snmp/3224.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Modules/Snmp/789.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Modules/Snmp/2620.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Modules/Snmp/Host_Resources_Mib.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/DeviceID.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/AccessLog.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/IpDiscover.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/BSD.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/MacOS.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Solaris.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/HPUX.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/AIX.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/AIX/Users.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/AIX/Storages.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/AIX/Controller.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/AIX/Mem.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/AIX/Hardware.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/AIX/Domains.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/AIX/Modems.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/AIX/Slots.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/AIX/Memory.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/AIX/Software.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/AIX/LVM.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/AIX/Networks.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/AIX/IPv4.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/AIX/Videos.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/AIX/Drives.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/AIX/CPU.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/AIX/Sounds.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Uptime.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Storages.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Mem.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Domains.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Inputs.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/LVM.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Drives.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Sys.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Sounds.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Network/IP.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Network/Networks.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Distro/LSB.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Distro/NonLSB.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Distro/NonLSB/SuSE.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Distro/NonLSB/Redhat.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Distro/NonLSB/ArchLinux.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Distro/NonLSB/Ubuntu.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Distro/NonLSB/Oracle.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Distro/NonLSB/Trustix.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Distro/NonLSB/VmWare.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Distro/NonLSB/Mandriva.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Distro/NonLSB/Gentoo.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Distro/NonLSB/Slackware.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Distro/NonLSB/Debian.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Distro/NonLSB/Mandrake.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Distro/NonLSB/CentOS.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Distro/NonLSB/Knoppix.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Distro/NonLSB/Fedora.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Archs/i386.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Archs/SPARC.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Archs/s390x.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Archs/Alpha.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Archs/m68k.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Archs/MIPS.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Archs/ARM.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Archs/PowerPC.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Archs/SPARC/CPU.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Archs/s390x/CPU.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Archs/m68k/CPU.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Archs/ARM/CPU.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Archs/PowerPC/Various.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Archs/PowerPC/CPU.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Archs/Alpha/CPU.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Archs/i386/CPU.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Archs/MIPS/CPU.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Storages/3ware.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Storages/HP.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Storages/Lsilogic.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Storages/FusionIO.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Storages/ServeRaid.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Storages/Adaptec.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Storages/Megacli.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Users.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Lsusb.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Packaging.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Dmidecode.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Screen.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Hostname.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Ipmi.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Lspci.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Repository.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Dmidecode/Ports.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Dmidecode/Batteries.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Dmidecode/Slots.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Dmidecode/Memory.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Dmidecode/UUID.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Dmidecode/Bios.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Lsusb/Usb.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Printers/Cups.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Repository/BSD.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Repository/Debian.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Repository/CentOS.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Repository/Rhel.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Packaging/RPM.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Packaging/BSDpkg.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Packaging/Deb.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Packaging/ByHand.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Packaging/Gentoo.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Packaging/Pacman.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Lspci/Controllers.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Lspci/Modems.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Lspci/Videos.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Lspci/Sounds.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/BSD/Uptime.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/BSD/Storages.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/BSD/Mem.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/BSD/Domains.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/BSD/Networks.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/BSD/IPv4.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/BSD/Drives.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/BSD/Sys.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/BSD/CPU.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/BSD/Archs/Sparc.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/BSD/Archs/Sgimips.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/BSD/Archs/Alpha.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/BSD/Archs/I386.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Solaris/Users.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Solaris/Storages.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Solaris/Controllers.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Solaris/Mem.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Solaris/Ports.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Solaris/Domains.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Solaris/Packages.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Solaris/Slots.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Solaris/Memory.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Solaris/Bios.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Solaris/Networks.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Solaris/IPv4.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Solaris/Drives.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Solaris/CPU.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/HPUX/Storages.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/HPUX/Controller.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/HPUX/Mem.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/HPUX/Domains.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/HPUX/Slots.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/HPUX/Memory.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/HPUX/Bios.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/HPUX/Software.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/HPUX/Networks.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/HPUX/README
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/HPUX/IPv4.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/HPUX/Drives.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/HPUX/CPU.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/MacOS/Uptime.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/MacOS/Storages.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/MacOS/Controllers.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/MacOS/Mem.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/MacOS/Domains.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/MacOS/Packages.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/MacOS/Hostname.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/MacOS/Slots.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/MacOS/Sound.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/MacOS/UUID.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/MacOS/Camera.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/MacOS/Bios.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/MacOS/Video.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/MacOS/Networks.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/MacOS/Printers.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/MacOS/IPv4.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/MacOS/Drives.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/MacOS/CPU.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/IpDiscover/Nmap.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/IpDiscover/IpDiscover.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/Virtualization/Vmsystem.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/Virtualization/SolarisZones.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/Virtualization/VirtualBox.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/Virtualization/Libvirt.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/Virtualization/Xen.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/Virtualization/VmWareDesktop.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/Virtualization/Lxc.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/Virtualization/XenCitrixServer.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/Virtualization/Qemu.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/Virtualization/Jails.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/Virtualization/VmWareESX.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/Virtualization/SolarisLdoms.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/Virtualization/VmWareWorkstation.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/Virtualization/Docker.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/Virtualization/Parallels.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/Virtualization/Xen/XM.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/Backend/Virtualization/Xen/XL.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/XML/Prolog.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/XML/Inventory.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/XML/Response.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/XML/SimpleMessage.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/XML/Response/Prolog.pm
Installing /usr/local/share/perl5/Ocsinventory/Agent/XML/Response/Inventory.pm
Installing /usr/local/share/man/man1/ocsinventory-agent.1
Installing /usr/local/share/man/man3/Ocsinventory::Agent::Modules::Databases::Oracle::Instances.3pm
Installing /usr/local/share/man/man3/Ocsinventory::Agent::Common.3pm
Installing /usr/local/share/man/man3/Ocsinventory::Agent::Modules::Apache::Vhosts::Common.3pm
Installing /usr/local/share/man/man3/Ocsinventory::Agent::XML::Inventory.3pm
Installing /usr/local/bin/ocsinventory-agent
Installing /usr/local/bin/ipdiscover
Appending installation info to /usr/lib64/perl5/perllocal.pod
[ ! -f run-postinst ] || /usr/bin/perl postinst.pl
Do you want to configure the agent
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
?> 0
Do you want to create the directory /etc/ocsinventory?
Please enter ‘y’ or ‘n’?> [y]
Should the old unix_agent settings be imported ?
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?> http://192.168.0.6/ocsinventory
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]
tag?> DriveMeca
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]
Should I remove the old unix_agent
Please enter ‘y’ or ‘n’?> [n]
Do you want to activate debug configuration option ?
Please enter ‘y’ or ‘n’?> [y]
Do you want to use OCS Inventory NG UNix Unified agent log file ?
Please enter ‘y’ or ‘n’?> [y]
Specify log file path you want to use?> /var/log/ocs.log
Do you want disable SSL CA verification configuration option (not recommended) ?
Please enter ‘y’ or ‘n’?> [n] y
Do you want to set CA certificate chain file path ?
Please enter ‘y’ or ‘n’?> [y] 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]
Setting OCS Inventory NG server address…
Looking for OCS Invetory NG Unix Unified agent installation…
ocsinventory agent presents: /usr/local/bin/ocsinventory-agent
Setting crontab…
Creating /var/lib/ocsinventory-agent directory…
Creating /etc/ocsinventory directory…
Writing OCS Inventory NG Unix Unified agent configuration
Creating /var/lib/ocsinventory-agent/http:__192.168.0.6_ocsinventory directory…
Creating /var/lib/ocsinventory-agent/http:__192.168.0.6_ocsinventory/snmp directory…
Copying SNMP MIBs XML files…
Activating modules if needed…
Launching OCS Inventory NG Unix Unified agent…
Can’t open display
Use of uninitialized value in subtraction (-) at /usr/share/perl5/vendor_perl/Parse/EDID.pm line 533.
Use of uninitialized value $edid{“ratio_precision”} in string eq at /usr/share/perl5/vendor_perl/Parse/EDID.pm line 533.
Aug 29 21:43:10 | /etc/multipath.conf does not exist, blacklisting all devices.
Aug 29 21:43:10 | You can run /sbin/mpathconf to create or modify /etc/multipath.conf
Aug 29 21:43:10 | DM multipath kernel driver not loaded
-> Success!
New settings written! Thank you for using OCS Inventory

Inventarios de equipos en el servidor OCS

-En nuestro servidor OCS veremos los equipos en la consola o dashboard web en el men煤 Todos los computadores. En la pagina principal podemos quitar / agregar columnas ademas de eliminar equipos

En la consola web OCS veremos el listado de equipos inventariados
En la consola web OCS veremos el listado de equipos inventariados

-Al darle click al nombre de un equipo bajo la columna Computador, entraremos a mirar mas de cerca su inventario. All铆 a la izquierda tenemos una serie de botones para ver su informaci贸n por secciones. El sistema nos permite ademas dejar algunas notas y cambiar el TAG

Dentro del inventario de un equipo veremos organizada toda la informaci贸n
Dentro del inventario de un equipo veremos organizada toda la informaci贸n

OCS Inventory Server de la mano de sus OCS Inventory Agent se convertir谩 en una herramienta sumamente 煤til para tener inventariado todo el software y hardware de tus equipos. Ya lo usas, como te ha ido? Cu茅ntame aqu铆 debajo en los comentarios.

Satisfech@ con el articulo, hazme una donaci贸n, no importa la cantidad, la intenci贸n es lo que vale, dale click a este bot贸n

Comparte este articulo opensource en tus redes sociales (compartir es sexy) por medio de los botones de redes sociales para que otros lo conozcan y apoyes mi blog.

Ademas, no olvides escribirme en los comentarios aqu铆 debajo y pasa la voz compartiendo el tweet.

Ocs Inventory Agent 馃 | Instalaci贸n y configuracion
Te gusto, vota por este post

Evangelizador del opensource. Ataco el stress con un videojuego o viajando en mi motocicleta.

Escribe tu comentario

Please Login to comment
  Suscribete  
Notificaci贸n de