[Fusioninventory-user] Imposible to force an inventory from GLPI in windows clients

Chris Wood CWood at ta-petro.com
Fri Dec 2 15:27:51 UTC 2011


I'm having a similar issue - the Windows Administrator didn't like that 
the fusion inventory agent consumed 26Mb of RAM when running as a service, 
so he set it up to run at agent installation, system startup, and once a 
day thereafter. After the initial install, the agent checked in, but it 
has not checked in for the past 3 days. How can we get the Windows agent 
to report in on a regular schedule?

FusionInventory 2.3.6
GLPI 0.78.5 

Thanks,
Chris



From:   Tomas Abad <tabad at sescam.jccm.es>
To:     fusioninventory-user at lists.alioth.debian.org
Date:   11/25/2011 08:04 AM
Subject:        Re: [Fusioninventory-user] Imposible to force an inventory 
from GLPI in windows clients
Sent by:        
fusioninventory-user-bounces+cwood=ta-petro.com at lists.alioth.debian.org



   Hello David,

On 11/25/2011 01:38 PM, David DURIEUX wrote:
> Le Fri, 25 Nov 2011 13:19:42 +0100
> Tomas Abad <tabad at sescam.jccm.es> a écrit:
> 
>>   Hello Gonéri,
>>
>> On 11/25/2011 11:13 AM, Gonéri Le Bouder wrote:
>>> 2011/11/25 Tomas Abad <tabad at sescam.jccm.es>:
>>>>   Hello to all,
>>> Hello Tomas,
>>>
>>>>   Inside of 'FusInv Task' tab, the agent status is: 'Available'. The
>>>> FusionInventory-Agent service in the Windows client is started and
>>>> is running. The firewall of Windows client is disabled. All seems
>>>> correct but when do click in 'Force Inventory' button, an error
>>>> appears on top of the window: 'Impossible to communicate with
>>>> agent!'.
>>>
>>> Does it work if you try that directly from the computer itself with
>>> http://127.0.0.1:62354/now?
>>
>>   I have assigned the value 1 to the field 'rpc-trust-localhost' in
>> the
>> Windows Registry and then I have stopped and started the Windows
>> service FusionInventory-Agent.
>>
>>   Now, the user, can force an inventory with
>> http://127.0.0.1:62354/now
>> but, from GLPI, it's impossible. Again, I have the same error:
>> 'Impossible to communicate with agent!'.
>>
>>   Best regards.
>>
> 
> Check if port 62354 answer for this computer from GLPI server. (use
> telnet for example)
> 
> David
> ++

   The communications are OK but I can test it, of course.

   *** The Windows client is listening in 62354 port
   ******

Microsoft Windows XP [Versión 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>netstat -an

Conexiones activas

  Proto  Dirección local        Dirección remota       Estado
  ...
  TCP    0.0.0.0:62354          0.0.0.0:0              LISTENING
  ...


   *** This is the FusionInventory-Agent service registry
   ******

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\FusionInventory-Agent]
"server"="
https://ecumene.sociedad.imaginaria.es/ocsinventory,https://ecumene.sociedad.imaginaria.es/glpi/plugins/fusioninventory/
"
"tag"=""
"user"=""
"password"=""
"realm"=""
"ca-cert-file"="C:\\Archivos de 
programa\\FusionInventory-Agent\\certs\\hgucr-cert.pem"
"no-ssl-check"="0"
"proxy"=""
"rpc-port"=""
"debug"="1"
"rpc-trust-localhost"="1"
"scan-homedirs"="1"
"basevardir"="C:\\Archivos de programa\\FusionInventory-Agent\\dumps"
"share-dir"="C:\\Archivos de programa\\FusionInventory-Agent\\share"
"logfile"="C:\\Archivos de programa\\FusionInventory-Agent\\agent-log.txt"
"logfile-maxsize"="5"


   *** This is the test connection from a Linux system
   ******

tabad at hatteria:~$ telnet 10.36.6.30 62354
Trying 10.36.6.30...
Connected to 10.36.6.30.
Escape character is '^]'.
Hello World!
<title>500 Internal Server Error</title>
<h1>500 Internal Server Error</h1>

Connection closed by foreign host.


   *** This is the agent log file
   ******
[Fri Nov 25 13:48:33 2011][debug] FusionInventory unified agent for UNIX, 
Linux, Windows and MacOSX 2.1.12-1
[Fri Nov 25 13:48:33 2011][debug] Log system initialised (2)
[Fri Nov 25 13:48:33 2011][debug] vardir: C:\Archivos de 
programa\FusionInventory-Agent\dumps/https..__ecumene.sociedad.imaginaria.es_ocsinventory
[Fri Nov 25 13:48:33 2011][debug] [
https://ecumene.sociedad.imaginaria.es/ocsinventory] Next server contact 
planned for Fri Nov 25 22:57:03 2011
[Fri Nov 25 13:48:33 2011][debug] No accountinfo file defined
[Fri Nov 25 13:48:33 2011][debug] vardir: C:\Archivos de 
programa\FusionInventory-Agent\dumps/https..__ecumene.sociedad.imaginaria.es_glpi_plugins_fusioninventory_
[Fri Nov 25 13:48:33 2011][debug] [
https://ecumene.sociedad.imaginaria.es/glpi/plugins/fusioninventory/] Next 
server contact planned for Fri Nov 25 20:09:04 2011
[Fri Nov 25 13:48:33 2011][debug] No accountinfo file defined
[Fri Nov 25 13:48:33 2011][debug] [RPC] static files are in C:\Archivos de 
programa\FusionInventory-Agent\share/html
[Fri Nov 25 13:48:33 2011][debug] FusionInventory Agent initialised
[Fri Nov 25 13:48:33 2011][info] RPC service started at: 
http://127.0.0.1:62354
[Fri Nov 25 13:58:37 2011][debug] [RPC] 10.36.9.234 request World!
[Fri Nov 25 13:58:37 2011][debug] [RPC] Err, 500


   I don't know but, sincerely, I think it's not a problem related with 
'rpc-trust-localhost' registry parameter.

   Best regards.

-- 
------------------------------------------------------------------------
 Sed amables con los demás. Hasta dónde lleguéis en esta vida dependerá
  de cuán cariñosos seáis con los más jóvenes, cuán compasivos con los
  mayores, cuán comprensivos con los rivales, cuán tolerantes con los
   débiles y con los fuertes. Porque en esta vida, algún día habréis
                 sido todos ellos. (George Washington Carver)
                              ------------
                               Tomas Abad
                         Ingeniero de Sistemas

                 Servicio de Salud de Castilla-La Mancha
                     Hospital General de Ciudad Real
                         Servicio de Informática
------------------------------------------------------------------------

_______________________________________________
Fusioninventory-user mailing list
Fusioninventory-user at lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/fusioninventory-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/fusioninventory-user/attachments/20111202/6df5dc25/attachment.html>


More information about the Fusioninventory-user mailing list