Ocs Inventory Agent 馃 | Instalaci贸n y configuracion

5 1 vote
Article Rating
[kkstarratings]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

Quieres ver este OCS tutorial en vídeo? Aquí debajo te lo muestro, ah, y no olvides suscribirte a mi canal

-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

Quieres ver este OCS tutorial en vídeo? Aquí debajo te lo muestro, ah, y no olvides suscribirte a mi canal

-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.

5 1 vote
Article Rating
Suscribete
Notificaci贸n de
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x