From CWood at ta-petro.com Fri Dec 2 15:27:51 2011 From: CWood at ta-petro.com (Chris Wood) Date: Fri, 2 Dec 2011 10:27:51 -0500 Subject: [Fusioninventory-user] Imposible to force an inventory from GLPI in windows clients In-Reply-To: <4ECF9243.40403@sescam.jccm.es> References: <4ECF693E.9000705@sescam.jccm.es> <4ECF87DE.50001@sescam.jccm.es> <20111125133800.6c689126@port004.bureau.siprossii.com> <4ECF9243.40403@sescam.jccm.es> Message-ID: 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 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 a ?crit: > >> Hello Gon?ri, >> >> On 11/25/2011 11:13 AM, Gon?ri Le Bouder wrote: >>> 2011/11/25 Tomas Abad : >>>> 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! 500 Internal Server Error

500 Internal Server Error

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: From goneri at rulezlan.org Fri Dec 2 16:16:57 2011 From: goneri at rulezlan.org (=?UTF-8?Q?Gon=C3=A9ri_Le_Bouder?=) Date: Fri, 2 Dec 2011 17:16:57 +0100 Subject: [Fusioninventory-user] Scheduled task on Windows Message-ID: 2011/12/2 Chris Wood : > 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? Hello Chris, I believe the best solution in your case it to create an entry in Windows "Scheduled Tasks". The Windows installer is generated with NSIS. If you want to look further, the NSIS files are here :http://prebuilt.fusioninventory.org/devel/2.2.x/windows-i386/ I think we should suggest 2 options: - install and enable the service - create a ?Scheduled Task? (in this case we install the service but disable in) This do the trick on my Windows XP computer. schtasks /Create /TN FusionInventory-Agent /TR "\"c:\program files\FusionInventory-Agent\perl\bin\perl.exe\" \"c:\Program files\FusionInventory-Agent\perl\bin\fusioninventory-agent"" /RU SYSTEM /SC DAILY It would be interesting to know if it's also the case on 7 and Vista. Sadly schtasks is not supported on Win2000. We can still use at.exe instead as a workaround solution or maybe a NSIS plugin already exists for that. Best regards, -- Gon?ri Le Bouder -------------- next part -------------- An HTML attachment was scrubbed... URL: From tabad at sescam.jccm.es Wed Dec 7 10:09:37 2011 From: tabad at sescam.jccm.es (Tomas Abad) Date: Wed, 07 Dec 2011 11:09:37 +0100 Subject: [Fusioninventory-user] Imposible to force an inventory from GLPI in windows clients In-Reply-To: References: <4ECF693E.9000705@sescam.jccm.es> <4ECF87DE.50001@sescam.jccm.es> <20111125133800.6c689126@port004.bureau.siprossii.com> <4ECF9243.40403@sescam.jccm.es> Message-ID: <4EDF3B61.2050407@sescam.jccm.es> Hello Gon?ri, On 11/25/2011 02:54 PM, Gon?ri Le Bouder wrote: > 2011/11/25 Tomas Abad : > Hi Tomas, > > I did some changes regarding this part of the code on the server. It > would be interesting to see if > it works with the current FusionInventory For GLPI glpi0.80+1.1 beta release. > http://forge.fusioninventory.org/projects/fusioninventory-for-glpi/files As you know, these days I can not realize tests with FusionInventory for GLPI v0.80+1.1 (nowadays in Beta2) but I ask myself if there is anybody than is testing v0.80+1.1 could to do this test for me. (I think it's an easy test) ;) Gon?ri, do you think that this malfunction is related with FusionInventory for GLPI plugin and not with FusionInventory Agent? Thanks in advance. -- ------------------------------------------------------------------------ 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 ------------------------------------------------------------------------ From tabad at sescam.jccm.es Thu Dec 8 01:43:56 2011 From: tabad at sescam.jccm.es (Tomas Abad) Date: Thu, 08 Dec 2011 02:43:56 +0100 Subject: [Fusioninventory-user] Impossible to force an inventory from GLPI in windows clients In-Reply-To: References: <4ECF693E.9000705@sescam.jccm.es> <4ECF87DE.50001@sescam.jccm.es> <20111125133800.6c689126@port004.bureau.siprossii.com> <4ECF9243.40403@sescam.jccm.es> Message-ID: <4EE0165C.8010900@sescam.jccm.es> Hello Gon?ri, On 11/25/2011 02:54 PM, Gon?ri Le Bouder wrote: > 2011/11/25 Tomas Abad : > Hi Tomas, > > I did some changes regarding this part of the code on the server. It > would be interesting to see if > it works with the current FusionInventory For GLPI glpi0.80+1.1 beta release. > http://forge.fusioninventory.org/projects/fusioninventory-for-glpi/files I have been able to get some time to try the new version 0.80+1.1 plugin (still in Beta). My new FusionInventory for GLPI v0.80+1.1 test environment is as following: .- The server .- Ubuntu Server 10.04.3 LTS (Lucid Lynx) - Architecture AMD64 .- OCS Inventory NG Management Server v2.0 .- GLPI v0.80.5 .- GLPI v0.80.5 Agents .- Bays Management v1.2.0 (Fixed) (See http://www.glpi-project.org/forum/viewtopic.php?id=26014) .- Data Injection v2.1.2 .- FusionInventory for GLPI v0.80+1.1 (BETA) (Package fusioninventory-for-glpi-snapshot-0.80-20111207-2301.tar.gz ) (See http://forum.fusioninventory.org/viewtopic.php?pid=5808#p5808 for) (to know how I build this package. ) .- FusionInventory v0.80+1.1 .- FusionInventory DEPLOY v0.80+1.1 .- FusionInventory INVENTORY v0.80+1.1 .- FusionInventory SNMP v0.80+1.1 .- Print to PDF v0.80.3 .- Shell Commands v1.4.0 .- Web Services v1.2.0 .- The agents .- FusionInventory-Agent v2.1.12-1 (for Windows) .- FusionInventory-Agent v2.1.11-1 (for Windows) .- FusionInventory-Agent v2.1.10-2 (for Windows) .- FusionInventory-Agent v2.1.9-3 (for Windows) .- FusionInventory-Agent v2.1.10-1 (for GNU/Linux) .- FusionInventory-Agent v2.1.9-3 (for GNU/Linux) With v0.80+1.1 the thing is a bit worse than the previous v0.80+1.0 version. Now happens the following: In Home> Inventory> Computers> FusInv Tasks (Tab), the button "Force Inventory" does not appears on the screen if the computer is a Windows computer (really if the computer has installed a FusionInventory Agent for Windows); in conclusion, it is not possible to force the inventory in windows computers. This does not happen if the computer is a GNU/Linux computer, with them you can force an inventory from GLPI without any problem. This is all. 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 ------------------------------------------------------------------------ From tabad at sescam.jccm.es Thu Dec 8 02:19:09 2011 From: tabad at sescam.jccm.es (Tomas Abad) Date: Thu, 08 Dec 2011 03:19:09 +0100 Subject: [Fusioninventory-user] Impossible to force an inventory from GLPI in windows clients In-Reply-To: <4EE0165C.8010900@sescam.jccm.es> References: <4ECF693E.9000705@sescam.jccm.es> <4ECF87DE.50001@sescam.jccm.es> <20111125133800.6c689126@port004.bureau.siprossii.com> <4ECF9243.40403@sescam.jccm.es> <4EE0165C.8010900@sescam.jccm.es> Message-ID: <4EE01E9D.80900@sescam.jccm.es> Hello Gon?ri, On 12/08/2011 02:43 AM, Tomas Abad wrote: > Hello Gon?ri, > > On 11/25/2011 02:54 PM, Gon?ri Le Bouder wrote: >> 2011/11/25 Tomas Abad : >> Hi Tomas, >> >> I did some changes regarding this part of the code on the server. It >> would be interesting to see if >> it works with the current FusionInventory For GLPI glpi0.80+1.1 beta release. >> http://forge.fusioninventory.org/projects/fusioninventory-for-glpi/files > > I have been able to get some time to try the new version 0.80+1.1 > plugin (still in Beta). > > [...] > > With v0.80+1.1 the thing is a bit worse than the previous v0.80+1.0 > version. Now happens the following: In Home> Inventory> Computers> > FusInv Tasks (Tab), the button "Force Inventory" does not appears on the > screen if the computer is a Windows computer (really if the computer has > installed a FusionInventory Agent for Windows); in conclusion, it is not > possible to force the inventory in windows computers. This does not > happen if the computer is a GNU/Linux computer, with them you can force > an inventory from GLPI without any problem. > > This is all. Best regards. I'm sorry, I have to apologize. After testing with other Windows computers it seems everything is correctly and it is possible to force the inventory with success also in these machines. I have repeated the successful test with a windows computer in v0.80+1.1 in v0.80+1.0 for the same windows computer and doesn't work, I get the message: "Impossible to communicate with agent!" The bug seems be in v0.80+1.0. Again, I apologize for my mistake. 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 ------------------------------------------------------------------------ From goneri at rulezlan.org Thu Dec 8 09:29:38 2011 From: goneri at rulezlan.org (=?UTF-8?Q?Gon=C3=A9ri_Le_Bouder?=) Date: Thu, 8 Dec 2011 10:29:38 +0100 Subject: [Fusioninventory-user] Impossible to force an inventory from GLPI in windows clients In-Reply-To: <4EE01E9D.80900@sescam.jccm.es> References: <4ECF693E.9000705@sescam.jccm.es> <4ECF87DE.50001@sescam.jccm.es> <20111125133800.6c689126@port004.bureau.siprossii.com> <4ECF9243.40403@sescam.jccm.es> <4EE0165C.8010900@sescam.jccm.es> <4EE01E9D.80900@sescam.jccm.es> Message-ID: 2011/12/8 Tomas Abad > Hello Gon?ri, > I'm sorry, I have to apologize. After testing with other Windows > computers it seems everything is correctly and it is possible to force > the inventory with success also in these machines. > > I have repeated the successful test with a windows computer in > v0.80+1.1 in v0.80+1.0 for the same windows computer and doesn't work, I > get the message: "Impossible to communicate with agent!" > > The bug seems be in v0.80+1.0. > Thank you for your feedback Tomas. This is a good new. The bug will be fixed with the next release. Maybe it's because the 0.80+1.1 will try to contact first the computer with the hostname instead of the IP addresses. Best regards, -- Gon?ri Le Bouder -------------- next part -------------- An HTML attachment was scrubbed... URL: From goneri at rulezlan.org Wed Dec 14 16:01:33 2011 From: goneri at rulezlan.org (=?UTF-8?Q?Gon=C3=A9ri_Le_Bouder?=) Date: Wed, 14 Dec 2011 17:01:33 +0100 Subject: [Fusioninventory-user] FusionInventory Agent 2.1.13 Message-ID: Hello all, We released FusionInventory Agent 2.1.13 some hours ago to fix a regression in the Network detection on Windows. You can download a binary package from: - http://prebuilt.fusioninventory.org/stable/ Or download the source archive directly from the CPAN: - http://search.cpan.org/dist/FusionInventory-Agent/ This is the changelog since the 2.1.10 release: Revision history for FusionInventory::Agent 2.1.13 Wed, 14 Dec 2011 13:06:44 +0100 TEST-SUITE ? 2.1.10 Test suite fails commit:8035bd http://forge.fusioninventory.org/issues/1161 thanks: Remi Collet WINDOWS ? VM System incorrect commit:b59a09 http://forge.fusioninventory.org/issues/1391 thanks: Mario Gzuk ? Fix the CPU detection on Windows thanks: Anthony Facchin 2.1.12 Wed, 23 Nov 2011 18:14:52 +0100 GENERIC ? Memory: Add ECC / no ECC information commit:b01f6f http://forge.fusioninventory.org/issues/1234 thanks: Walid Nouh, jerome slayer LINUX ? Duplication virtualmachine name on the same machine commit:982c08 http://forge.fusioninventory.org/issues/1140 thanks: DuyLong LE WINDOWS ? [windows] Virtual network adapter reported as physical - and breaks all computer linking in GLPI commit:5b4a1e http://forge.fusioninventory.org/issues/1166 thanks: David Durieux, V'yacheslav Stetskevych ? use $ENV{COMPUTERNAME} is HARDWARE/NAME is empty commit:44c07b http://forge.fusioninventory.org/issues/1330 ? 2.1.11 - Total amount of total RAM memory incorrectly detected on some Windows 7 computers commit:f93d24 http://forge.fusioninventory.org/issues/1334 thanks: Tom?s Abad, Andre Silva ? Dual screen configuration ignored on Windows Vista/7 commit:6cbf8b http://forge.fusioninventory.org/issues/1351 SOLARIS ? Fix some warnings for spurious stat() calls ? Fix hostname being forced to 'SOLARIS' 2.1.11 Mon, 12 Sep 2011 17:34:38 +0200 WINDOWS ? Fix the BIOS information collect on Win2003 <= system commit:8c2427da5, commit: fe345815 http://forge.fusioninventory.org/issues/1156 Best regards, -- Gon?ri Le Bouder -------------- next part -------------- An HTML attachment was scrubbed... URL: From goneri at rulezlan.org Thu Dec 15 10:42:49 2011 From: goneri at rulezlan.org (=?UTF-8?Q?Gon=C3=A9ri_Le_Bouder?=) Date: Thu, 15 Dec 2011 11:42:49 +0100 Subject: [Fusioninventory-user] FusionInventory Agent 2.1.13 In-Reply-To: <4EE9CC37.2090006@construccionescrespo.com> References: <4EE9CC37.2090006@construccionescrespo.com> Message-ID: 2011/12/15 ?scar Beiro > Hi, > > I've installed on a single Windows XP client and communication with server > stopped. > > The log shows some trouble with certificate check: > [Wed Dec 14 18:33:58 2011][error] Cannot establish communication with ` > https://hermes.domain/glpi/**plugins/fusioninventory: > 500 Bad SSL certificate subject: '/C=SP/ST=G/O=C/OU=SINF/CN=** > hermes.domain/emailAddress=**sinf at domain' !~ //CN=(hermes|\*)($|\/)/` > > Some domain info was edited, I you need more log info just ask. > Hello Oscar, Thank you for your feedback. Can you please attach the output of this command "openssl s_client -connect hermes.domaim:443"? Best regards, -- Gon?ri Le Bouder -------------- next part -------------- An HTML attachment was scrubbed... URL: From goneri at rulezlan.org Thu Dec 15 11:02:14 2011 From: goneri at rulezlan.org (=?UTF-8?Q?Gon=C3=A9ri_Le_Bouder?=) Date: Thu, 15 Dec 2011 12:02:14 +0100 Subject: [Fusioninventory-user] FusionInventory Agent 2.1.13 In-Reply-To: <4EE9D0E5.4080401@construccionescrespo.com> References: <4EE9CC37.2090006@construccionescrespo.com> <4EE9D0E5.4080401@construccionescrespo.com> Message-ID: 2011/12/15 ?scar Beiro > Hi, > > I've just send it to you. OK? :-) So I don't have to edit. > Thank you for the openssl output. In lib/FusionInventory/Agent/Network.pm Can you replace this line: $re =~ s/^([^\.]+)\.(.+)/($1|\\*)/; by this one: $re =~ s/^([^\.]+)/($1|\\*)/; Best regards, -- Gon?ri Le Bouder -------------- next part -------------- An HTML attachment was scrubbed... URL: