NeDi Community

NeDi Software Specific => Discovery => Topic started by: rosique on May 04, 2009, 03:39:29 PM

Title: Can't call method "get_request" on an undefined value at ./inc/libsnmp.pl line 7
Post by: rosique on May 04, 2009, 03:39:29 PM
Hi,

I just installed NeDi 1.0.4 and I get "Can't call method "get_request" on an undefined value at ./inc/libsnmp.pl line 77." when I run ./nedi.pl.

Nedi 1.0 ran with no problems.  My OS is Mandriva 2009.

Thanks,

John
Title: Re: Can't call method "get_request" on an undefined value at ./inc/libsnmp.pl li
Post by: rickli on May 04, 2009, 10:18:02 PM
Please add more info (like a -d output)...
Title: Re: Can't call method "get_request" on an undefined value at ./inc/libsnmp.pl line 7
Post by: rosique on May 05, 2009, 04:24:14 PM
This is what I get:

./nedi.pl -d

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


Discovery with 152 seed(s) on Tue May  5 07:18:32 2009
====================================================================================
Device                          Status                               Todo/Done-Time
------------------------------------------------------------------------------------
xxx.xxx.xxx.xxx    C:xxxxxx-v3Can't call method "get_request" on an undefined value at ./inc/libsnmp.pl line 77.

Thanks,

John
Title: Re: Can't call method "get_request" on an undefined value at ./inc/libsnmp.pl line 7
Post by: rosique on May 05, 2009, 04:35:47 PM
Hi,

I changed my config file from

"comm      xxxxxx      public"

to

"comm      xxxxxx"

Now I do not get the error.

How do I add other comm names?  Do I add them like this:

"comm      first
comm      second
comm      public"

Thanks,

John

Title: Re: Can't call method "get_request" on an undefined value at ./inc/libsnmp.pl line 7
Post by: gumba on May 05, 2009, 04:38:57 PM
How do I add other comm names?  Do I add them like this:

"comm      first
comm      second
comm      public"
Right. But be aware that the more communities you add the slower the discovery might run.