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 2013-08-26 14:08:46

neveugregor
Member
Registered: 2013-08-20
Posts: 23

Installation d'agent

Bonjour a tous,

GLPI 0.84
agent installer sur Mac os FusionInventory Agent 2.1.13-1

fichier config :

# OCS Inventory server
# server=http://yourserver/ocsinventory
# FusionInventory for GLPI
server=http://192.168.XX.XX/glpi84/plugins/fusioninventory/front/plugin_fusioninventory.communication.php
# FusionInventory for GLPI with AD auth
server=http://DOMAINEAD\utilisateur:motdepasse@192.168.XX.XX/glpi84/plugins/fusioninventory/front/plugin_fusioninventory.communication.php
# OCS Inventory server with SSL
# server=https://yourserver/ocsinventory
# server=

http://localhost:62354/ :

This is FusionInventory Agent 2.1.13-1
The current status is "waiting"
Force an Inventory
Next server contact planned for:
local, /tmp: Mon Aug 26 14:47:12 2013
(Je pense que ici il devrait y avoir mon serveur GLPI mais nop )

et en ligne de commande pour savoir si il est demarrer :

sudo launchctl list|grep fusion
-    0    org.fusioninventory.agent

je pense que la il n'est pas demarrer


Je n'arrive pas a voir l'agent que j'ai iinstaller sur mon mac dans GLPI est ce que quelqu'un aurais un debut de piste car la je commence a tourne en rond...

Merci a vous tous

Last edited by neveugregor (2013-08-26 15:16:40)

Offline

#2 2013-08-26 14:44:44

neveugregor
Member
Registered: 2013-08-20
Posts: 23

Re: Installation d'agent

une petiti avancer j'arrive a voir mon serveur : This is FusionInventory Agent 2.1.13-1
The current status is "waiting"
Force an Inventory
Next server contact planned for:
local, /tmp: now
server, http://192.168.XX.XX/glpi84/plugins/fus … ation.php: now

maintenant me reste plus qu'a trouver l'agent dans GLPI je pense... Toujours une petite aide sera la bienvenu

mais j'ai toujours ca :

sudo launchctl list|grep fusion
-    0    org.fusioninventory.agent

et status: waiting

Last edited by neveugregor (2013-08-26 15:16:51)

Offline

#3 2013-08-26 15:41:41

neveugregor
Member
Registered: 2013-08-20
Posts: 23

Re: Installation d'agent

Dan mes logs j'ai cela :

[Mon Aug 26 15:16:58 2013][info] Inventory saved in /tmp/Mac-mini-de-Neveu.local-2013-08-25-12-35-40.ocs
[Mon Aug 26 15:17:04 2013][error] Cannot establish communication with `http://DOMAINEAD\utilisateur:motdepasse@192.168.XX.XX/glpi84/plugins/fusioninventory/front/plugin_fusioninventory.communication.php: 407 Proxy Authorization Required`
[Mon Aug 26 15:17:04 2013][error] No anwser from the server
[Mon Aug 26 15:21:26 2013][info] RPC service started at: http://127.0.0.1:62354
[Mon Aug 26 15:26:08 2013][info] RPC service started at: http://127.0.0.1:62354
[Mon Aug 26 15:26:34 2013][error] TB unit is not defined
[Mon Aug 26 15:26:47 2013][info] Inventory saved in /tmp/Mac-mini-de-Neveu.local-2013-08-25-12-35-40.ocs
[Mon Aug 26 15:26:53 2013][error] Deflating problem. Is the string really compressed? Do you use the correct URL to the server. The string start with:
Notice: Use of undefined constant PLUGIN_FUSIONINVENTORY_VERSION - assumed 'PLUGIN_FUSIONINVENTORY_VERSION' in /var/www/glpi84/plugins/fusioninventory/front/communication.php on line 68
<?xml version='1.0' encoding='UTF-8'?>
<REPLY>
   <ERROR>Plugin FusionInventory not installed!</ERROR>
</REPLY>
[Mon Aug 26 15:26:53 2013][error] No anwser from the server
[Mon Aug 26 15:33:40 2013][error] TB unit is not defined
[Mon Aug 26 15:33:53 2013][info] Inventory saved in /tmp/Mac-mini-de-Neveu.local-2013-08-25-12-35-40.ocs
[Mon Aug 26 15:33:58 2013][error] Deflating problem. Is the string really compressed? Do you use the correct URL to the server. The string start with:
Notice: Use of undefined constant PLUGIN_FUSIONINVENTORY_VERSION - assumed 'PLUGIN_FUSIONINVENTORY_VERSION' in /var/www/glpi84/plugins/fusioninventory/front/communication.php on line 68
<?xml version='1.0' encoding='UTF-8'?>
<REPLY>
   <ERROR>Plugin FusionInventory not installed!</ERROR>
</REPLY>
[Mon Aug 26 15:33:58 2013][error] No anwser from the server

J'ai remplacer cela http://DOMAINEAD\utilisateur:motdepasse@192.168.XX.XX/glpi84/plugins/fusioninventory/front/plugin_fusioninventory.communication.php: 407 Proxy Authorization Required

par

http://@ipdemonserveurAD\utilisateur:motdepasse@192.168.XX.XX/glpi84/plugins/fusioninventory/front/plugin_fusioninventory.communication.php: 407 Proxy Authorization Required <--- J'ai renseigne mon proxy

suite a cela je n'i plus que ca qui s'affiche dans mes logs :

[Mon Aug 26 15:35:05 2013][error] TB unit is not defined
[Mon Aug 26 15:35:17 2013][info] Inventory saved in /tmp/Mac-mini-de-Neveu.local-2013-08-25-12-35-40.ocs
[Mon Aug 26 15:35:23 2013][error] Deflating problem. Is the string really compressed? Do you use the correct URL to the server. The string start with:
Notice: Use of undefined constant PLUGIN_FUSIONINVENTORY_VERSION - assumed 'PLUGIN_FUSIONINVENTORY_VERSION' in /var/www/glpi84/plugins/fusioninventory/front/communication.php on line 68
<?xml version='1.0' encoding='UTF-8'?>
<REPLY>
   <ERROR>Plugin FusionInventory not installed!</ERROR>
</REPLY>
[Mon Aug 26 15:35:23 2013][error] No anwser from the server
Je recupere bien en local ma config mais je ne n'arrive toujours pas a faire la co avec GLPI

Je pedale dans la semoul

Last edited by neveugregor (2013-08-26 15:47:37)

Offline

#4 2013-08-26 16:05:27

neveugregor
Member
Registered: 2013-08-20
Posts: 23

Re: Installation d'agent

/var/www/glpi84/plugins/fusioninventory/front/communication.php on line 68 je viens d'aller voir a cette ligne, je trouve bisare que le header se fasse sur ("server-type:

glpi/fusioninventory

alors que mon glpi et fusioninventory se trouve se trouve

glpi84/plugins/fusioninventory

je commence a avoir mal a la tete sad

Offline

#5 2013-08-26 16:11:05

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

Re: Installation d'agent

Y a une correction là dessus en 0.84+1.1

Offline

#6 2013-08-26 16:40:54

neveugregor
Member
Registered: 2013-08-20
Posts: 23

Re: Installation d'agent

Tout a fais, j'ai oublier de venir pour ici, j'ai bien repris ta MAJ et cela fonctionne...
Apres il met juste que qu'une mise a jour est necessaire au prochain redémarrage de mon agent, j'ai relancer et la il me récupère tout...

une dernière questions qu'es ce que cela veut dire quand il me met :

10    wizard - networkdiscovery - XXXX    wizard - networkdiscovery - XXXX   
En cours d'exécution
2013-08-26 16:35    521b673e92172    [Détail] Ajouter un objet Matériel inconnu TSE-SFM    Mac-mini-de-Neveu.local-2013-08-25-12-35-40

Offline

#7 2013-08-26 16:42:52

neveugregor
Member
Registered: 2013-08-20
Posts: 23

Re: Installation d'agent

donc la je scanne mon reseau en 192.168.XX.0 a 192.168.XX.255, pour scanner un autre reseau 192.168.YY.0 est ce que je suis obliger d'installer un agent sur ce reseau ou als je peux le faire avec celui que j'ai deja d'installer en 192.168.XX.XX?

Offline

Board footer

Powered by FluxBB