You are not logged in.
Bonjour à tour
J'utilise fusion-inventory pour la collecte des info sur pc et je souhaiterai l'utiliser pour faire du déploiement de logiciel
(Debian + GLPI 0.85.2 + Fusion inventory 0.85+1.1)
J'ai ouvert le port 62354 par gpo sur l'ensemble des postes du domaine
et la communication a l'air de se faire dans les deux sens (serveur <-> client)
J'ai créer une commande msdos qui affiche coucou (echo coucou) pour faire un test sur mon poste mais rien ne se passe
J'ai suivi cette vidéo pour la mise en place : https://www.youtube.com/watch?v=SPcRaQDPfHs
et voici ce qui s'affiche dans mon fichier log fusion inventory
============================================
[Wed Mar 4 16:50:02 2015][info] FusionInventory Agent starting
[Wed Mar 4 16:53:30 2015][info] sending prolog request to server server0
[Wed Mar 4 16:53:30 2015][info] running task Inventory
[Wed Mar 4 16:54:01 2015][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
=========================================================================
Qu'est ce que j'ai oublié ? Merci à tous !
Last edited by yannix63 (2015-03-05 13:26:50)
Offline
Est-ce que le module "Deploy" est activé pour ton/tes agents ? (cela se fait via l'interface de FI dans GLPI).
Offline
C'est juste normal, l'agent tourne en compte system, donc si tu affiche, tu ne me verra pas puisqu'il essaye de l'afficher dans la session system (qui ne peut pas être ouverte graphiquement par ailleurs)
Offline
Est-ce que le module "Deploy" est activé pour ton/tes agents ? (cela se fait via l'interface de FI dans GLPI).
Bonjour
Excuser moi pour cette réponse tardive, j'avais oublié de m'abonner à ce post ....
Comment Savoir si le module "deploy" est bien activer sur les agents
Je suis aller dans Fi >> Config Générale >> Module des agents
Activation par défaut est cochée et il n'y a pas d'exception
Faut-il vérifier autre chose ?
Offline
T'as bien le cron système qui lance le cron GLPI ?
Offline
C'est juste normal, l'agent tourne en compte system, donc si tu affiche, tu ne me verra pas puisqu'il essaye de l'afficher dans la session system (qui ne peut pas être ouverte graphiquement par ailleurs)
Ça c'est tout à fait vrai.
Pour vérifier le bon fonctionnement du déploiement FI, fait plutôt créer un dossier (à un endroit particulier) par ton script que faire un "echo".
Offline
ddurieux wrote:C'est juste normal, l'agent tourne en compte system, donc si tu affiche, tu ne me verra pas puisqu'il essaye de l'afficher dans la session system (qui ne peut pas être ouverte graphiquement par ailleurs)
Ça c'est tout à fait vrai.
Pour vérifier le bon fonctionnement du déploiement FI, fait plutôt créer un dossier (à un endroit particulier) par ton script que faire un "echo".
Ok je test dans ce sens là ..!
Je vous fais un retour merci pour vos conseils
Offline
T'as bien le cron système qui lance le cron GLPI ?
Comment vérifier ci ma config est correct ?
Voici le résultat quand je fait crontab -l
# m h dom mon dow command
0 6 * * * /root/cron/backup_glpi.sh
0 7 * * * /root/cron/sync_user_glpi.sh
*/15 * * * * /root/cron/force_mailgate.sh
*/5 * * * * /usr/bin/php5 /var/www/glpi/front/cron.php &>/dev/null
#EOF
Merci pour votre retour !
Offline
ddurieux wrote:C'est juste normal, l'agent tourne en compte system, donc si tu affiche, tu ne me verra pas puisqu'il essaye de l'afficher dans la session system (qui ne peut pas être ouverte graphiquement par ailleurs)
Ça c'est tout à fait vrai.
Pour vérifier le bon fonctionnement du déploiement FI, fait plutôt créer un dossier (à un endroit particulier) par ton script que faire un "echo".
J'ai fait un script qui s'appelle glpi_temp.bat que j'ai stocké sur le serveur
REM script de creation du repertoire c:\GLPI_Temp
cd \
mkdir GLPI_Temp
Je l'ai configuré dans FI dans un nouveau Paquet
J'ai rattaché le fichier et mis une commande d’exécution
Est-ce la bonne méthode ?
et ensuite j'ai créer ma tache avec le paquet créé ci-dessus et 2 ordinateurs comme cible
Mais la tache reste a 0 ..! je comprend pas !
Offline
Nouvelle Info
Je viens de créer une nouvelle plage IP
Historiquement j'avais 10.1.1.X pour mes routeurs 10.1.2.X pour mes ponts (Plage que je n'ai pas encore utilisée)
je viens d'ajouter la 10.1.7 pour les @ distribuées par dhcp et la 10.1.200 pour les ip fixes
Quand je retourne dans la tache voila ce qui apparait
Mais rien de plus
Comment faire pour aller plus loin dans les tests ?
Last edited by yannix63 (2015-03-20 11:40:43)
Offline
La tâche est exécutée par les agents et pour qu'ils exécutent la tâche ils doivent savoir qu'une tâche existe.
Ils ne peuvent en prendre connaissance que lorsqu'ils contactent le serveur.
Es-tu sûr qu'ils prennent bien contact (sens de la question de ddurieux dans le post #6) ? Parce que ta réponse en #9 semble indiquer que tu regarde sur la machine serveur et non pas sur la machine exécutant l'agent.
A l'installation de l'agent une tâche planifiée est créée sur l'OS pour qu'il s’exécute régulièrement. Ou alors tu l'as installé en mode daemon/service et dans ce cas l'agent tourne en permanence pour attendre la fin d'un timer (qu'il gère lui-même) avant de prendre contact avec le serveur.
Tu peux forcer l'exécution de l'agent (ce qui va lui faire contacter le serveur et ainsi découvrir l'existence d'une tâche) en le lançant manuellement (en ligne de commande c'est mieux pour voir la sortie) : fusioninventory-agent, fusioninventory-agent.sh ou fusioninventory-agent.bat selon l'OS où il est installé.
Offline
Il faut attendre (ou forcer) l'agent qui contacte le serveur
Offline
Il faut attendre (ou forcer) l'agent qui contacte le serveur
J'ai bien la possibilité de force l'inventaire mais cela ne change rien quand je l'execute (via l'interface web ou en ligne de commande)
ce qui me fait penser que le problème est coté serveur ! Non ?
par contre je n'ai pas la possibilité de forcer la tache de déploiement (im semble qu'il y avait un bouton dans les anciennes versions)
Last edited by yannix63 (2015-03-20 17:04:22)
Offline
La tâche est exécutée par les agents et pour qu'ils exécutent la tâche ils doivent savoir qu'une tâche existe.
Ils ne peuvent en prendre connaissance que lorsqu'ils contactent le serveur.Es-tu sûr qu'ils prennent bien contact (sens de la question de ddurieux dans le post #6) ? Parce que ta réponse en #9 semble indiquer que tu regarde sur la machine serveur et non pas sur la machine exécutant l'agent.
A l'installation de l'agent une tâche planifiée est créée sur l'OS pour qu'il s’exécute régulièrement. Ou alors tu l'as installé en mode daemon/service et dans ce cas l'agent tourne en permanence pour attendre la fin d'un timer (qu'il gère lui-même) avant de prendre contact avec le serveur.
Tu peux forcer l'exécution de l'agent (ce qui va lui faire contacter le serveur et ainsi découvrir l'existence d'une tâche) en le lançant manuellement (en ligne de commande c'est mieux pour voir la sortie) : fusioninventory-agent, fusioninventory-agent.sh ou fusioninventory-agent.bat selon l'OS où il est installé.
D'ailleurs dans >> Parc >> Ordinateur >> mon ordi >> je vois l'état de l'agent
=============================
Etat de l'agent
Agent : INFO-DEV.mondomaine.fr-2015-03-20-08-34-10
Statut : Available on http://INFO-DEV:62354/status
=====================================
J'ai pas de tache planifiée, par contre j'ai bien un service qui se nomme fusion inventory
Je ne sais plus vraiment où chercher
Last edited by yannix63 (2015-03-20 17:00:38)
Offline
Tu as bien installé l'agent avec le module deploy ? (cf les options d'installation)
Offline
Voici mon script.... Mais je ne saisi pas tout dans ce script !
A première vu les options sont ligne 100
Est-ce-que c'est ca ?
SetupOptions = "/acceptlicense /runnow /server='http://X.X.X.X/glpi/plugins/fusioninventory/' /S"
===================================
' ------------------------------------------------------------------------
' fusioninventory-agent-deployment.vbs
' Copyright (C) 2010-2013 by the FusionInventory Development Team.
'
' http://www.fusioninventory.org/ http://forge.fusioninventory.org/
' ------------------------------------------------------------------------
'
' LICENSE
'
' This file is part of FusionInventory project.
'
' This file is free software; you can redistribute it and/or modify it
' under the terms of the GNU General Public License as published by the
' Free Software Foundation; either version 2 of the License, or (at your
' option) any later version.
'
'
' This file is distributed in the hope that it will be useful, but WITHOUT
' ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
' FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
' more details.
'
' You should have received a copy of the GNU General Public License
' along with this program; if not, write to the Free Software Foundation,
' Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA,
' or see <http://www.gnu.org/licenses/>.
'
' ------------------------------------------------------------------------
'
' @package FusionInventory Agent
' @file .\contrib\windows\fusioninventory-agent-deployment.vbs
' @author(s) Benjamin Accary <meldrone@orange.fr>
' Christophe Pujol <chpujol@gmail.com>
' Marc Caissial <marc.caissial@zenitique.fr>
' Tomas Abad <tabadgp@gmail.com>
' @copyright Copyright (c) 2010-2013 FusionInventory Team
' @license GNU GPL version 2 or (at your option) any later version
' http://www.gnu.org/licenses/old-license … alone.html
' @link http://www.fusioninventory.org/
' @link http://forge.fusioninventory.org/projec … tory-agent
' @since 2012
'
' ------------------------------------------------------------------------
'
'
'
' Purpose:
' FusionInventory Agent Unatended Deployment.
'
'
Option Explicit
Dim Force, Verbose
Dim Setup, SetupArchitecture, SetupLocation, SetupOptions, SetupVersion
'
'
' USER SETTINGS
'
'
' SetupLocation
' Depending on your needs or your environment, you can use either a HTTP or
' CIFS/SMB.
'
' If you use HTTP, please, set to SetupLocation a URL:
'
' SetupLocation = "http://host[:port]/[absolut_path]" or
' SetupLocation = "https://host[:port]/[absolut_path]"
'
' If you use CIFS, please, set to SetupLocation a UNC path name:
'
' SetupLocation = "\\host\share\[path]"
'
' You also must be sure that you have removed the "Open File Security Warning"
' from programs accessed from that UNC.
'
SetupLocation = "\\10.1.4.200\NETLOGON\FusionInventory"
' SetupVersion
' Setup version with the pattern <major>.<minor>.<release>[-<package>]
'
SetupVersion = "2.3.16"
' SetupArchitecture
' The setup architecture can be 'x86', 'x64' or 'Auto'
'
' If you set SetupArchitecture = "Auto" be sure that both installers are in
' the same SetupLocation.
'
SetupArchitecture = "Auto"
' SetupOptions
' Consult the installer documentation to know its list of options.
'
' You should use simple quotes (') to set between quotation marks those values
' that require it; double quotes (") doesn't work with UNCs.
'
SetupOptions = "/acceptlicense /runnow /server='http://10.1.4.32/glpi/plugins/fusioninventory/' /S"
' Setup
' The installer file name. You should not have to modify this variable ever.
'
Setup = "fusioninventory-agent_windows-" & SetupArchitecture & "_" & SetupVersion & ".exe"
' Force
' Force the installation even whether Setup is previously installed.
'
Force = "No"
' Verbose
' Enable or disable the information messages.
'
' It's advisable to use Verbose = "Yes" with 'cscript //nologo ...'.
'
Verbose = "No"
'
'
' DO NOT EDIT BELOW
'
'
Function AdvanceTime(nMinutes)
Dim nMinimalMinutes, dtmTimeFuture
' As protection
nMinimalMinutes = 5
If nMinutes < nMinimalMinutes Then
nMinutes = nMinimalMinutes
End If
' Add nMinutes to the current time
dtmTimeFuture = DateAdd ("n", nMinutes, Time)
' Format the result value
' The command AT accepts 'HH:MM' values only
AdvanceTime = Hour(dtmTimeFuture) & ":" & Minute(dtmTimeFuture)
End Function
Function baseName (strng)
Dim regEx, ret
Set regEx = New RegExp
regEx.Global = true
regEx.IgnoreCase = True
regEx.Pattern = ".*[/\\]([^/\\]+)$"
baseName = regEx.Replace(strng,"$1")
End Function
Function GetSystemArchitecture()
Dim strSystemArchitecture
Err.Clear
' Get operative system architecture
On Error Resume Next
strSystemArchitecture = CreateObject("WScript.Shell").ExpandEnvironmentStrings("%PROCESSOR_ARCHITECTURE%")
If Err.Number = 0 Then
' Check the operative system architecture
Select Case strSystemArchitecture
Case "x86"
' The system architecture is 32-bit
GetSystemArchitecture = "x86"
Case "AMD64"
' The system architecture is 64-bit
GetSystemArchitecture = "x64"
Case Else
' The system architecture is not supported
GetSystemArchitecture = "NotSupported"
End Select
Else
' It has been not possible to get the system architecture
GetSystemArchitecture = "Unknown"
End If
End Function
Function isHttp(strng)
Dim regEx, matches
Set regEx = New RegExp
regEx.Global = true
regEx.IgnoreCase = True
regEx.Pattern = "^(http(s?)).*"
If regEx.Execute(strng).count > 0 Then
isHttp = True
Else
isHttp = False
End If
Exit Function
End Function
Function IsInstallationNeeded(strSetupVersion, strSetupArchitecture, strSystemArchitecture)
Dim strCurrentSetupVersion
' Compare the current version, whether it exists, with strSetupVersion
If strSystemArchitecture = "x86" Then
' The system architecture is 32-bit
' Check if the subkey 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent' exists
' This subkey is now deprecated
On error resume next
strCurrentSetupVersion = WshShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent\DisplayVersion")
If Err.Number = 0 Then
' The subkey 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent' exists
If strCurrentSetupVersion <> strSetupVersion Then
ShowMessage("Installation needed: " & strCurrentSetupVersion & " -> " & strSetupVersion)
IsInstallationNeeded = True
End If
Exit Function
Else
' The subkey 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent' doesn't exist
Err.Clear
' Check if the subkey 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory-Agent' exists
On error resume next
strCurrentSetupVersion = WshShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory-Agent\DisplayVersion")
If Err.Number = 0 Then
' The subkey 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory-Agent' exists
If strCurrentSetupVersion <> strSetupVersion Then
ShowMessage("Installation needed: " & strCurrentSetupVersion & " -> " & strSetupVersion)
IsInstallationNeeded = True
End If
Exit Function
Else
' The subkey 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory-Agent' doesn't exist
Err.Clear
ShowMessage("Installation needed: " & strSetupVersion)
IsInstallationNeeded = True
End If
End If
Else
' The system architecture is 64-bit
' Check if the subkey 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent' exists
' This subkey is now deprecated
On error resume next
strCurrentSetupVersion = WshShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent\DisplayVersion")
If Err.Number = 0 Then
' The subkey 'SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent' exists
If strCurrentSetupVersion <> strSetupVersion Then
ShowMessage("Installation needed: " & strCurrentSetupVersion & " -> " & strSetupVersion)
IsInstallationNeeded = True
End If
Exit Function
Else
' The subkey 'SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent' doesn't exist
Err.Clear
' Check if the subkey 'SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory-Agent' exists
On error resume next
strCurrentSetupVersion = WshShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory-Agent\DisplayVersion")
If Err.Number = 0 Then
' The subkey 'SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory-Agent' exists
If strCurrentSetupVersion <> strSetupVersion Then
ShowMessage("Installation needed: " & strCurrentSetupVersion & " -> " & strSetupVersion)
IsInstallationNeeded = True
End If
Exit Function
Else
' The subkey 'SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory-Agent' doesn't exist
Err.Clear
' Check if the subkey 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory-Agent' exists
On error resume next
strCurrentSetupVersion = WshShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory-Agent\DisplayVersion")
If Err.Number = 0 Then
' The subkey 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory-Agent' exists
If strCurrentSetupVersion <> strSetupVersion Then
ShowMessage("Installation needed: " & strCurrentSetupVersion & " -> " & strSetupVersion)
IsInstallationNeeded = True
End If
Exit Function
Else
' The subkey 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory-Agent' doesn't exist
Err.Clear
ShowMessage("Installation needed: " & strSetupVersion)
IsInstallationNeeded = True
End If
End If
End If
End If
End Function
Function IsSelectedForce()
If LCase(Force) <> "no" Then
ShowMessage("Installation forced: " & SetupVersion)
IsSelectedForce = True
Else
IsSelectedForce = False
End If
End Function
' http://www.ericphelps.com/scripting/sam … index.html
Function SaveWebBinary(strSetupLocation, strSetup)
Const adTypeBinary = 1
Const adSaveCreateOverWrite = 2
Const ForWriting = 2
Dim web, varByteArray, strData, strBuffer, lngCounter, ado, strUrl
strUrl = strSetupLocation & "/" & strSetup
'On Error Resume Next
'Download the file with any available object
Err.Clear
Set web = Nothing
Set web = CreateObject("WinHttp.WinHttpRequest.5.1")
If web Is Nothing Then Set web = CreateObject("WinHttp.WinHttpRequest")
If web Is Nothing Then Set web = CreateObject("MSXML2.ServerXMLHTTP")
If web Is Nothing Then Set web = CreateObject("Microsoft.XMLHTTP")
web.Open "GET", strURL, False
web.Send
If Err.Number <> 0 Then
SaveWebBinary = False
Set web = Nothing
Exit Function
End If
If web.Status <> "200" Then
SaveWebBinary = False
Set web = Nothing
Exit Function
End If
varByteArray = web.ResponseBody
Set web = Nothing
'Now save the file with any available method
On Error Resume Next
Set ado = Nothing
Set ado = CreateObject("ADODB.Stream")
If ado Is Nothing Then
Set fs = CreateObject("Scripting.FileSystemObject")
Set ts = fs.OpenTextFile(baseName(strUrl), ForWriting, True)
strData = ""
strBuffer = ""
For lngCounter = 0 to UBound(varByteArray)
ts.Write Chr(255 And Ascb(Midb(varByteArray,lngCounter + 1, 1)))
Next
ts.Close
Else
ado.Type = adTypeBinary
ado.Open
ado.Write varByteArray
ado.SaveToFile CreateObject("WScript.Shell").ExpandEnvironmentStrings("%TEMP%") & "\" & strSetup, adSaveCreateOverWrite
ado.Close
End If
SaveWebBinary = True
End Function
Function ShowMessage(strMessage)
If LCase(Verbose) <> "no" Then
WScript.Echo strMessage
End If
End Function
'
'
' MAIN
'
'
Dim nMinutesToAdvance, strCmd, strSystemArchitecture, strTempDir, WshShell
Set WshShell = WScript.CreateObject("WScript.shell")
nMinutesToAdvance = 5
' Get system architecture
strSystemArchitecture = GetSystemArchitecture()
If (strSystemArchitecture <> "x86") And (strSystemArchitecture <> "x64") Then
ShowMessage("The system architecture is unknown or not supported.")
ShowMessage("Deployment aborted!")
WScript.Quit 1
Else
ShowMessage("System architecture detected: " & strSystemArchitecture)
End If
' Check and auto detect SetupArchitecture
Select Case LCase(SetupArchitecture)
Case "x86"
' The setup architecture is 32-bit
SetupArchitecture = "x86"
Setup = Replace(Setup, "x86", SetupArchitecture, 1, 1, vbTextCompare)
ShowMessage("Setup architecture: " & SetupArchitecture)
Case "x64"
' The setup architecture is 64-bit
SetupArchitecture = "x64"
Setup = Replace(Setup, "x64", SetupArchitecture, 1, 1, vbTextCompare)
ShowMessage("Setup architecture: " & SetupArchitecture)
Case "auto"
' Auto detection of SetupArchitecture
SetupArchitecture = strSystemArchitecture
Setup = Replace(Setup, "Auto", SetupArchitecture, 1, 1, vbTextCompare)
ShowMessage("Setup architecture detected: " & SetupArchitecture)
Case Else
' The setup architecture is not supported
ShowMessage("The setup architecture '" & SetupArchitecture & "' is not supported.")
WScript.Quit 2
End Select
' Check the relation between strSystemArchitecture and SetupArchitecture
If (strSystemArchitecture = "x86") And (SetupArchitecture = "x64") Then
' It isn't possible to execute a 64-bit setup on a 32-bit operative system
ShowMessage("It isn't possible to execute a 64-bit setup on a 32-bit operative system.")
ShowMessage("Deployment aborted!")
WScript.Quit 3
End If
If IsSelectedForce() Or IsInstallationNeeded(SetupVersion, SetupArchitecture, strSystemArchitecture) Then
If isHttp(SetupLocation) Then
ShowMessage("Downloading: " & SetupLocation & "/" & Setup)
If SaveWebBinary(SetupLocation, Setup) Then
strCmd = WshShell.ExpandEnvironmentStrings("%ComSpec%")
strTempDir = WshShell.ExpandEnvironmentStrings("%TEMP%")
ShowMessage("Running: """ & strTempDir & "\" & Setup & """ " & SetupOptions)
WshShell.Run """" & strTempDir & "\" & Setup & """ " & SetupOptions, 0, True
ShowMessage("Scheduling: DEL /Q /F """ & strTempDir & "\" & Setup & """")
WshShell.Run "AT.EXE " & AdvanceTime(nMinutesToAdvance) & " " & strCmd & " /C ""DEL /Q /F """"" & strTempDir & "\" & Setup & """""", 0, True
ShowMessage("Deployment done!")
Else
ShowMessage("Error downloading '" & SetupLocation & "\" & Setup & "'!")
End If
Else
ShowMessage("Running: """ & SetupLocation & "\" & Setup & """ " & SetupOptions)
WshShell.Run "CMD.EXE /C """ & SetupLocation & "\" & Setup & """ " & SetupOptions, 0, True
ShowMessage("Deployment done!")
End If
Else
ShowMessage("It isn't needed the installation of '" & Setup & "'.")
End If
===============================================================
Merci pour votre retour
Last edited by yannix63 (2015-03-23 09:36:15)
Offline
Oui c'est ça, t'installa que le module d'inventaire là. regarde la doc d'installation windows sur le site de fusion
Offline
Merci pour cette réponse rapide
Donc si j'ai bien compris il me manque une option sur la ligne 100
SetupOptions = "/acceptlicense /runnow /server='http://10.1.4.32/glpi/plugins/fusioninventory/' /S"
que je transforme en
SetupOptions = "/installtasks=Deploy /acceptlicense /runnow /server='http://10.1.4.32/glpi/plugins/fusioninventory/' /S"
C'est bien cela ?
car coté serveur quand je clique sur mon agent tout est bien coché ..!
Merci pour votre retour
Offline
met plutot /installtasks=Full pour installer tous les modules, sinon la tu ne vas installer que le module de déploiement mais pas d'inventaire
Offline
Offline
Bah il te dis qu'il n'arrive pas à télécharger le glpi_temp.bat
Offline
Oui c'est ce que je lis mais pourquoi ?
Faut-t-il copier le bat sur le poste local avant l’exécution ?
Offline
regarde les logs apache pour voir l'erreur
Offline