[Fusioninventory-user] Doubt

Guillaume Bougard gbougard at teclib.com
Wed Jan 30 08:57:52 GMT 2019


Hi,

About "What file and what directory Fusioninventory-agent save temporary files on Windows?":
For Deploy task, the system temporary folder is used, formally it should be "C:\Windows\Temp" ($ENV{TEMP} is used in fact).
In few other case, temp files may be created in the current folder which is "C:\Program Files\Fusioninventory-Agent\perl\bin while running as a service.

For the other questions, I don't understand them. Maybe you should explain what you understand by now and then ask your question more accurately.

Regards,

Guillaume Bougard
TECLIB' Montpellier 

----- Mail original ----- 
De: "Luiz Guilherme Nunes Fernandes" <narutospinal at gmail.com> 
À: "FusionInventory User discussion" <fusioninventory-user at alioth-lists.debian.net> 
Envoyé: Mardi 29 Janvier 2019 16:50:55 
Objet: Re: [Fusioninventory-user] Doubt 

I forgot, This xml format data. 

On Tue, Jan 29, 2019 at 1:50 PM Luiz Guilherme Nunes Fernandes < narutospinal at gmail.com > wrote: 



Hi again, I have new question. 
What file and what directory Fusioninventory-agent save temporary files on Windows? What is Perl File in Which can I change? 

On Fri, Jan 25, 2019 at 10:19 AM Luiz Guilherme Nunes Fernandes < narutospinal at gmail.com > wrote: 

<blockquote>

Ahhh sorry, Here It have windows 7 and windows 10. 

Really. I don't understand because this problem. Well, of side of Server I check memory use, Cpu use, IO. 
If problem persists i try Maintenance task then. 

In our network there are around 10,000 machines. This problem occour about 200 machines. I see only this problem with version 2.4.1. 
I believe the problem is with the workstations, because, I try use command fusioninventory-inventory.bat and don't create xml correct with version 2.4.1 on same machines. I look on side of server. Empty datas. 

Well, I can confirmed this Machine is about 9500 ( Windows 7 64 bits and Windows 10 64 bits), another 500, windows xp 32 bits and Linux System (ubuntu, debian, centos and another Linux Operations system 64 bits) 

Configuration of Server: 
4 core 2.4 GHz 
16 GB de Ram 
80 GB HD 

NFS 
blabla:/srv/nfs/ufs01_nfs02/glpi/upload 788G 401G 387G 51% /var/www/html/glpi/files/_plugins/fusioninventory/upload 
blabla:/srv/nfs/ufs01_nfs02/glpi/repository 788G 401G 387G 51% /var/www/html/glpi/files/_plugins/fusioninventory/files/repository 

My suggestion on company is version 2.4.2 too. But resquest me install version 2.4.0 But i preffer test with version 2.4.2, because in my company has inumerals problems with version 2.4.1 

Apparently the problem is not server side, because the other machines are not presenting problems. 

Machine show this problem now. I can't now install new version this machine. I try a new test. Thanks for informations. If you have new ideas. I can do new tests. 

[Fri Jan 25 04:50:19 2019][info] FusionInventory Agent memory usage: 2961408
[Fri Jan 25 04:51:56 2019][info] running task Maintenance
[Fri Jan 25 04:51:58 2019][info] FusionInventory Agent memory usage: 3035136
[Fri Jan 25 04:53:43 2019][info] running task Maintenance
[Fri Jan 25 04:53:45 2019][info] FusionInventory Agent memory usage: 2985984
[Fri Jan 25 04:55:43 2019][info] running task Maintenance
[Fri Jan 25 04:55:45 2019][info] FusionInventory Agent memory usage: 3031040
[Fri Jan 25 04:56:03 2019][info] sending prolog request to server server0
[Fri Jan 25 04:56:03 2019][info] running task Deploy
[Fri Jan 25 04:56:03 2019][info] No Deploy job enabled or Deploy support disabled server side.
[Fri Jan 25 04:56:05 2019][info] running task ESX
[Fri Jan 25 04:56:05 2019][info] No ESX job enabled or ESX support disabled server side.
[Fri Jan 25 04:56:11 2019][info] running task Collect
[Fri Jan 25 04:56:11 2019][info] No Collect job enabled or Collect support disabled server side.
[Fri Jan 25 04:56:16 2019][info] running task Inventory
[Fri Jan 25 04:56:17 2019][info] Timeout reached on Win32_SoundDevice class WMI objects
[Fri Jan 25 04:59:16 2019][info] Timeout reached on Win32_DiskDrive class WMI objects
[Fri Jan 25 05:02:39 2019][info] Timeout reached on CIM_LogicalDevice class WMI objects
[Fri Jan 25 05:02:49 2019][info] Timeout reached on SELECT * FROM Win32_UserAccount WHERE LocalAccount='True' AND Disabled='False' and Lockout='False' WMI query
[Fri Jan 25 05:05:48 2019][info] Timeout reached on SELECT * FROM Win32_Group WHERE LocalAccount='True' WMI query
[Fri Jan 25 05:05:59 2019][info] Timeout reached on SELECT * FROM Win32_Process WHERE ExecutablePath IS NOT NULL AND ExecutablePath LIKE '%\\Explorer.exe' WMI query
[Fri Jan 25 05:06:10 2019][info] Timeout reached on Win32_VideoController class WMI objects
[Fri Jan 25 05:06:21 2019][info] Timeout reached on Win32_OperatingSystem class WMI objects
[Fri Jan 25 05:09:20 2019][info] Timeout reached on Win32_ComputerSystem class WMI objects
[Fri Jan 25 05:09:31 2019][info] Timeout reached on Win32_ComputerSystemProduct class WMI objects
[Fri Jan 25 05:12:30 2019][info] Timeout reached on WMIMonitorConnectionParams class WMI objects
[Fri Jan 25 05:15:29 2019][info] Timeout reached on Win32_DesktopMonitor class WMI objects
[Fri Jan 25 09:08:25 2019][info] FusionInventory Agent memory usage: 3002368
[Fri Jan 25 09:08:27 2019][info] running task Maintenance
[Fri Jan 25 09:08:29 2019][info] FusionInventory Agent memory usage: 2969600
[Fri Jan 25 09:09:46 2019][info] running task Maintenance
[Fri Jan 25 09:09:48 2019][info] FusionInventory Agent memory usage: 2953216
[Fri Jan 25 09:11:12 2019][info] running task Maintenance
[Fri Jan 25 09:11:14 2019][info] FusionInventory Agent memory usage: 2953216
[Fri Jan 25 09:12:39 2019][info] running task Maintenance
[Fri Jan 25 09:12:41 2019][info] FusionInventory Agent memory usage: 2957312
[Fri Jan 25 09:13:57 2019][info] running task Maintenance
[Fri Jan 25 09:13:59 2019][info] FusionInventory Agent memory usage: 2957312 




On Fri, Jan 25, 2019 at 7:52 AM Guillaume Bougard < gbougard at teclib.com > wrote: 

<blockquote>

Hi, 

you didn't answer to that question: "Also what is the system you're running the agent on ? What's also that system version ?" 

You can try disabling the Maintenance task but I don't see how it could slow down the inventory runs. To disable the task, use "no-task" option, setting it with "Maintenance". Under win32, just edit the option in the registry otherwise on other systems you need to edit the config file. 

5 minutes is still a very long run ! Of course 15 is a lot more... Is the system heavyly loaded while the agent runs ? 
Try to enable the debug option, you should see then which task is really long and eventually which Inventory task module can be too slow. 

Let me makes some asumptions as you said nothing about your system... You're running the agent on win32, maybe in a VM without enough resources. On such systems, I still saw the inventory can take a very long time doing WMI calls especially while doing software inventory and many system hotfixes has been installed (on old very old systems). My though is your inventory duriation won't be reliable in the meantime on heavy loaded systems and you should check the duration at different periods. 

You can even as a try to not inventory softwares setting the "no-category" option to "software" to see if it's shorten the inventory duration. 

Also give a chance to the 2.4.2 agent which was released in october. 

Regards, 

Guillaume Bougard 
TECLIB' Montpellier 


De: "Luiz Guilherme Nunes Fernandes" < narutospinal at gmail.com > 
À: "FusionInventory User discussion" < fusioninventory-user at alioth-lists.debian.net > 
Envoyé: Mercredi 23 Janvier 2019 18:13:38 
Objet: Re: [Fusioninventory-user] Doubt 

Well, 
I have this problem, when I use Fusion Inventory Agent 2.4.1 has this problem and I can't stop this service. Show empty Operation System and Name of computer on GLPI. 

I look the machines with 2.4.0 version +- complete your inventory 5 minutes and version 2.4.1 +- complete 15 minutes with problem in xml on agent and server too. But 2.4.0 don't has this problem. 

# Initial Solution. 
I need to kill first, I Rollback instalation 2.4.0, because approved b y company and work fine. But how atm in the company several machines with 2.4.1 version, I need to find a solution. 

Then I think, Can I disable " Maintenance task " Service? 

On Wed, Jan 23, 2019 at 2:12 PM Guillaume Bougard < gbougard at teclib.com > wrote: 

<blockquote>
Hi, 

Maintenance task is a new task which only purpose is actually to cleanup some Deploy tasks temporary spaces. 

If you don't need Deploy task, you may disable it and the Maintenance task should also be disabled, at least with latest 2.4.2 FusionInventory agent. 

Btw what do you exactly mean by "the fusioninventory agent is slow" ? What is your timing reference ? 
Also what is the system you're running the agent on ? What's also that system version ? 

Regards, 

Guillaume Bougard 
TECLIB' Montpellier 


----- Mail original ----- 
De: "Luiz Guilherme Nunes Fernandes" < narutospinal at gmail.com > 
À: fusioninventory-user at alioth-lists.debian.net 
Envoyé: Mercredi 23 Janvier 2019 13:00:50 
Objet: [Fusioninventory-user] Doubt 

Hi, 
I was checking logs of FusionInventory Agent, there are many messages and the fusioninventory Agent is slow. What is task Maintenance? Can I disable this service? 

[Wed Jan 23 09:23:20 2019][info] FusionInventory Agent memory usage: 3162112 
[Wed Jan 23 09:25:09 2019][info] running task Maintenance 
[Wed Jan 23 09:25:11 2019][info] FusionInventory Agent memory usage: 3047424 
[Wed Jan 23 09:27:11 2019][info] running task Maintenance 
[Wed Jan 23 09:27:13 2019][info] FusionInventory Agent memory usage: 3047424 
[Wed Jan 23 09:28:29 2019][info] running task Maintenance 
[Wed Jan 23 09:28:31 2019][info] FusionInventory Agent memory usage: 3043328 
[Wed Jan 23 09:30:24 2019][info] running task Maintenance 
[Wed Jan 23 09:30:26 2019][info] FusionInventory Agent memory usage: 3149824 
[Wed Jan 23 09:32:02 2019][info] running task Maintenance 
[Wed Jan 23 09:32:04 2019][info] FusionInventory Agent memory usage: 3047424 
[Wed Jan 23 09:33:36 2019][info] running task Maintenance 
[Wed Jan 23 09:33:38 2019][info] FusionInventory Agent memory usage: 3170304 
[Wed Jan 23 09:35:03 2019][info] running task Maintenance 
[Wed Jan 23 09:35:05 2019][info] FusionInventory Agent memory usage: 3338240 
[Wed Jan 23 09:36:13 2019][info] running task Maintenance 
[Wed Jan 23 09:36:15 2019][info] FusionInventory Agent memory usage: 3141632 
[Wed Jan 23 09:37:47 2019][info] running task Maintenance 
[Wed Jan 23 09:37:49 2019][info] FusionInventory Agent memory usage: 3063808 
[Wed Jan 23 09:39:14 2019][info] running task Maintenance 
[Wed Jan 23 09:39:16 2019][info] FusionInventory Agent memory usage: 3129344 
[Wed Jan 23 09:40:36 2019][info] running task Maintenance 
[Wed Jan 23 09:40:38 2019][info] FusionInventory Agent memory usage: 3059712 
[Wed Jan 23 09:42:10 2019][info] running task Maintenance 
[Wed Jan 23 09:42:12 2019][info] FusionInventory Agent memory usage: 3104768 
[Wed Jan 23 09:43:37 2019][info] running task Maintenance 
[Wed Jan 23 09:43:39 2019][info] FusionInventory Agent memory usage: 3055616 
[Wed Jan 23 09:45:19 2019][info] running task Maintenance 
[Wed Jan 23 09:45:21 2019][info] FusionInventory Agent memory usage: 3198976 
[Wed Jan 23 09:47:13 2019][info] running task Maintenance 

_______________________________________________ 
Fusioninventory-user mailing list 
Fusioninventory-user at alioth-lists.debian.net 
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/fusioninventory-user 

_______________________________________________ 
Fusioninventory-user mailing list 
Fusioninventory-user at alioth-lists.debian.net 
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/fusioninventory-user 




_______________________________________________ 
Fusioninventory-user mailing list 
Fusioninventory-user at alioth-lists.debian.net 
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/fusioninventory-user 

_______________________________________________ 
Fusioninventory-user mailing list 
Fusioninventory-user at alioth-lists.debian.net 
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/fusioninventory-user 

</blockquote>



-- 
<<<<<<<<<<<<<<<<<<<------------------------------------------------------------------->>>>>>>>>>>>>>>>>>> 
Att. 
♪ ♫ Luiz Guilherme Nunes Fernandes ♫ ♪ 
<<<<<<<<<<<<<<<<<<<<------------------------------------------------------------------->>>>>>>>>>>>>>>>>>> 

</blockquote>



-- 
<<<<<<<<<<<<<<<<<<<------------------------------------------------------------------->>>>>>>>>>>>>>>>>>> 
Att. 
♪ ♫ Luiz Guilherme Nunes Fernandes ♫ ♪ 
<<<<<<<<<<<<<<<<<<<<------------------------------------------------------------------->>>>>>>>>>>>>>>>>>> 

</blockquote>



-- 
<<<<<<<<<<<<<<<<<<<------------------------------------------------------------------->>>>>>>>>>>>>>>>>>> 
Att. 
♪ ♫ Luiz Guilherme Nunes Fernandes ♫ ♪ 
<<<<<<<<<<<<<<<<<<<<------------------------------------------------------------------->>>>>>>>>>>>>>>>>>> 

_______________________________________________ 
Fusioninventory-user mailing list 
Fusioninventory-user at alioth-lists.debian.net 
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/fusioninventory-user



More information about the Fusioninventory-user mailing list