You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2014-03-07 11:07:17

Geronimo108
Member
Registered: 2014-02-17
Posts: 18

Problème mode daemon (agent fusion)

Bonjour à tous,
Je rencontre un problème avec mon agent fusion (version : 2.3.4) installé sur mon serveur glpi (version : 0.84.5).
En effet, voici ce qui se passe quand je lance l'agent en mode daemon

service fusioninventory-agent start --debug
Starting fusioninventory-agent: unknown configuration directive daemon at /usr/share/fusioninventory/lib/FusionInventory/Agent/Config.pm line 173, <$handle> line 108.
fusioninventory-agent.

Le service est bien lancé

ps aux | grep fusion
root     20951  0.0  0.7  57876 19876 ?        S    09:52   0:00 /usr/bin/perl /usr/bin/fusioninventory-agent -d

Puis quand je force l'inventaire de l'agent (fusioninventory-agent --force --debug)

unknown configuration directive daemon at /usr/share/fusioninventory/lib/FusionInventory/Agent/Config.pm line 173, <$handle> line 108.
[debug] Logger backend File initialised
[debug] FusionInventory Agent (2.3.4)
[debug] Configuration directory: /etc/fusioninventory
[debug] Data directory: /usr/share/fusioninventory
[debug] Storage directory: /var/lib/fusioninventory-agent
[debug] Lib directory: /usr/share/fusioninventory/lib
[debug] [target server0] Next server contact planned for Sat Mar  8 04:33:12 2014
[debug] Available tasks:
[debug] - ESX: 2.2.1
[debug] - Inventory: 1.0
[debug] - WakeOnLan: 2.0
[debug] FusionInventory Agent initialised
[debug] [http client] Using Compress::Zlib for compression
[debug] running task ESX
[debug] FusionInventory ESX task 2.2.1
[info] Got 0 VMware host(s) to inventory.
[debug] [http client] Using Compress::Zlib for compression
[debug] running task Inventory
[debug] Prolog response ignored
[debug] FusionInventory Inventory task 1.0
[debug] --scan-homedirs missing. Don't scan user directories
[debug] Running FusionInventory::Agent::Task::Inventory::AccessLog
[debug] Running FusionInventory::Agent::Task::Inventory::Generic
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::Arch
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::Domains
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::Environment
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::Hostname
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::PCI
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::PCI::Controllers
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::PCI::Modems
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::PCI::Sounds
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::Printers
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::Processes
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::SSH
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::Screen
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::Softwares
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::Softwares::Deb
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::Storages
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::USB
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::Users
[debug] Running FusionInventory::Agent::Task::Inventory::Linux
[debug] Running FusionInventory::Agent::Task::Inventory::Linux::Archs
[debug] Running FusionInventory::Agent::Task::Inventory::Linux::Archs::i386
[debug] Running FusionInventory::Agent::Task::Inventory::Linux::Distro
[debug] Running FusionInventory::Agent::Task::Inventory::Linux::Distro::LSB
[debug] Running FusionInventory::Agent::Task::Inventory::Linux::Drives
[debug] Running FusionInventory::Agent::Task::Inventory::Linux::Inputs
[debug] Running FusionInventory::Agent::Task::Inventory::Linux::LVM
[debug] Running FusionInventory::Agent::Task::Inventory::Linux::Memory
[debug] Running FusionInventory::Agent::Task::Inventory::Linux::Networks
[debug] Running FusionInventory::Agent::Task::Inventory::Linux::Storages
[debug] Running FusionInventory::Agent::Task::Inventory::Linux::Storages::Adaptec
[debug] Running FusionInventory::Agent::Task::Inventory::Linux::Uptime
[debug] Running FusionInventory::Agent::Task::Inventory::Linux::Videos
[debug] Running FusionInventory::Agent::Task::Inventory::Virtualization
[debug] Running FusionInventory::Agent::Task::Inventory::Virtualization::Vmsystem
[debug] Section HARDWARE has changed since last inventory
[debug] Section DRIVES has changed since last inventory
[debug] [http client] Using Compress::Zlib for compression
[debug] running task WakeOnLan
[debug] No WakeOnLan requested in the prolog
[info] task WakeOnLan execution not requested

Après, j'ai bien une remonté de l'agent sur glpi... Cependant je voudrais exécuter une tâche (inventaire SNMP) avec comme acteur cet agent. Cependant, le statut de la tâche se bloque sur le statut "Démarré".

Le firewall de l'entreprise ne bloque pas les échanges SNMP.

Et pour terminer, voici les 2 lignes qui sont présentent dans /var/log/fusioninventory.log lors de l’exécution de la tâche en question :

[Fri Mar  7 10:00:19 2014][info] Got 0 VMware host(s) to inventory.
[Fri Mar  7 10:00:30 2014][info] task WakeOnLan execution not requested

Merci d'avance !

Last edited by Geronimo108 (2014-03-07 11:13:02)

Offline

#2 2014-03-07 11:16:56

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: Problème mode daemon (agent fusion)

On dirait qu'il te manque le module de découverte réseau et d'inventaire réseau sur l'agent

Offline

#3 2014-03-07 11:37:25

Geronimo108
Member
Registered: 2014-02-17
Posts: 18

Re: Problème mode daemon (agent fusion)

Merci beaucoup big_smile Ça marche après avoir fait

apt-get install fusioninventory-agent-task-network
apt-get install fusioninventory-agent-task-esx
apt-get install fusioninventory-agent-task-deploy

Last edited by Geronimo108 (2014-03-07 11:38:04)

Offline

Board footer

Powered by FluxBB