• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Deep recursion on subroutine usando fusioninventory-wmi
#1
Buenas 

Tengo un problema realizando inventarios con fusioninventory-wmi.bat

fusioninventory-agent.bat --version
FusionInventory Agent (2.6)
Provided by Fusioninventory
Installer built with Appveyor on Fri Nov 27 15:35:24 UTC 2020

 fusioninventory-wmi.bat --version
fusioninventory-wmi 0.3
based on FusionInventory Agent v2.6
Provided by Fusioninventory
Installer built with Appveyor on Fri Nov 27 15:35:24 UTC 2020


Tratando de escanear un equipo windows se genera el siguiente problema.

Comando

fusioninventory-wmi.bat -t COMPUTER --backend-collect-timeout=280 --no-category=PRINTER --host x.x.x.x --user xx\xx --pass xxx --server=http://ourserver.

Salida del comando:

Deep recursion on subroutine "FusionInventory::Agent::Tools::Win32::_getRegistryKeyFromWMI" at C:\FusionInventory-Agent/perl/agent/FusionInventory/Agent/Tools/Win32.pm line 543.
Use of uninitialized value in numeric eq (==) at C:\FusionInventory-Agent/perl/agent/FusionInventory/Agent/Tools/Win32.pm line 510.
Use of uninitialized value in numeric eq (==) at C:\FusionInventory-Agent/perl/agent/FusionInventory/Agent/Tools/Win32.pm line 513.


El caso es que se queda en bucle infinito y si no cortas el comando prosigue "ad eternum".

¿Alguíen tiene un problema parecido?
¿Se podría solventar?

No se si el foro correcto donde realizar esta pregunta

Un saludo
  Reply
#2
Hi carlos_moreno

the WMI support is experimental since a while and indeed has been abandoned as nobody was really interested to use it. So I'm not surprised it is has some bugs.

I'm working on another FusionInventory-Agent based agent which will introduce remote inventory using WinRM protocol for remote windows inventory. You should ear of it during the next few months.

If you really need WMI support, please contact Teclib, the company for which I'm working.
  Reply
#3
Thank you for your prompt response.

The WinRM option is very interesting and we have already studied it for certain tasks, I will keep an eye on it.

Thanks again
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)