OCSInventory-NG / OCSInventory-Server

Communication server of OCS Inventory
http://www.ocsinventory-ng.org/
GNU General Public License v2.0
353 stars 140 forks source link

Unplugged network card not updated in networks table #291

Closed simonelbaz closed 3 years ago

simonelbaz commented 3 years ago

General informations

Operating system : Agent 2.8 on Windows 10, Server 2.8 on Linux

Server informations

Perl version : v5.30 Mysql / Mariadb / Percona version : v10.5.8

OCS Inventory informations

Ocs server version : v2.8.1

Problem's description

2 network cards are added on a PC. Both cards are added in the networks table after inventory launched from the agent. Then i deactivate one of the 2 cards, hardware table is updated with the active card. The XML inventory shows 'STATUS=Down' for the disabled card. However, it still appears in the networks table with Up status

i am trying to find a patch to update networks table to update the disabled network card status.