fusioninventory / fusioninventory-agent

FusionInventory Agent
http://fusioninventory.org/
GNU General Public License v2.0
251 stars 125 forks source link

Use of uninitialized value #1050

Closed WilOrNot closed 4 weeks ago

WilOrNot commented 1 year ago

Hi all,

I'm having a problem with reporting information for a device. The feedback is partial.

Here is a return of the CLI fusioninventory-netinventory --credentials version:2c,community:public --debug --host 10.38.99.99

[debug] creating 1 worker threads [debug] [thread 1] creation [debug] [thread 1] #1, scanning 0: 10.38.99.99 [debug] [thread 1] #1, full match for sysobjectID .1.3.6.1.4.1.21796.4.9 in database [debug] [thread 1] #1, sysobjectID match: hwg mib support enabled Use of uninitialized value $serial in substitution (s///) at /usr/share/fusioninventory/lib/FusionInventory/Agent/SNMP/MibSupport/Hwg.pm line 37. <?xml version="1.0" encoding="UTF-8" ?>

STE2 STE2: For more information try http://www.HW-group.com 0 HW group s.r.o STE2 SEN-GAN-99 NETWORKING 41 days, 02:11:01.00 4.2 1 foo SNMPQUERY

[debug] [thread 1] termination [debug] All netinventory threads terminated

Im using CentOS 7 and FusionInventory-Agent and NetInventory v2.6. Not being a developer, how can I correct this problem in the code?

Thank you in advance for your feedback.

ddurieux commented 4 weeks ago

The perl agent (2.6) will not have more fixes version. The next version will be 3.0 and the agent is fully rewritten