Welcome, Guest. Please login or register.

Author Topic: Multiple errors when discovering a Cisco c9200 switch  (Read 292 times)

tristanbob

  • Full Member
  • ***
  • Posts: 159
    • View Profile
Multiple errors when discovering a Cisco c9200 switch
« on: June 02, 2020, 06:45:02 PM »
Here is the output of a discovery on a Ubuntu 16.04.5 LTS server with Nedi 1.8.100:

Code: [Select]
DNS :Net::Nslookup not available
CLI :IO-Pty loaded
WEB :LWP-UserAgent loaded
RDEV:2908 devices read from nedi.devices
OUI :33329 NIC vendor entries read
RMON:0 entries (dev) read from nedi.monitoring
RMON:0 entries (node) read from nedi.monitoring
RUSR:0 entries (groups & 8 = 8 AND (phone != '' OR email != '')) read from nedi.users
TODO:1.2.3.4    1.2.3.4             added
RADR:31375 IF MAC, 735 IP and 5 IPv6 addresses read.
MAIN:-1 thread(s) error, 1st from Tue Jun  2 16:19:33 2020 make sure interval is longer than discovery takes!
Network Discovery (1.8.100) /var/nedi/nedi.pl -v -SGg -a 1.2.3.4
Started with 1 seed at Tue Jun  2 16:32:13 2020
-------------------------------------------------------------------------------
Device Status Todo/Done-Time
===============================================================================
DISC:1.2.3.4 ID 1.2.3.4

Identify 1.2.3.4 ++++++++++++++++++++++++++
SNMP:Connect 1.2.3.4 mysnmpstring v2 Tout:10s MaxMS:1472 Retry:1 NB:0
IDNT:Name=sw1
SOBJ:Reading 1.3.6.1.4.1.9.1.2695.def (1.3.6.1.4.1.9.1.2695)
Use of uninitialized value in string eq at /var/nedi/inc/libsnmp.pm line 333.
IDNT:Contact
IDNT:Location A09-002a
Use of uninitialized value in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 395.
IDNT:OS= SRV=6 TYPE=1.3.6.1.4.1.9.1.2695
DISC:no skippol, -S Gg

Enterprise   ------------------------------------------------------------------
SNMP:Connect 1.2.3.4 mysnmpstring v2 Tout:11s MaxMS:5000 Retry:1 NB:0
Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libsnmp.pm line 504.

Interfaces  -------------------------------------------------------------------- Tue Jun  2 16:32:14 2020
RIF :77 IF read (WHERE device = 'sw1') from nedi.interfaces
SNMP:Connect 1.2.3.4 mysnmpstring v2 Tout:13s MaxMS:1472 Retry:1 NB:0
Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libsnmp.pm line 959.
IF  :Walking errors
Use of uninitialized value $ifnamO in string eq at /var/nedi/inc/libsnmp.pm line 1114.
IF  :Walking description
IF  :Walking type
IF  :Walking MAC
IF  :Walking agg-sel-id
IF  :Walking admin status
IF  :Walking oper status
IF  :Index Name          Spd Dup St Pvid Description     Alias             PoE
Use of uninitialized value $ifnamO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1442.
Use of uninitialized value $ifidiO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1510.
Use of uninitialized value $ifodiO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1511.
Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libsnmp.pm line 1607.
IF  :     1 Gi0/0          0  -   0    0 GigabitEthernet                     0
Use of uninitialized value $ifnamO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1442.
Use of uninitialized value $ifidiO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1510.
Use of uninitialized value $ifodiO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1511.
Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libsnmp.pm line 1607.
IF  :     8 VLAN-1003      0  -   3    0 unrouted VLAN 1                     0
Use of uninitialized value $ifnamO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1442.
ERR :ioc overflow, not updating
ERR :ooc overflow, not updating
Use of uninitialized value $ifidiO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1510.
Use of uninitialized value $ifodiO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1511.
Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libsnmp.pm line 1607.
IF  :     9 Gi1/0/1        0  -   3    0 GigabitEthernet Phone gateway       0
Use of uninitialized value $ifnamO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1442.
ERR :ioc overflow, not updating
ERR :ooc overflow, not updating
Use of uninitialized value $ifidiO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1510.
Use of uninitialized value $ifodiO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1511.
Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libsnmp.pm line 1607.
IF  :    71 VLAN-100       0  -   3    0 unrouted VLAN 1                     0
Use of uninitialized value $ifnamO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1442.
Use of uninitialized value $ifidiO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1510.
Use of uninitialized value $ifodiO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1511.
Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libsnmp.pm line 1607.
IF  :    77 VLAN-999       0  -   3    0 unrouted VLAN 9                     0
Use of uninitialized value in string eq at /var/nedi/inc/libmisc.pm line 1694.
Use of uninitialized value in string eq at /var/nedi/inc/libmisc.pm line 1696.
Use of uninitialized value in string eq at /var/nedi/inc/libmisc.pm line 1698.
Use of uninitialized value in string eq at /var/nedi/inc/libmisc.pm line 1700.
Use of uninitialized value in string eq at /var/nedi/inc/libmisc.pm line 1702.
Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libmisc.pm line 1704.
Use of uninitialized value in string eq at /var/nedi/inc/libmisc.pm line 1708.
Use of uninitialized value in string eq at /var/nedi/inc/libmisc.pm line 1710.
Use of uninitialized value in string eq at /var/nedi/inc/libmisc.pm line 1712.
Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libmisc.pm line 1714.

Write Device Info -------------------------------------------------------------  Tue Jun  2 16:32:14 2020
WDEV:sw1 written to nedi.devices
WIF :77 interfaces written to nedi.interfaces
WMOD:0 modules written to nedi.modules
WVLN:0 vlans with 0 egress ports written to nedi.vlans
WNET:0 networks written to nedi.networks

ProPolicy  --------------------------------------------------------------------  Tue Jun  2 16:32:14 2020
PROP:No actions triggered
DISC:ToDo/Done-Time    0/1-0s

===============================================================================
MAIN:1 (0 new) devices discovered
MAIN:1 threads running right now
ALRT:0 mails and 0 SMS sent

MacLinks  ---------------------------------------------------------------------  Tue Jun  2 16:32:19 2020
ITER:1 found 0 MAC links

MLNK:found 0 MAC links in 1 iterations, 0 seconds
Took 0 minutes
Please visit "Other"->"Invoices" on your NeDi installation to make an annual contribution and support Nedi!

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2780
    • View Profile
    • NeDi
Re: Multiple errors when discovering a Cisco c9200 switch
« Reply #1 on: June 05, 2020, 09:41:59 AM »
Seems like a .def issue. There will be an updated one in 2.0.
You can try changing the OIDs, where you see fit:

# Definition for 1.3.6.1.4.1.9.1.2695 created by Defed 1.9 on 22.Apr 2020 (bruns)

# Main
SNMPv   2HC
Type   C9200-48P
TypOID   
NamOID   
DesOID   
OS   IOS
Icon   s3l
Size   1
Uptime   S
Bridge   VLX
ArpND   phy
Dispro   CDP|LLDPXN
Serial   1.3.6.1.2.1.47.1.1.1.1.11.1
Bimage   1.3.6.1.4.1.9.2.1.73.0
VLnams   1.3.6.1.4.1.9.9.46.1.3.1.1.4.1
VLnamx   
Group   1.3.6.1.4.1.9.9.147.1.2.1.1.1.4.7
Mode   1.3.6.1.4.1.9.9.46.1.2.1.1.3.1
CfgChg   1.3.6.1.4.1.9.9.43.1.1.1.0
CfgWrt   1.3.6.1.4.1.9.9.43.1.1.2.0
FTPConf   
Fanstat   1.3.6.1.4.1.9.9.13.1.4.1.3   1|5

# Interfaces
StartX   
EndX   
IFname   1.3.6.1.2.1.31.1.1.1.1
IFaddr   old   
IFalia   1.3.6.1.2.1.31.1.1.1.18
IFalix   
InBcast   1.3.6.1.2.1.31.1.1.1.3
InDisc   1.3.6.1.2.1.2.2.1.13
OutDisc   1.3.6.1.2.1.2.2.1.19
IFvlan   1.3.6.1.4.1.9.9.68.1.2.2.1.2   
IFvlix   
IFpowr   1.3.6.1.4.1.9.9.402.1.2.1.9   N
IFpwix   ifnx
IFpalc   1.3.6.1.4.1.9.9.402.1.2.1.7
IFdupl   1.3.6.1.2.1.10.7.2.1.19
IFduix   
Halfdp   2
Fulldp   3

# Modules
Modom      
Moslot   1.3.6.1.2.1.47.1.1.1.1.7
Moclas   1.3.6.1.2.1.47.1.1.1.1.5
Movalu   3|6|9|10
Modesc   1.3.6.1.2.1.47.1.1.1.1.2
Modhw   1.3.6.1.2.1.47.1.1.1.1.8
Modfw   1.3.6.1.2.1.47.1.1.1.1.9
Modsw   1.3.6.1.2.1.47.1.1.1.1.10
Modser   1.3.6.1.2.1.47.1.1.1.1.11
Momodl   1.3.6.1.2.1.47.1.1.1.1.13
Modloc   
Mostat   1.3.6.1.4.1.9.9.13.1.5.1.3
Mostok   1

# RRD Graphing
CPUutl   1.3.6.1.4.1.9.9.109.1.1.1.1.8N      
Temp   1.3.6.1.4.1.9.9.13.1.3.1.3N      70
MemCPU   1.3.6.1.4.1.9.9.109.1.1.1.1.13N      1024
Custom         
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo