NeDi Community

NeDi Software Specific => Discovery => Topic started by: vias79 on November 16, 2016, 06:07:15 PM

Title: Can't call method "get_table" on an undefined value at /home/nedi/inc/libsnmp.pm
Post by: vias79 on November 16, 2016, 06:07:15 PM
All of a sudden Nedi 1.4P6 won't work anymore. Any help is appreciated.

Code: [Select]
Write ArpND -------------------------------------------------------------------
EVNT:MOD=N/1 L=150 CL=secp TGT=hostname MSG=9 IP addresses for 6400f174d1c0 exceed ARP poison threshold of 1
EVNT:MOD=N/1 L=150 CL=secp TGT=hostname MSG=2 IP addresses for 3cd92bfa3358 exceed ARP poison threshold of 1
WAND:0 new IPs and 0 updates written

RNBR:0 neighbors read

Prepare (CLI)  ----------------------------------------------------------------
EVNT:MOD=C/1 L=150 CL=nede TGT=hostname MSG=CLI Bridge Fwd error: no valid users

BridgeFwd (SNMP) --------------------------------------------------------------
SNMP:Connect IP public@100 v2 Tout:68s MaxMS:1472 Retry:1 NB:0
FWDS:Walking BridgeFwd (public@100)
Can't call method "get_table" on an undefined value at /home/nedi/inc/libsnmp.pm line 2524.
Title: Re: Can't call method "get_table" on an undefined value at /home/nedi/inc/libsnmp.pm
Post by: vias79 on November 16, 2016, 06:09:16 PM
Found the error, the timeout was too high.

nedi.conf

Changed:
timeout         60      1

To:
timeout         30      1

Leaving this for future reference.
Title: Re: Can't call method "get_table" on an undefined value at /home/nedi/inc/libsnmp.pm
Post by: rickli on November 18, 2016, 11:57:47 AM
Wow, those are very long timeouts. Do you really need/want 30s? If it doesn't respond withing 5s, you should check the network ;)