NeDi Community

NeDi Software Specific => Discovery => Topic started by: tristanbob on April 09, 2011, 01:31:30 AM

Title: Can't call method "close" on an undefined value at ./inc/libsnmp.pl line 409.
Post by: tristanbob on April 09, 2011, 01:31:30 AM
Just added a new switch (Cisco 3560E) and Nedi dies when discovering it.  Is this a problem with the .def file or what?

tristanrhodes@nedi:/opt/nedi$ ./nedi.pl -t 192.168.1.9 -d

NeDi 1.0.4 - 4.Apr 2009
LWP loaded
Net::SSH::Perl not available
OUI:    17666 NIC vendor entries read
Dev:    895 devices read from nedi.devices
Link:   0 links (WHERE type = "STAT") read from nedi.links

Discovery with 1 seed(s) on Fri Apr  8 17:20:45 2011
====================================================================================
Device                          Status                               Todo/Done-Time
------------------------------------------------------------------------------------
192.168.1.9     C:snmpstringone-v2-v1 C:snmpstringtwo-v1+ lp-200-sw9 SV=6 TY=1.3.6.1.4.1.9.1.796
Can't call method "close" on an undefined value at ./inc/libsnmp.pl line 409.

Line 409 = $session->close;
Title: Re: Can't call method "close" on an undefined value at ./inc/libsnmp.pl line 409.
Post by: rickli on April 10, 2011, 05:11:04 PM
There where potential situations which are not caught up to 1.0.5. Hope the current version would be a lot more robust...
Title: Re: Can't call method "close" on an undefined value at ./inc/libsnmp.pl line 409.
Post by: tristanbob on April 11, 2011, 07:12:37 PM
Remo,

We are installing 1.0.6 RC1 and will let you know if this problem still exists.

Thanks!

Tristan