Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.8 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Installation Client OCS sur Serveur LINUX

Bonjour

 

J'ai installé manuellement le client OCS Linux (client v2.1.1) la remontée des informations se passe correctement  (OCS version 2.1.2)

Il me manque juste l'IP des seveurs LINUX sur lequel j'ai installé le CLIENT.

J'ai des zones avec que des serveurs linux et aucune possibilité de mettre en place un IPDISCOVER

Comment je dois procéder pour ces IP soient envoyés par le client sur le serveur ?

Merci d'avance
in OCS Inventory NG agent for Unix by (620 points)

5 Answers

0 votes
Peux tu lancer l'agent en mode débug et poster ton résultat?
by (2.1k points)
0 votes

bonjour 

Merci de ton retour 

Je poste les premieres lignes sur 8500  !!!

Tout remonte sauf la partie réseaux ,il s'agit d'un serveur (VM) Linux ,pour les Windows(VM) pas de soucis

Merci d'avance 

[Thu Dec 18 10:59:17 2014][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.1.1
[Thu Dec 18 10:59:17 2014][debug] Log system initialised (File)
[Thu Dec 18 10:59:17 2014][debug] --scan-homedirs missing. Don't scan user directories
[Thu Dec 18 10:59:17 2014][debug] Accountinfo file: /var/lib/ocsinventory-agent/http:__glpi.docapost-dps.net_ocsinventory/ocsinv.adm
[Thu Dec 18 10:59:17 2014][debug] OCS Agent initialised
[Thu Dec 18 10:59:17 2014][debug] Turns hooks on for /etc/ocsinventory/modules.conf
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.1.1
[Thu Dec 18 10:59:17 2014][debug] Log system initialised (File)
[Thu Dec 18 10:59:17 2014][debug] Calling handlers : `start_handler'
[Thu Dec 18 10:59:17 2014][debug] [download] Calling download_start_handler
[Thu Dec 18 10:59:17 2014][debug]  - LWP loaded
[Thu Dec 18 10:59:17 2014][error] [download] Crypt::SSLeay perl module is missing !!
[Thu Dec 18 10:59:17 2014][error] [download] Humm my prerequisites are not OK...disabling module :( :(
[Thu Dec 18 10:59:17 2014][debug] Compress::Zlib is available.
[Thu Dec 18 10:59:17 2014][debug] Calling handlers : `prolog_writer'
[Thu Dec 18 10:59:17 2014][debug] sending XML
[Thu Dec 18 10:59:17 2014][debug] sending: <?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
  <DEVICEID>srv053-2014-10-09-16-46-07</DEVICEID>
  <QUERY>PROLOG</QUERY>
</REQUEST>
[Thu Dec 18 10:59:17 2014][debug] =BEGIN=SERVER RET======
[Thu Dec 18 10:59:17 2014][debug] $VAR1 = '<?xml version=\'1.0\' encoding=\'UTF-8\'?>
<REPLY>
  <OPTION>
    <NAME>REGISTRY</NAME>
    <PARAM NAME="Programme de démarrage" REGKEY="SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run" REGTREE="2">*</PARAM>
  </OPTION>
  <OPTION>
    <NAME>DOWNLOAD</NAME>
    <PARAM FRAG_LATENCY="10" PERIOD_LATENCY="1" ON="1" TYPE="CONF" CYCLE_LATENCY="60" TIMEOUT="30" PERIOD_LENGTH="10" EXECUTION_TIMEOUT="120" />
  </OPTION>
  <RESPONSE>SEND</RESPONSE>
  <PROLOG_FREQ>1</PROLOG_FREQ>
</REPLY>
';
[Thu Dec 18 10:59:17 2014][debug] =END=SERVER RET======
[Thu Dec 18 10:59:17 2014][debug] PROLOG_FREQ has not changed since last process
[Thu Dec 18 10:59:17 2014][info] No support detected. Registration key: N/A
[Thu Dec 18 10:59:17 2014][debug] Calling handlers : `prolog_reader'
[Thu Dec 18 10:59:17 2014][debug]  - ipdiscover found
[Thu Dec 18 10:59:17 2014][debug]  - nmap found
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::IpDiscover::Nmap ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::AIX ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::BSD ignored
[Thu Dec 18 10:59:17 2014][debug]  - dmidecode found
[Thu Dec 18 10:59:17 2014][debug]  - dmidecode found
[Thu Dec 18 10:59:17 2014][debug]  - Sys::Hostname loaded
[Thu Dec 18 10:59:17 2014][debug]  - ipmitool found
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Generic::Ipmi ignored
[Thu Dec 18 10:59:17 2014][debug]  - lspci found
[Thu Dec 18 10:59:17 2014][debug]  - lspci found
[Thu Dec 18 10:59:17 2014][debug]  - xrandr found
[Thu Dec 18 10:59:17 2014][debug]  - lsusb found
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::BSDpkg ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::Deb ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::Gentoo ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::Pacman ignored
[Thu Dec 18 10:59:17 2014][debug]  - rpm found
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Generic::Printers::Cups ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Generic::Screen ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::HPUX ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::ARM ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::Alpha ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::MIPS ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::PowerPC ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::SPARC ignored
[Thu Dec 18 10:59:17 2014][debug]  - /proc/cpuinfo can be read
[Thu Dec 18 10:59:17 2014][debug]  - arch found
 
by (620 points)
0 votes

la suite ....

[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::m68k ignored

[Thu Dec 18 10:59:17 2014][debug]  - lsb_release found
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::ArchLinux ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Debian ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Fedora ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Gentoo ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Knoppix ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Mandrake ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Mandriva ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Slackware ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::SuSE ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Trustix ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Ubuntu ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::VmWare ignored
[Thu Dec 18 10:59:17 2014][debug]  - hostname found
[Thu Dec 18 10:59:17 2014][debug]  - df found
[Thu Dec 18 10:59:17 2014][debug]  - pvs found
[Thu Dec 18 10:59:17 2014][debug]  - /proc/meminfo can be read
[Thu Dec 18 10:59:17 2014][debug]  - ifconfig found
[Thu Dec 18 10:59:17 2014][debug]  - ifconfig found
[Thu Dec 18 10:59:17 2014][debug]  - route found
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Network::Networks ignored
[Thu Dec 18 10:59:17 2014][debug]  - lspci found
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Storages::3ware ignored
[Thu Dec 18 10:59:17 2014][debug]  - smartctl found
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Storages::Adaptec ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Storages::HP ignored
[Thu Dec 18 10:59:17 2014][debug]  - smartctl found
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Storages::Lsilogic ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Storages::ServeRaid ignored
[Thu Dec 18 10:59:17 2014][debug]  - mount found
[Thu Dec 18 10:59:17 2014][debug]  - /proc/uptime can be read
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::MacOS ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Solaris ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::Virtualization::Libvirt ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::Virtualization::Parallels ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::Virtualization::Qemu ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::Virtualization::SolarisZones ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::Virtualization::VirtualBox ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::Virtualization::VmWareDesktop ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::Virtualization::VmWareESX ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::Virtualization::VmWareWorkstation ignored
[Thu Dec 18 10:59:17 2014][debug]  - dmidecode found
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::Virtualization::Xen::XM ignored
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Redhat disabled because of a 'runMeIfTheseChecksFailed' in 'Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB'
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::CentOS disabled because of a 'runMeIfTheseChecksFailed' in 'Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB'
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Oracle disabled because of a 'runMeIfTheseChecksFailed' in 'Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB'
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB disabled because of a 'runMeIfTheseChecksFailed' in 'Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB'
[Thu Dec 18 10:59:17 2014][debug] Running Ocsinventory::Agent::Backend::AccessLog
[Thu Dec 18 10:59:17 2014][debug] Running Ocsinventory::Agent::Backend::DeviceID
[Thu Dec 18 10:59:17 2014][debug] Running Ocsinventory::Agent::Backend::IpDiscover
[Thu Dec 18 10:59:17 2014][debug] Ocsinventory::Agent::Backend::IpDiscover has no run() function -> ignored
[Thu Dec 18 10:59:17 2014][debug] Running Ocsinventory::Agent::Backend::IpDiscover::IpDiscover
[Thu Dec 18 10:59:17 2014][debug] Running Ocsinventory::Agent::Backend::OS::Generic
 
by (620 points)
0 votes
Je précise que je lance ma commande ocsinventory-agent  --debug sur mon serveur linux en tant que root pour les tests
by (620 points)
0 votes

Bonjour

Il manque le module perl suivant : Crypt::SSLeay

[Thu Dec 18 10:59:17 2014][error] [download] Crypt::SSLeay perl module is missing !!

Ce message "Ocsinventory::Agent::Backend::OS::Linux::Network::Networks ignored" indique que le module n'est pas pris en compte, surement dû à l'absence du module perl Crypt::SSLeay.

Cordialement

Frank

by (82.1k points)
 
Powered by Question2Answer
...