glpi-project / glpi-inventory-plugin

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

GLPI Unable to update network device IP #568

Closed erique-souza closed 3 hours ago

erique-souza commented 2 days ago

Code of Conduct

Is there an existing issue for this?

GLPI Version

10.0.16

Plugin version

1.4.0

Bug description

As the Discovery task is no longer capable of updating the IP address of an already inventoried network device, the SNMP Inventory task is unable to perform its function successfully if the device's IP is changed, causing a problem for all devices. SNMP inventories, the suggestion to resolve this would be to enable the Discovery task during its discovery if it finds the same inventoried device to be able to update at least the device IP, thus fixing this issue

Relevant log output

Page URL

No response

Steps To reproduce

Your GLPI setup information

No response

Anything else?

No response

stonebuzz commented 1 day ago

Hi @erique-souza GLPI's native inventory already takes this scenario into account.

If the printer's IP address changes, GLPI allows the discovery feature to automatically update the printer's information.

Could you please upload two inventory files here (with different IP addresses)?

erique-souza commented 3 hours ago

Hi @erique-souza GLPI's native inventory already takes this scenario into account.

If the printer's IP address changes, GLPI allows the discovery feature to automatically update the printer's information.

Could you please upload two inventory files here (with different IP addresses)?

I carried out new tests with the latest version of the plugin 1.4.0 and the Discovery task was actually able to update the IP of the network device, I am considering the case as closed