glpi-project / glpi-inventory-plugin

GLPI Inventory plugin
GNU Affero General Public License v3.0
46 stars 27 forks source link

Dell PowerConnect Switch on stack #318

Closed narfight closed 1 year ago

narfight commented 1 year ago

Hello,

I have a problem with import by SNMP (Version 2c) from stacked switch Powerconnect 5524. If I use the default rulse set for the import, GLPI overwrite 3 time the same objet : image

The only solution for me, is to put the rulse import/update "by serial" on the top of "by mac" and It's work the first time. GLPI see 3 objet in network equipement. The probleme is on update, I have a lot of error and the inventory don't update my switch on GLPI :-(

the switch : image

Import rulses actived in order :

  1. NetworkEquipment update (by serial)
  2. NetworkEquipment import (by serial)
  3. NetworkEquipment update (by mac)
  4. NetworkEquipment import denied

Error SQL:

[2023-02-28 09:07:04] glpisqllog.ERROR: DBmysql::query() in /var/www/html/src/DBmysql.php line 370
  *** MySQL query error:
  SQL: UPDATE `glpi_peripherals` SET `manufacturers_id` = 'Code Mercenaries Hard- und Software GmbH' WHERE `id` = '616'
  Error: Incorrect integer value: 'Code Mercenaries Hard- und Software GmbH' for column `glpi`.`glpi_peripherals`.`manufacturers_id` at row 1
  Backtrace :
  src/DBmysql.php:1439                               
  src/CommonDBTM.php:675                             DBmysql->update()
  src/CommonDBTM.php:1678                            CommonDBTM->updateInDB()
  src/Inventory/Asset/Peripheral.php:171             CommonDBTM->update()
  src/Inventory/Asset/MainAsset.php:862              Glpi\Inventory\Asset\Peripheral->handle()
  src/Inventory/Asset/MainAsset.php:782              Glpi\Inventory\Asset\MainAsset->handleAssets()
  src/RuleImportAsset.php:950                        Glpi\Inventory\Asset\MainAsset->rulepassed()
  src/Rule.php:1510                                  RuleImportAsset->executeActions()
  src/RuleCollection.php:1591                        Rule->process()
  src/Inventory/Asset/MainAsset.php:564              RuleCollection->processAllRules()
  src/Inventory/Inventory.php:702                    Glpi\Inventory\Asset\MainAsset->handle()
  src/Inventory/Inventory.php:337                    Glpi\Inventory\Inventory->handleItem()
  src/Inventory/Request.php:360                      Glpi\Inventory\Inventory->doInventory()
  src/Inventory/Request.php:90                       Glpi\Inventory\Request->inventory()
  src/Agent/Communication/AbstractRequest.php:332    Glpi\Inventory\Request->handleAction()
  src/Agent/Communication/AbstractRequest.php:244    Glpi\Agent\Communication\AbstractRequest->handleJSONRequest()
  front/inventory.php:92                             Glpi\Agent\Communication\AbstractRequest->handleRequest()
  ...tplace/glpiinventory/front/communication.php:72 include_once()
  marketplace/glpiinventory/index.php:45             include_once()
  {"user":"inventory@ticket"} 
[2023-02-28 11:48:54] glpisqllog.WARNING: DBmysql::query() in /var/www/html/src/DBmysql.php line 404
  *** MySQL query warnings:
  SQL: SELECT `glpi_computers`.`id`, `glpi_networkports`.`id` AS `portid` FROM `glpi_computers` LEFT JOIN `glpi_networkports` ON (`glpi_computers`.`id` = `glpi_networkports`.`items_id` AND `glpi_networkports`.`itemtype` = 'Computer') WHERE (`glpi_networkports`.`mac` IN ('4c:d9:8f:24:17:fe')) AND (`glpi_networkports`.`logical_number` = '14L9FV2 NIC.Integrated.1-3-1')
  Warnings: 
1292: Truncated incorrect DECIMAL value: '14L9FV2 NIC.Integrated.1-3-1'
  Backtrace :
  src/DBmysqlIterator.php:112                        
  src/DBmysql.php:1056                               DBmysqlIterator->execute()
  src/RuleImportAsset.php:538                        DBmysql->request()
  src/Rule.php:1649                                  RuleImportAsset->findWithGlobalCriteria()
  src/Rule.php:1507                                  Rule->checkCriterias()
  src/RuleCollection.php:1591                        Rule->process()
  src/Inventory/Asset/NetworkPort.php:251            RuleCollection->processAllRules()
  src/Inventory/Asset/NetworkPort.php:514            Glpi\Inventory\Asset\NetworkPort->handleLLDPConnection()
  src/Inventory/Asset/NetworkPort.php:538            Glpi\Inventory\Asset\NetworkPort->handleConnections()
  src/Inventory/Asset/NetworkPort.php:533            Glpi\Inventory\Asset\NetworkPort->portChanged()
  src/Inventory/Asset/InventoryNetworkPort.php:615   Glpi\Inventory\Asset\NetworkPort->portCreated()
  src/Inventory/Asset/InventoryNetworkPort.php:120   Glpi\Inventory\Asset\NetworkPort->handleCreates()
  src/Inventory/Asset/NetworkPort.php:690            Glpi\Inventory\Asset\NetworkPort->handlePortsTrait()
  src/Inventory/Asset/NetworkPort.php:523            Glpi\Inventory\Asset\NetworkPort->handlePorts()
  src/Inventory/Asset/MainAsset.php:862              Glpi\Inventory\Asset\NetworkPort->handle()
  src/Inventory/Asset/MainAsset.php:782              Glpi\Inventory\Asset\MainAsset->handleAssets()
  src/Inventory/Asset/NetworkEquipment.php:222       Glpi\Inventory\Asset\MainAsset->rulepassed()
  src/RuleImportAsset.php:950                        Glpi\Inventory\Asset\NetworkEquipment->rulepassed()
  src/Rule.php:1510                                  RuleImportAsset->executeActions()
  src/RuleCollection.php:1591                        Rule->process()
  src/Inventory/Asset/MainAsset.php:564              RuleCollection->processAllRules()
  src/Inventory/Inventory.php:702                    Glpi\Inventory\Asset\MainAsset->handle()
  src/Inventory/Inventory.php:337                    Glpi\Inventory\Inventory->handleItem()
  src/Inventory/Request.php:360                      Glpi\Inventory\Inventory->doInventory()
  src/Inventory/Request.php:283                      Glpi\Inventory\Request->inventory()
  src/Inventory/Request.php:250                      Glpi\Inventory\Request->network()
  src/Inventory/Request.php:98                       Glpi\Inventory\Request->networkInventory()
  src/Agent/Communication/AbstractRequest.php:305    Glpi\Inventory\Request->handleAction()
  src/Agent/Communication/AbstractRequest.php:242    Glpi\Agent\Communication\AbstractRequest->handleXMLRequest()
  src/Inventory/Conf.php:252                         Glpi\Agent\Communication\AbstractRequest->handleRequest()
  src/Inventory/Conf.php:193                         Glpi\Inventory\Conf->importContentFile()
  front/inventory.conf.php:47                        Glpi\Inventory\Conf->importFile()
  {"user":"8@ticket"} 
[2023-02-28 11:48:54] glpisqllog.WARNING: DBmysql::query() in /var/www/html/src/DBmysql.php line 404
  *** MySQL query warnings:
  SQL: SELECT `glpi_networkequipments`.`id`, `glpi_networkports`.`id` AS `portid` FROM `glpi_networkequipments` LEFT JOIN `glpi_networkports` ON (`glpi_networkequipments`.`id` = `glpi_networkports`.`items_id` AND `glpi_networkports`.`itemtype` = 'NetworkEquipment') WHERE (`glpi_networkports`.`mac` IN ('4c:d9:8f:24:17:fe')) AND (`glpi_networkports`.`logical_number` = '14L9FV2 NIC.Integrated.1-3-1')
  Warnings: 
1292: Truncated incorrect DECIMAL value: '14L9FV2 NIC.Integrated.1-3-1'
  Backtrace :
  src/DBmysqlIterator.php:112                        
  src/DBmysql.php:1056                               DBmysqlIterator->execute()
  src/RuleImportAsset.php:538                        DBmysql->request()
  src/Rule.php:1649                                  RuleImportAsset->findWithGlobalCriteria()
  src/Rule.php:1507                                  Rule->checkCriterias()
  src/RuleCollection.php:1591                        Rule->process()
  src/Inventory/Asset/NetworkPort.php:251            RuleCollection->processAllRules()
  src/Inventory/Asset/NetworkPort.php:514            Glpi\Inventory\Asset\NetworkPort->handleLLDPConnection()
  src/Inventory/Asset/NetworkPort.php:538            Glpi\Inventory\Asset\NetworkPort->handleConnections()
  src/Inventory/Asset/NetworkPort.php:533            Glpi\Inventory\Asset\NetworkPort->portChanged()
  src/Inventory/Asset/InventoryNetworkPort.php:615   Glpi\Inventory\Asset\NetworkPort->portCreated()
  src/Inventory/Asset/InventoryNetworkPort.php:120   Glpi\Inventory\Asset\NetworkPort->handleCreates()
  src/Inventory/Asset/NetworkPort.php:690            Glpi\Inventory\Asset\NetworkPort->handlePortsTrait()
  src/Inventory/Asset/NetworkPort.php:523            Glpi\Inventory\Asset\NetworkPort->handlePorts()
  src/Inventory/Asset/MainAsset.php:862              Glpi\Inventory\Asset\NetworkPort->handle()
  src/Inventory/Asset/MainAsset.php:782              Glpi\Inventory\Asset\MainAsset->handleAssets()
  src/Inventory/Asset/NetworkEquipment.php:222       Glpi\Inventory\Asset\MainAsset->rulepassed()
  src/RuleImportAsset.php:950                        Glpi\Inventory\Asset\NetworkEquipment->rulepassed()
  src/Rule.php:1510                                  RuleImportAsset->executeActions()
  src/RuleCollection.php:1591                        Rule->process()
  src/Inventory/Asset/MainAsset.php:564              RuleCollection->processAllRules()
  src/Inventory/Inventory.php:702                    Glpi\Inventory\Asset\MainAsset->handle()
  src/Inventory/Inventory.php:337                    Glpi\Inventory\Inventory->handleItem()
  src/Inventory/Request.php:360                      Glpi\Inventory\Inventory->doInventory()
  src/Inventory/Request.php:283                      Glpi\Inventory\Request->inventory()
  src/Inventory/Request.php:250                      Glpi\Inventory\Request->network()
  src/Inventory/Request.php:98                       Glpi\Inventory\Request->networkInventory()
  src/Agent/Communication/AbstractRequest.php:305    Glpi\Inventory\Request->handleAction()
  src/Agent/Communication/AbstractRequest.php:242    Glpi\Agent\Communication\AbstractRequest->handleXMLRequest()
  src/Inventory/Conf.php:252                         Glpi\Agent\Communication\AbstractRequest->handleRequest()
  src/Inventory/Conf.php:193                         Glpi\Inventory\Conf->importContentFile()
  front/inventory.conf.php:47                        Glpi\Inventory\Conf->importFile()
  {"user":"8@ticket","mem_usage":"0.001\", 11.64Mio)"} 
[2023-02-28 11:48:54] glpisqllog.WARNING: DBmysql::query() in /var/www/html/src/DBmysql.php line 404
  *** MySQL query warnings:
  SQL: SELECT `glpi_printers`.`id`, `glpi_networkports`.`id` AS `portid` FROM `glpi_printers` LEFT JOIN `glpi_networkports` ON (`glpi_printers`.`id` = `glpi_networkports`.`items_id` AND `glpi_networkports`.`itemtype` = 'Printer') WHERE (`glpi_networkports`.`mac` IN ('4c:d9:8f:24:17:fe')) AND (`glpi_networkports`.`logical_number` = '14L9FV2 NIC.Integrated.1-3-1')
  Warnings: 
1292: Truncated incorrect DECIMAL value: '14L9FV2 NIC.Integrated.1-3-1'
  Backtrace :
  src/DBmysqlIterator.php:112                        
  src/DBmysql.php:1056                               DBmysqlIterator->execute()
  src/RuleImportAsset.php:538                        DBmysql->request()
  src/Rule.php:1649                                  RuleImportAsset->findWithGlobalCriteria()
  src/Rule.php:1507                                  Rule->checkCriterias()
  src/RuleCollection.php:1591                        Rule->process()
  src/Inventory/Asset/NetworkPort.php:251            RuleCollection->processAllRules()
  src/Inventory/Asset/NetworkPort.php:514            Glpi\Inventory\Asset\NetworkPort->handleLLDPConnection()
  src/Inventory/Asset/NetworkPort.php:538            Glpi\Inventory\Asset\NetworkPort->handleConnections()
  src/Inventory/Asset/NetworkPort.php:533            Glpi\Inventory\Asset\NetworkPort->portChanged()
  src/Inventory/Asset/InventoryNetworkPort.php:615   Glpi\Inventory\Asset\NetworkPort->portCreated()
  src/Inventory/Asset/InventoryNetworkPort.php:120   Glpi\Inventory\Asset\NetworkPort->handleCreates()
  src/Inventory/Asset/NetworkPort.php:690            Glpi\Inventory\Asset\NetworkPort->handlePortsTrait()
  src/Inventory/Asset/NetworkPort.php:523            Glpi\Inventory\Asset\NetworkPort->handlePorts()
  src/Inventory/Asset/MainAsset.php:862              Glpi\Inventory\Asset\NetworkPort->handle()
  src/Inventory/Asset/MainAsset.php:782              Glpi\Inventory\Asset\MainAsset->handleAssets()
  src/Inventory/Asset/NetworkEquipment.php:222       Glpi\Inventory\Asset\MainAsset->rulepassed()
  src/RuleImportAsset.php:950                        Glpi\Inventory\Asset\NetworkEquipment->rulepassed()
  src/Rule.php:1510                                  RuleImportAsset->executeActions()
  src/RuleCollection.php:1591                        Rule->process()
  src/Inventory/Asset/MainAsset.php:564              RuleCollection->processAllRules()
  src/Inventory/Inventory.php:702                    Glpi\Inventory\Asset\MainAsset->handle()
  src/Inventory/Inventory.php:337                    Glpi\Inventory\Inventory->handleItem()
  src/Inventory/Request.php:360                      Glpi\Inventory\Inventory->doInventory()
  src/Inventory/Request.php:283                      Glpi\Inventory\Request->inventory()
  src/Inventory/Request.php:250                      Glpi\Inventory\Request->network()
  src/Inventory/Request.php:98                       Glpi\Inventory\Request->networkInventory()
  src/Agent/Communication/AbstractRequest.php:305    Glpi\Inventory\Request->handleAction()
  src/Agent/Communication/AbstractRequest.php:242    Glpi\Agent\Communication\AbstractRequest->handleXMLRequest()
  src/Inventory/Conf.php:252                         Glpi\Agent\Communication\AbstractRequest->handleRequest()
  src/Inventory/Conf.php:193                         Glpi\Inventory\Conf->importContentFile()
  front/inventory.conf.php:47                        Glpi\Inventory\Conf->importFile()
  {"user":"8@ticket","mem_usage":"0.001\", 11.64Mio)"}

SNMP inventory file : stack-haut.txt GLPI : 10.0.6 GLPI Inventory : 1.1.0 (from marketplace) GLPI Agent : 1.4 and tested with 1.5-gitec37be05

trasher commented 1 year ago

You should try with GLPI latest nightly that already solves some issues you report.

trasher commented 1 year ago

Trying on current nightly on my side with provided inventory file, I do not have the issues you list; but I do have some other. I'll investigate to find what's wrong; update may be broken if initial import is not ok itself.

trasher commented 1 year ago

OK, issues I've seen are not related to your issue.

But I also think you do not really have an issue. You equipment is a stacked one, therefore GLPI creates 3 different NetworkEquipments assets. Replaying inventory will also update those 3 ones; the "main" on a set of criteria, and all otehr on possible another set.

narfight commented 1 year ago

I put my GLPI Inventory up to date from github (commit n°cb2e55cdbbd9b91b01e90bbb4d589b130910ecba)

I deleted my 3 switchs objet and empty the recycle bin, reset all rulses of import and import two XML file (one from yesterday and this : stack-haut-1-03.txt)

First import : it's OK, 3 objets Second import for update : nothing, error in php log file (nothing in SQL) :

[2023-03-01 10:54:58] glpiphplog.WARNING:   *** PHP User Warning (512): Phone/Computer MAC linked in /var/www/html/src/Inventory/Asset/NetworkPort.php at line 356
  Backtrace :
  src/Inventory/Asset/NetworkPort.php:356            trigger_error()
  src/Inventory/Asset/NetworkPort.php:607            Glpi\Inventory\Asset\NetworkPort->handleMacConnection()
  src/Inventory/Asset/NetworkPort.php:629            Glpi\Inventory\Asset\NetworkPort->handleConnections()
  src/Inventory/Asset/NetworkPort.php:624            Glpi\Inventory\Asset\NetworkPort->portChanged()
  src/Inventory/Asset/InventoryNetworkPort.php:623   Glpi\Inventory\Asset\NetworkPort->portCreated()
  src/Inventory/Asset/InventoryNetworkPort.php:122   Glpi\Inventory\Asset\NetworkPort->handleCreates()
  src/Inventory/Asset/NetworkPort.php:786            Glpi\Inventory\Asset\NetworkPort->handlePortsTrait()
  src/Inventory/Asset/NetworkPort.php:614            Glpi\Inventory\Asset\NetworkPort->handlePorts()
  src/Inventory/Asset/MainAsset.php:871              Glpi\Inventory\Asset\NetworkPort->handle()
  src/Inventory/Asset/MainAsset.php:791              Glpi\Inventory\Asset\MainAsset->handleAssets()
  src/Inventory/Asset/NetworkEquipment.php:227       Glpi\Inventory\Asset\MainAsset->rulepassed()
  src/RuleImportAsset.php:1001                       Glpi\Inventory\Asset\NetworkEquipment->rulepassed()
  src/Rule.php:1522                                  RuleImportAsset->executeActions()
  src/RuleCollection.php:1626                        Rule->process()
  src/Inventory/Asset/MainAsset.php:571              RuleCollection->processAllRules()
  src/Inventory/Inventory.php:706                    Glpi\Inventory\Asset\MainAsset->handle()
  src/Inventory/Inventory.php:341                    Glpi\Inventory\Inventory->handleItem()
  src/Inventory/Request.php:360                      Glpi\Inventory\Inventory->doInventory()
  src/Inventory/Request.php:283                      Glpi\Inventory\Request->inventory()
  src/Inventory/Request.php:250                      Glpi\Inventory\Request->network()
  src/Inventory/Request.php:98                       Glpi\Inventory\Request->networkInventory()
  src/Agent/Communication/AbstractRequest.php:332    Glpi\Inventory\Request->handleAction()
  src/Agent/Communication/AbstractRequest.php:269    Glpi\Agent\Communication\AbstractRequest->handleXMLRequest()
  src/Inventory/Conf.php:220                         Glpi\Agent\Communication\AbstractRequest->handleRequest()
  src/Inventory/Conf.php:161                         Glpi\Inventory\Conf->importContentFile()
  front/inventory.conf.php:47                        Glpi\Inventory\Conf->importFile()

[2023-03-01 10:56:07] glpiphplog.ERROR:   *** PHP User Error (256): Duplicate entry '831132-13' for key 'unicity' in /var/www/html/src/DBmysql.php at line 1969
  Backtrace :
  src/DBmysql.php:1969                               trigger_error()
  src/Inventory/Asset/NetworkPort.php:531            DBmysql->executeStatement()
  src/Inventory/Asset/NetworkPort.php:630            Glpi\Inventory\Asset\NetworkPort->handleVlans()
  src/Inventory/Asset/NetworkPort.php:619            Glpi\Inventory\Asset\NetworkPort->portChanged()
  src/Inventory/Asset/InventoryNetworkPort.php:507   Glpi\Inventory\Asset\NetworkPort->portUpdated()
  src/Inventory/Asset/InventoryNetworkPort.php:121   Glpi\Inventory\Asset\NetworkPort->handleUpdates()
  src/Inventory/Asset/NetworkPort.php:786            Glpi\Inventory\Asset\NetworkPort->handlePortsTrait()
  src/Inventory/Asset/NetworkPort.php:614            Glpi\Inventory\Asset\NetworkPort->handlePorts()
  src/Inventory/Asset/MainAsset.php:871              Glpi\Inventory\Asset\NetworkPort->handle()
  src/Inventory/Asset/MainAsset.php:791              Glpi\Inventory\Asset\MainAsset->handleAssets()
  src/Inventory/Asset/NetworkEquipment.php:227       Glpi\Inventory\Asset\MainAsset->rulepassed()
  src/RuleImportAsset.php:969                        Glpi\Inventory\Asset\NetworkEquipment->rulepassed()
  src/Rule.php:1522                                  RuleImportAsset->executeActions()
  src/RuleCollection.php:1626                        Rule->process()
  src/Inventory/Asset/MainAsset.php:571              RuleCollection->processAllRules()
  src/Inventory/Inventory.php:706                    Glpi\Inventory\Asset\MainAsset->handle()
  src/Inventory/Inventory.php:341                    Glpi\Inventory\Inventory->handleItem()
  src/Inventory/Request.php:360                      Glpi\Inventory\Inventory->doInventory()
  src/Inventory/Request.php:283                      Glpi\Inventory\Request->inventory()
  src/Inventory/Request.php:250                      Glpi\Inventory\Request->network()
  src/Inventory/Request.php:98                       Glpi\Inventory\Request->networkInventory()
  src/Agent/Communication/AbstractRequest.php:332    Glpi\Inventory\Request->handleAction()
  src/Agent/Communication/AbstractRequest.php:269    Glpi\Agent\Communication\AbstractRequest->handleXMLRequest()
  src/Inventory/Conf.php:220                         Glpi\Agent\Communication\AbstractRequest->handleRequest()
  src/Inventory/Conf.php:161                         Glpi\Inventory\Conf->importContentFile()
  front/inventory.conf.php:47                        Glpi\Inventory\Conf->importFile()

Can you try this on your setup ?

stonebuzz commented 1 year ago

I do not reproduce with GLPI nightly build

https://nightly.glpi-project.org/glpi/

Can you try with it tomorrow (to get this fix -> https://github.com/glpi-project/glpi/pull/14187)

narfight commented 1 year ago

Update to GLPI 10.0.7-dev.

I can see the new name for the first import (ref to fix n°14187).

My prosses :

  1. Delete all switch named "Stack Haut - ***"
  2. Clear the recycle bin
  3. Import https://github.com/glpi-project/glpi-inventory-plugin/files/10858033/stack-haut.txt
  4. All see ok
  5. Import https://github.com/glpi-project/glpi-inventory-plugin/files/10859645/stack-haut-1-03.txt
  6. Nothing and error in PHP-error log :
    [2023-03-02 09:30:05] glpiphplog.ERROR:   *** PHP User Error (256): Duplicate entry '831342-13' for key 'unicity' in /var/www/html/src/DBmysql.php at line 1969
    Backtrace :
    src/DBmysql.php:1969                               trigger_error()
    src/Inventory/Asset/NetworkPort.php:532            DBmysql->executeStatement()
    src/Inventory/Asset/NetworkPort.php:632            Glpi\Inventory\Asset\NetworkPort->handleVlans()
    src/Inventory/Asset/NetworkPort.php:621            Glpi\Inventory\Asset\NetworkPort->portChanged()
    src/Inventory/Asset/InventoryNetworkPort.php:512   Glpi\Inventory\Asset\NetworkPort->portUpdated()
    src/Inventory/Asset/InventoryNetworkPort.php:121   Glpi\Inventory\Asset\NetworkPort->handleUpdates()
    src/Inventory/Asset/NetworkPort.php:815            Glpi\Inventory\Asset\NetworkPort->handlePortsTrait()
    src/Inventory/Asset/NetworkPort.php:616            Glpi\Inventory\Asset\NetworkPort->handlePorts()
    src/Inventory/Asset/MainAsset.php:874              Glpi\Inventory\Asset\NetworkPort->handle()
    src/Inventory/Asset/MainAsset.php:794              Glpi\Inventory\Asset\MainAsset->handleAssets()
    src/Inventory/Asset/NetworkEquipment.php:228       Glpi\Inventory\Asset\MainAsset->rulepassed()
    src/RuleImportAsset.php:969                        Glpi\Inventory\Asset\NetworkEquipment->rulepassed()
    src/Rule.php:1519                                  RuleImportAsset->executeActions()
    src/RuleCollection.php:1625                        Rule->process()
    src/Inventory/Asset/MainAsset.php:571              RuleCollection->processAllRules()
    src/Inventory/Inventory.php:706                    Glpi\Inventory\Asset\MainAsset->handle()
    src/Inventory/Inventory.php:341                    Glpi\Inventory\Inventory->handleItem()
    src/Inventory/Request.php:360                      Glpi\Inventory\Inventory->doInventory()
    src/Inventory/Request.php:283                      Glpi\Inventory\Request->inventory()
    src/Inventory/Request.php:250                      Glpi\Inventory\Request->network()
    src/Inventory/Request.php:98                       Glpi\Inventory\Request->networkInventory()
    src/Agent/Communication/AbstractRequest.php:332    Glpi\Inventory\Request->handleAction()
    src/Agent/Communication/AbstractRequest.php:269    Glpi\Agent\Communication\AbstractRequest->handleXMLRequest()
    src/Inventory/Conf.php:220                         Glpi\Agent\Communication\AbstractRequest->handleRequest()
    src/Inventory/Conf.php:161                         Glpi\Inventory\Conf->importContentFile()
    front/inventory.conf.php:47                        Glpi\Inventory\Conf->importFile()

probleme still here :-(

trasher commented 1 year ago

I've just tested with current 10.0/bugfixes, and I cannot reproduce. Something may have not been deleted on networkequipments removal; hard to say what.

stonebuzz commented 1 year ago

can you clean all vlans ?

narfight commented 1 year ago

thank you @stonebuzz, it's the solution !

thank you to @trasher for your help :-)

stonebuzz commented 1 year ago

:+1: