Welcome, Guest. Please login or register.

Author Topic: Can't call method "error" on an undefined value at ./inc/libsnmp.pl line 1010  (Read 3680 times)

rosique

  • Guest
Hi,

I am getting the error message on an APC UPS 3000 RM that has a new network management card in it.  I do not have this problem with the older network management cards in it.  I have no problems with either card in an APC UPS 3000 RM XL.  I have changed the def file and I have removed the def file and I still get the same error message.  I ran ./nedi.pl -d and this is what I got.

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


Discovery with 1 seed(s) on Thu May 21 10:14:50 2009
====================================================================================
Device                          Status                               Todo/Done-Time
------------------------------------------------------------------------------------
xxx.xxx.xxx.xxx       C:public-v2-v1+ XXXXXXXX   SV=72 TY=APC-UPS-12 BI=92.14.D CPU=31 Mem=118 Temp=39 InRequested tableis empty or does not exist
IlRequested table is empty or does not exist
 i1 j1  Can't call method "error" on an undefined value at ./inc/libsnmp.pl line 1010.

Thanks,

John

rosique

  • Guest
HI,

More info.  I removed the def file and this is what I get:

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


Discovery with 1 seed(s) on Thu May 21 10:52:16 2009
====================================================================================
Device                          Status                               Todo/Done-Time
------------------------------------------------------------------------------------
xxx.xxx.xxx.xxx      C:Public-v2-v1+ XXXXXXXX   SV=72 TY=- SnReceived noSuchName(2) error-status at error-index 1
InRequested table is empty or does not exist
IlRequested table is empty or does not exist
 i1 j1  Can't call method "error" on an undefined value at ./inc/libsnmp.pl line 1010.

Thanks,

John

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2687
    • View Profile
    • NeDi
usually a -v or -d output would be really helpfull. Try it with -I as well, to keep the original IP...
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

rosique

  • Guest
Here are my results:

[root@cacti nedi]# ./nedi.pl -d                                                                                         

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


Discovery with 1 seed(s) on Fri May 22 06:25:27 2009
====================================================================================
Device                          Status                               Todo/Done-Time
------------------------------------------------------------------------------------
xxx.xxx.xxx.xxx       C:public-v2-v1+ XXXXXX   SV=72 TY=APC-SmartUPS3000 BI=92.14.D CPU=31 Mem=116 Temp=39 InRequested table is empty or does not exist                                                                                       
IlRequested table is empty or does not exist                                                                           
 i1 j1  Can't call method "error" on an undefined value at ./inc/libsnmp.pl line 1010.                                 
[root@cacti nedi]# ./nedi.pl -v

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

xxx.xxx.xxx.xxx seed0 added for discorvery

Discovery with 1 seed(s) on Fri May 22 06:25:54 2009
====================================================================================
Device                          Status                               Todo/Done-Time
------------------------------------------------------------------------------------
xxx.xxx.xxx.xxx      XXXXXX      InIl                                               
 IF:1   lance   T:7     D:-     VL:0    100000000       00c0b76730d3    lance       
 IP:lance       1543570332.13107200.65536.196608/255.255.255.0                     
 New IP:1543570332.13107200.65536.196608 (Priority 6)   Can't call method "error" on an undefined value at ./inc/libsnmp.pl line 1010.                                                                                                         
[root@cacti nedi]# ./nedi.pl -I

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


Discovery with 1 seed(s) on Fri May 22 06:26:45 2009
====================================================================================
Device                          Status                               Todo/Done-Time
------------------------------------------------------------------------------------
xxx.xxx.xxx.xxx      XXXXXX     InIl i1 j1         a6              0/1-4s
------------------------------------------------------------------------------------
Took 0 minutes

Devs:   1 devices discovered
Link:   0 links (ignoring 0 static) written to nedi.links
Node:   5835 nodes read from nedi.nodes
Node:   6 IP and 0 non-IP nodes processed
Track:  6 IP and 0 IF changes detected
Node:   5835 nodes written to nedi.nodes

Thanks,

John

rosique

  • Guest
I also ran all three at the same time and this is what I get:

[root@cacti nedi]# ./nedi.pl -dvI                                                                                       

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

xxx.xxx.xxx.xxx seed0 added for discorvery

Discovery with 1 seed(s) on Fri May 22 06:38:03 2009
====================================================================================
Device                          Status                               Todo/Done-Time
------------------------------------------------------------------------------------
xxx.xxx.xxx.xxx      C:public-v1+ XXXXXX      SV=72 TY=APC-SmartUPS3000 BI=92.14.D CPU=31 Mem=115 Temp=38 InRequested table is empty or does not exist                                                                                       
IlRequested table is empty or does not exist                                                                           

 IF:1   lance   T:7     D:-     VL:0    100000000       00c0b76730d3    lance   
 IP:lance       1543570332.1.3.196608/255.255.255.0                             
 ARP:00080247ece2=0.2.1.3 on lance                                               
 ARP:00000c07ac29=0.22.1.3 on lance                                             
 ARP:0002b3e9d996=0.197.1.3 on lance                                             
 ARP:005056bc4b8f=0.36.1.3 on lance                                             
 ARP:001e0bbc865c=0.10.1.3 on lance                                             
 ARP:001e0b6f8553=0.200.1.3 on lance                                             
IF:     1 interfaces written to nedi.interfaces                                 

Mods:   0 modules written to nedi.modules

Vlan:   0 vlans written to nedi.vlans

Net:    1 networks written to nedi.networks
           0/1-0s
------------------------------------------------------------------------------------
Took 0 minutes

Devs:   1 devices discovered
Link:   0 links (ignoring 0 static) written to nedi.links
RRD:    /var/nedi/rrd/top.rrd Trf=1197.5171/1273.2931 Err=3264.1086/15.5886 Pwr= Dif=0 Mon=0/0 MSG=,,1,6, OK
Node:   5835 nodes read from nedi.nodes
Building Nodes (i:IP n:non-IP x:ignored f:no IF):
Building IP nodes from Arp cache:
 NOD:00000c07ac29 [ IP:0.22.1.3   0-> old IF kept XXXX_52-Gi0/49:0]
i NOD:005056bc4b8f [ IP:0.36.1.3   0-> old IF kept XXXX_86-Gi0/33:0]
i NOD:00080247ece2 [ IP:0.2.1.3   0-> old IF kept XXXX_52-Gi0/1:0]
i NOD:001e0bbc865c [ IP:0.10.1.3   0-> old IF kept XXXX_86-Gi0/14:0]
i NOD:001e0b6f8553 [ IP:0.200.1.3   0-> old IF kept XXXX_88-RMON:10/100Port22onUnit1:0]
i NOD:0002b3e9d996 [ IP:0.197.1.3   0-> old IF kept XXXX_52-Gi0/47:0]
iBuilding non-IP nodes from MAC tables:

Node:   6 IP and 0 non-IP nodes processed
Node:   5835 nodes written to nedi.nodes

I hope this helps.

John