Quantcast
Channel: Fusioninventory Board
Viewing all 6597 articles
Browse latest View live

Re: Champ GLPI Usager ne match pas avec logins users au format upn :/

$
0
0

Oui, c'est quasiment fini de coder


Re: fusion agent with discovering VM

$
0
0
ddurieux wrote:

Not understand, it's the inventory of the VMWARE host or inventory of a VM?


Can you pl help .. i have to run MYSQL query to

update glpi_computers SET computertypes_id=143  where  computertypes_id=122 and  manufacturers_id=12;

Re: [FI 0.84+3.2][GLPI 0.84.8] Backup Switches

Re: [FI 0.84+3.2][GLPI 0.84.8] Backup Switches

FI server : deployement frequency

$
0
0

On fusioninventory 0.85+1.1, when we defined a deploy task, the new default behavior is cyclic task
What is the periodicity of the tasks?

Re: FI server : deployement frequency

$
0
0

the automatic actions (cron) running

Re: FI server : deployement frequency

$
0
0

automatic actions are running yes
i've set crontask of apache user
deploy task is done if i force inventory but not start very often itself
taskscheduler run every minute fine and prepared task
machine stay in 'not done yet' status

Deploiement agent FusionInventory 2.3.16 GPO sans être admin du pc

$
0
0

Bonjour,
Cela fait plusieurs jours que je parcours votre forum a la recherche d'infos précieuse..
J'essaye actuellement de mettre à jour notre infra GLPI, je souhaitait commencer par la mise à jour de l'agent FusionInventory (2.2-7 vers 2.2.16)
J'utilise le script vbs ci dessous qui fonctionne lorsque l'utilisateur est admin du poste et l'exécute manuellement, mais comme ils ne le sont pas, l'installation de fonctionne pas et me renvoi une erreur d'ouverture sur le fichier en écriture.C:\Program Files\.. due au manque de droit sur le poste.
La GPO est une GPO ordinateur avec le script au démarrage.
La GPO utilisant l'ancien script pour la version 2.2-7 fonctionne très bien.
(J'ai enlevé le /S volontairement afin de voir le comportement de l'installation et changer par discrétion le nom du serveur.)
Merci (au passage) au créateur de ce script.

Merci beaucoup pour l'aide que vous saurez m'apporter,
Cordialement,


'
' FusionInventory-Deploy-v23.vbs
'
' Use this script to automatically install, update & upgrade FusionInventory-Agent v.2.3
'
' You can run this script manually or use it as a startup script in a computer policy in an Active Directoy forest
'
' Just put the path to fusioninventory-agent_windows-x00_2.3.x.exe in the "FusionSetupExe" variable,
'     and set the other variables in the USER SETTINGS section
'
' Versions :
'     2014-09-03 : initial
'
' Author : Marc Caissial <contact@zenitique.fr>
'
' My thanks to the authors of the "fusioninventory.vbs" script on the documentation page
' and to Tomas Abad <tabad@sescam.jccm.es> for his Resources kit for massive and unattended tasks
' that I found on the FusionInventory Forge, and that I used in my upgrade part
'
'
Option Explicit
On Error Resume Next
Dim AvailableVersion, InstalledVersion23, InstalledVersion22, TagArg, ServerArg, InstallArg, StartMenuArg, FusionSetupLocation, WshShell, wshFSO, OSType, InstallCommand, InstalledKeyV23, InstalledKeyV22, UninstallKeyV22, UninstallCommandV22, strArg, IsVerbose
'
' USER SETTINGS
'
AvailableVersion = "2.3.16"
TagArg = ""
ServerArg="http://nomdemonserveur/plugins/fusioninventory/"
InstallArg = "/S /acceptlicense /add-firewall-exception /installtasks=Full /runnow /execmode=Service"
StartMenuArg = "/start-menu"
FusionSetupLocation = "\\monserveur\monpartage\GLPI\"
'
' DO NOT EDIT BELOW
'

' Process command line arguments
IsVerbose = FALSE
if wscript.Arguments.length >= 1 then
    for each strArg in wscript.Arguments
        if strArg = "/s" or strArg = "/S" then IsVerbose = False
        if strArg = "/m" or strArg = "/M" then StartMenuArg = "/start-menu"
        if strArg = "/H" or strArg = "/H" or strArg = "/?" then
            wscript.Echo "Usage : " & wscript.ScriptName & " [/S] [/D] " & vbCrLf & "    /S : Run in Silent Mode" & vbCrLf & "    /M : Install the ""FusionInventory Status"" menu item in the Start Menu" & vbCrLf & "    /H : Display this help message and quit"
            wscript.quit
        end if
    next
end if

set WshShell = Wscript.CreateObject("Wscript.shell")

' Get OS Type, 32 or 64 bit
OsType = WshShell.RegRead("HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PROCESSOR_ARCHITECTURE")

' Extract installed version & uninstall command from registry
if (OsType = "x86") then
    InstalledKeyV23 = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory-Agent\DisplayVersion"
    InstalledKeyV22 = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent\DisplayVersion"
    UninstallKeyV22 = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent\UninstallString"
else
    OsType = "x64"
    InstalledKeyV23 = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory-Agent\DisplayVersion"
    InstalledKeyV22 = "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent\DisplayVersion"
    UninstallKeyV22 = "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory Agent\UninstallString"
end if

' Install, update or upgrade FusionInventory-Agent

InstalledVersion23 = WshShell.RegRead(InstalledKeyV23)
InstalledVersion22 = WshShell.RegRead(InstalledKeyV22)
UninstallCommandV22 = """" & WshShell.RegRead(UninstallKeyV22) & """ /S"
InstallCommand = FusionSetupLocation & "\fusioninventory-agent_windows-" & OsType & "_" & AvailableVersion & ".exe " & TagArg & " /server='" & ServerArg & "' " & InstallArg & " " & StartMenuArg

' FusionInventory-Agent not yet installed, so install it
if InstalledVersion22 = "" and InstalledVersion23 = "" then
    if IsVerbose then Wscript.Echo "FusionInventory-Agent not installed, installing v. " & AvailableVersion & "..."
    'Wscript.Echo "Running command: " & InstallCommand
    WshShell.Run "CMD.EXE /C """ & InstallCommand & """",0,True

' Upgrade from version 2.2 to version 2.3
elseif InstalledVersion22 > "2.2" then
    if IsVerbose then Wscript.Echo "Upgrading FusionInventory-Agent v." & InstalledVersion22 & " to new v." & AvailableVersion & "..."
    'Uninstall version 2.2
    ' Stop the FusioInventory-Agent service
    WshShell.Run "CMD.EXE /C ""SC STOP FusionInventory-Agent""",0,True
    ' Wait 5 seconds
    WScript.Sleep (5 * 1000)
    ' Uninstal the agent
    WshShell.Run "CMD.EXE /C """ & UninstallcommandV22 & """",0,True
    ' Wait 30 seconds
    WScript.Sleep (30 * 1000)
    'Wscript.Echo "Running command: " & InstallCommand
    WshShell.Run "CMD.EXE /C """ & InstallCommand & """",0,True

' Update from version 2.3.x to version 2.3.y if y > x
elseif InstalledVersion23 < AvailableVersion then
    if IsVerbose then Wscript.Echo "Updating FusionInventory-Agent v." & InstalledVersion23 & " to new v." & AvailableVersion & "..."
    'Wscript.Echo "Running command: " & InstallCommand
    WshShell.Run "CMD.EXE /C """ & InstallCommand & """",0,True

' Nothing to do
else
    if IsVerbose then Wscript.Echo "Current FusionInventory-Agent v." & InstalledVersion23 & " is up to date."
end if

'Done
if IsVerbose then Wscript.Echo "End of FusionInventory-Agent v." & AvailableVersion & " deployment." & VbCrLf


Re: Deploiement agent FusionInventory 2.3.16 GPO sans être admin du pc

Task Timing

$
0
0

Since Fusion inventory 0.85+1.0 the task scheduling changed, and I don’t get how it works. How wood one implement the following scenario:
I like to wake up all my clients with a wake on lan task every Sunday at 8:00. An exact timing is important, because the clients have to run a virus scan triggered by another software.
My first thought was to create a timeslot (8:00 – 8:15) but as far I can see this would only advise the agent to run the WOL task not outside this time slot instead of forcing it to run it during this time. Am I right at this?

Re: Deploiement agent FusionInventory 2.3.16 GPO sans être admin du pc

$
0
0

Bonjour,
Merci pour cette réponse,
Je viens de tester en cliquant manuellement sur le vbs mais le souci est identique, l'application commence a s'installer et plante par manque de droits.
Via la GPO, il ne se passe rien sur le poste....

Je vous remercie,
Cordialement,

Re: Deploiement agent FusionInventory 2.3.16 GPO sans être admin du pc

$
0
0

en GPO ordinateur dans le script de démarrage?

Re: Deploiement agent FusionInventory 2.3.16 GPO sans être admin du pc

$
0
0

Au niveau GPO, en effet le script est placé dans la config ordinateur et au démarrage.
Normalement placé a cet endroit cela devrait éviter les problèmes de droits?
Car lorsque je lance manuellement mon script, cela me lance mon exe, je fais suivant suivant... les paramètres sont déjà défini et il plante par manque de droits. Je vous aurais bien mis une capture mais je ne sais pas comment les intégrer..

Est ce que je peux avoir un log de l'exécution de ma GPO afin de voir ce qui bloque?

Je vous remercie,

FI rerun all Tasks after upgrade

$
0
0

After upgrading GLPI from 0.84 to 0.85 and upgrading FI plugin, it reruns all finished tasks hmm

FusionInventory for GLPI Plugin

$
0
0

Glpi version 0.84
FusionInventory plugin 0.84+2.2

We are seeing a strange behavior on the plugin status when going to Plugin List. our FusionInventory Status is "To Update" and the upgrade button is available. When clicking on the upgrade button, looks like the plugin goes thru the motion of upgrading. Enable option will then be available and I was able to enable the plugin. However, the status reverts back to Status "To Update" again.
Does anyone know the proper procedure to resolve this?

Thanks,
folsewire


Re: FusionInventory for GLPI Plugin

$
0
0

Verify you have php module fileinfo enabled and you don't have in glpi/plugins/ the folders: 'fusinvinventory', 'fusinvsnmp', 'fusinvdeploy'

Re: FusionInventory for GLPI Plugin

$
0
0

These entries are also in php-errors.log
2015-07-20 15:13:26
Warning(2): Invalid argument supplied for foreach()
Backtrace :
/var/www/html/glpi/plugins/fusioninventory/inc/inventorycomputerlib.class.php:804               Toolbox::userErrorHandlerNormal()
/var/www/html/glpi/plugins/fusioninventory/inc/inventorycomputerinventory.class.php:493         PluginFusioninventoryInventoryComputerLib->updateComputer()
/var/www/html/glpi/plugins/fusioninventory/inc/inventoryruleimport.class.php:651                PluginFusioninventoryInventoryComputerInventory->rulepassed()
/var/www/html/glpi/inc/rule.class.php:997               PluginFusioninventoryInventoryRuleImport->executeActions()
/var/www/html/glpi/inc/rulecollection.class.php:695             Rule->process()
/var/www/html/glpi/plugins/fusioninventory/inc/inventorycomputerinventory.class.php:313         RuleCollection->processAllRules()
/var/www/html/glpi/plugins/fusioninventory/inc/inventorycomputerinventory.class.php:65          PluginFusioninventoryInventoryComputerInventory->sendCriteria()
/var/www/html/glpi/plugins/fusioninventory/inc/communication.class.php:222              PluginFusioninventoryInventoryComputerInventory->import()
/var/www/html/glpi/plugins/fusioninventory/inc/communication.class.php:430              PluginFusioninventoryCommunication->import()
/var/www/html/glpi/plugins/fusioninventory/front/communication.php:85           PluginFusioninventoryCommunication->handleOCSCommunication()
/var/www/html/glpi/plugins/fusioninventory/index.php:50         include_once()

fusioninventory glpi 0.85+1.2 bug

$
0
0

Bonjour

apres installation et mise a jour les imprimantes ne sont plus affichées, dès desactivation du plugin elles réapparaissent.

Merci de votre réponse

GLPI 0.85.2 / windows 2008 r2 / apache

Re: Migration d'OCS vers FusionInventory

$
0
0

Bonjour,

Après avoir passé un peu de temps a chercher sur fusion inventory et sur internet, je n'arrive pas a faire le relevé de l'inventaire. Rien n'apparait dans fusion inventory. La tache que j'ai planifié pour faire la relève des agents est en erreur replanifié et je n'arrive pas a ce qu'elle se fasse correctement. Il n'y  a pas plus d'information donc je ne sais pas trop qu'es ce qui bloque. Je me demandais si se n'était pas un probleme de port a ouvrir mais aucun des tutos que j'ai vu ne parle d'ouverture de port a faire....

Voila je suis un peu bloqué la j'ai réinstallé l'agent plusieurs fois j'ai ouvert le port 62354 sur mon pc de test pour que l'info de l'agent puisse sortir correctement mais meme en forcant l'inventaire rien ne remonte dans GLPI.

Merci pour votre aide.

Re: Migration d'OCS vers FusionInventory

Viewing all 6597 articles
Browse latest View live