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

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

IPDiscover ne fonctionne pas [closed]

J'ai un serveur OCSInventory en 2.1.2 et, sur la même machine le client 2.1.1, la machine est sur Debian. Je les ai configurés correctement mais l'ipdiscover ne me renvoit rien. Voici un extrait des logs:
[Mon Jun  8 16:59:58 2015][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.1.1
[Mon Jun  8 16:59:58 2015][debug] Log system initialised (File)
[Mon Jun  8 16:59:58 2015][debug] --scan-homedirs missing. Don't scan user directories
[Mon Jun  8 16:59:58 2015][debug] Accountinfo file: /var/lib/ocsinventory-agent/https:__172.16.1.200_ocsinventory/ocsinv.adm
[Mon Jun  8 16:59:58 2015][debug] OCS Agent initialised
[Mon Jun  8 16:59:59 2015][debug] Turns hooks on for /etc/ocsinventory-agent/modules.conf
[Mon Jun  8 16:59:59 2015][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.1.1
[Mon Jun  8 16:59:59 2015][debug] Log system initialised (File)
[Mon Jun  8 16:59:59 2015][debug] Calling handlers : `start_handler'
[Mon Jun  8 16:59:59 2015][debug] [snmp] Calling snmp_start_handler
[Mon Jun  8 16:59:59 2015][debug]  - Net::SNMP loaded
[Mon Jun  8 16:59:59 2015][debug] [download] Calling download_start_handler
[Mon Jun  8 16:59:59 2015][debug]  - LWP loaded
[Mon Jun  8 16:59:59 2015][debug]  - LWP::Protocol::https loaded
[Mon Jun  8 16:59:59 2015][debug] Compress::Zlib is available.
[Mon Jun  8 16:59:59 2015][debug] Calling handlers : `prolog_writer'
[Mon Jun  8 16:59:59 2015][debug] sending XML
[Mon Jun  8 16:59:59 2015][debug] [download] Writing config file.
[Mon Jun  8 16:59:59 2015][info] [download] Download is off.
[Mon Jun  8 16:59:59 2015][debug]  - ipdiscover found
[Mon Jun  8 16:59:59 2015][debug]  - nmap found
[Mon Jun  8 16:59:59 2015][debug]  - Nmap::Parser loaded
[Mon Jun  8 16:59:59 2015][debug] Ocsinventory::Agent::Backend::OS::AIX ignored
[Mon Jun  8 16:59:59 2015][debug] Ocsinventory::Agent::Backend::OS::BSD ignored
[Mon Jun  8 16:59:59 2015][debug]  - dmidecode found
[Mon Jun  8 16:59:59 2015][debug]  - Sys::Hostname loaded
[Mon Jun  8 16:59:59 2015][debug] Ocsinventory::Agent::Backend::OS::Generic::Ipmi ignored
[Mon Jun  8 16:59:59 2015][debug]  - lspci found
[Mon Jun  8 16:59:59 2015][debug]  - xrandr found
[Mon Jun  8 16:59:59 2015][debug]  - lsusb found
[Mon Jun  8 16:59:59 2015][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::BSDpkg ignored
[Mon Jun  8 16:59:59 2015][debug]  - dpkg found
[Mon Jun  8 16:59:59 2015][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::Gentoo ignored
[Mon Jun  8 16:59:59 2015][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::Pacman ignored
[Mon Jun  8 16:59:59 2015][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::RPM ignored
[Mon Jun  8 16:59:59 2015][debug] Ocsinventory::Agent::Backend::OS::Generic::Printers::Cups ignored
[Mon Jun  8 16:59:59 2015][debug]  - get-edid found
[Mon Jun  8 16:59:59 2015][debug] Ocsinventory::Agent::Backend::OS::HPUX ignored
[Mon Jun  8 16:59:59 2015][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::ARM ignored
[Mon Jun  8 16:59:59 2015][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::Alpha ignored
[Mon Jun  8 16:59:59 2015][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::MIPS ignored
[Mon Jun  8 16:59:59 2015][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::PowerPC ignored
[Mon Jun  8 16:59:59 2015][debug] Ocsinventory::Agent::Backend::OS::Linux::Archs::SPARC ignored
[Mon Jun  8 16:59:59 2015][debug]  - /proc/cpuinfo can be read
[Mon Jun  8 16:59:59 2015][debug]  - arch found
[Mon Jun  8 16:59:59 2015][debug]  - hostname found
[Mon Jun  8 16:59:59 2015][debug]  - /etc/resolv.conf can be read
[Mon Jun  8 16:59:59 2015][debug]  - df found
[Mon Jun  8 16:59:59 2015][debug] Ocsinventory::Agent::Backend::OS::Linux::LVM ignored
[Mon Jun  8 16:59:59 2015][debug]  - /proc/meminfo can be read
[Mon Jun  8 16:59:59 2015][debug]  - ifconfig found
[Mon Jun  8 16:59:59 2015][debug]  - route found
[Mon Jun  8 16:59:59 2015][debug]  - Net::IP qw(:PROC) loaded
[Mon Jun  8 16:59:59 2015][debug]  - lspci found
[Mon Jun  8 16:59:59 2015][debug] Ocsinventory::Agent::Backend::OS::Linux::Storages::3ware ignored
[Mon Jun  8 16:59:59 2015][debug]  - smartctl found
[Mon Jun  8 16:59:59 2015][debug]  - mount found
[Mon Jun  8 16:59:59 2015][debug]  - /proc/uptime can be read
[Mon Jun  8 16:59:59 2015][debug]  - dmidecode found
[Mon Jun  8 16:59:59 2015][debug] Ocsinventory::Agent::Backend::IpDiscover::Nmap disabled because of a 'runMeIfTheseChecksFailed' in 'Ocsinventory::Agent::Backend::IpDiscover::Nmap'
[Mon Jun  8 16:59:59 2015][debug] Running Ocsinventory::Agent::Backend::AccessLog
[Mon Jun  8 16:59:59 2015][debug] Running Ocsinventory::Agent::Backend::DeviceID
[Mon Jun  8 16:59:59 2015][debug] Running Ocsinventory::Agent::Backend::IpDiscover
[Mon Jun  8 16:59:59 2015][debug] Ocsinventory::Agent::Backend::IpDiscover has no run() function -> ignored
[Mon Jun  8 16:59:59 2015][debug] Running Ocsinventory::Agent::Backend::IpDiscover::IpDiscover
[Mon Jun  8 16:59:59 2015][debug] Scanning the 172.16.0.0 network
[Mon Jun  8 17:00:59 2015][debug] Ocsinventory::Agent::Backend::IpDiscover::IpDiscover killed by a timeout.
[Mon Jun  8 17:01:01 2015][debug] Ocsinventory::Agent::Backend::Virtualization::Xen has no run() function -> ignored
[Mon Jun  8 17:01:01 2015][debug] Calling handlers : `inventory_handler'
[Mon Jun  8 17:01:01 2015][debug] [download] Calling download_inventory_handler
closed with the note: Problème résolu!
in OCS Inventory NG agent for Unix by (160 points)
closed by

2 Answers

0 votes
Bonjour,

Est-ce que au moins deux machines ont été élues ipdiscover? Regarde la doc ici => http://wiki.ocsinventory-ng.org/index.php/Documentation:Ipdiscover/fr

Cordialement

Frank
by (90.2k points)
Bonjour Frank,

Merci pour ta réponse rapide.

Oui, j'ai forcé deux machines (2 debian) pour qu'elles scanent un réseau (le même).

Cordialement

Marguerite
0 votes
Problème résolu!

Mon réseau est un /16 et le timout par défaut est de 10 minutes, ce qui est trop peu pour scanner tout mon réseau.

Pour tester, j'ai forcé le timout à 3h et ipdiscover met un peu moins de 2h pour tout scanner!
by (160 points)
 
Powered by Question2Answer
...