Welcome, Guest. Please login or register.

Author Topic: search def for WS-C2960-8TC-S  (Read 4037 times)

eviltrooper

  • Newbie
  • *
  • Posts: 45
    • View Profile
search def for WS-C2960-8TC-S
« on: June 28, 2011, 09:01:17 AM »
Hello,

anyone have an def file for this little switch ?

nedi says

"SOBJ:1.3.6.1.4.1.9.1.1006.def not found, using other.def"


cmesser

  • Jr. Member
  • **
  • Posts: 78
    • View Profile
Re: search def for WS-C2960-8TC-S
« Reply #1 on: July 11, 2011, 04:40:28 PM »
Hi,

you are talking about that box with the lanlite image?
I just modified an old 2960 def and get it working quite well.

1.3.6.1.4.1.9.1.1006.def
Code: [Select]
# General
SNMPv   2HC
Type    WS-C2960-8TC-S
OS      IOS
Icon    w2bp
Bridge  VLX
Dispro  CDP
Serial  1.3.6.1.2.1.47.1.1.1.1.11.1001
Bimage  1.3.6.1.4.1.9.2.1.73.0

# Vlan Specific
VLnams  1.3.6.1.4.1.9.9.46.1.3.1.1.4.1
VTPdom  1.3.6.1.4.1.9.9.46.1.2.1.1.2.1
VTPmod  1.3.6.1.4.1.9.9.46.1.2.1.1.3.1

# Interfaces
IFalia
IFalix
IFvlan  1.3.6.1.4.1.9.9.68.1.2.2.1.2
IFvlix
IFdupl  1.3.6.1.2.1.10.7.2.1.19
IFduix  1.3.6.1.2.1.10.7.2.1.1
Halfdp  2
Fulldp  3

# Modules
Modesc  1.3.6.1.2.1.47.1.1.1.1.2
Moclas  1.3.6.1.2.1.47.1.1.1.1.5
Movalu  9
Moslot  1.3.6.1.2.1.47.1.1.1.1.7
Modhw   1.3.6.1.2.1.47.1.1.1.1.8
Modsw   1.3.6.1.2.1.47.1.1.1.1.9
Modfw   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

# RRD Graphing
CPUutl  1.3.6.1.4.1.9.9.109.1.1.1.1.8.1
Temp
MemCPU  1.3.6.1.4.1.9.9.48.1.1.1.6.1
MemIO   1.3.6.1.4.1.9.9.48.1.1.1.6.2


Cheers
Christoph

eviltrooper

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: search def for WS-C2960-8TC-S
« Reply #2 on: July 12, 2011, 09:19:54 AM »
hell yeah.. thanks...  ;D

Code: [Select]
Started with relative path!
LWP :Loaded
OUI :17516 NIC vendor entries read
RDEV:213 devices read () from nedi.devices
RIF :6263 IF read () from nedi.interfaces
RLNK:0 links (WHERE type = "STAT") read from nedi.links
SEED:149.250.37.70 added for discovery
MAIN:1 thread, 1st from Tue Jul 12 08:30:01 2011 seems ok adding this one
UPDT:system SET value=value+1 WHERE name="threads"

Manual-Discovery (1.0.6 rc1) with 1 seed at Tue Jul 12 09:25:48 2011
-------------------------------------------------------------------------------
Device                          Status                          Todo/Done-Time
===============================================================================

Discover     ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Identify     ------------------------------------------------------------------
SNMP:Connect xx.xx.xx.xx hka8m56U v2 Tout:10s MaxMS:1472
IDNT:Name = Container-01-2960-8-AZ
SOBJ:Reading 1.3.6.1.4.1.9.1.1006.def
SYS :Con=InfraServ X560 Loc=Baucontainer Parkplatz
Use of uninitialized value in concatenation (.) or string at ./inc/libsnmp.pm line 318.
SYS :OS= SV=2 TY=1.3.6.1.4.1.9.1.1006

Enterprise   ------------------------------------------------------------------
SNMP:Connect ;)  v2 Tout:10s MaxMS:1472

Interfaces   ------------------------------------------------------------------
SNMP:Connect 149.250.37.70 hka8m56U v2 Tout:15s MaxMS:2048
Use of uninitialized value $ifidiO in concatenation (.) or string at ./inc/libsnmp.pm line 957.
Use of uninitialized value $ifodiO in concatenation (.) or string at ./inc/libsnmp.pm line 958.
IF  :    1:Vl1       1000Mb -  3  Vl0    Vlan1                           0W
Use of uninitialized value $ifidiO in concatenation (.) or string at ./inc/libsnmp.pm line 957.
Use of uninitialized value $ifodiO in concatenation (.) or string at ./inc/libsnmp.pm line 958.
IF  :10001:Fa0/1      100Mb -  3  Vl0    FastEthernet0/1                 0W
Use of uninitialized value $ifidiO in concatenation (.) or string at ./inc/libsnmp.pm line 957.
Use of uninitialized value $ifodiO in concatenation (.) or string at ./inc/libsnmp.pm line 958.
IF  :10002:Fa0/2      100Mb -  3  Vl0    FastEthernet0/2                 0W
Use of uninitialized value $ifidiO in concatenation (.) or string at ./inc/libsnmp.pm line 957.
Use of uninitialized value $ifodiO in concatenation (.) or string at ./inc/libsnmp.pm line 958.
IF  :10003:Fa0/3      100Mb -  3  Vl0    FastEthernet0/3                 0W
Use of uninitialized value $ifidiO in concatenation (.) or string at ./inc/libsnmp.pm line 957.
Use of uninitialized value $ifodiO in concatenation (.) or string at ./inc/libsnmp.pm line 958.
IF  :10004:Fa0/4       10Mb -  1  Vl0    FastEthernet0/4                 0W
Use of uninitialized value $ifidiO in concatenation (.) or string at ./inc/libsnmp.pm line 957.
Use of uninitialized value $ifodiO in concatenation (.) or string at ./inc/libsnmp.pm line 958.
IF  :10005:Fa0/5       10Mb -  1  Vl0    FastEthernet0/5                 0W
Use of uninitialized value $ifidiO in concatenation (.) or string at ./inc/libsnmp.pm line 957.
Use of uninitialized value $ifodiO in concatenation (.) or string at ./inc/libsnmp.pm line 958.
IF  :10006:Fa0/6       10Mb -  1  Vl0    FastEthernet0/6                 0W
Use of uninitialized value $ifidiO in concatenation (.) or string at ./inc/libsnmp.pm line 957.
Use of uninitialized value $ifodiO in concatenation (.) or string at ./inc/libsnmp.pm line 958.
IF  :10007:Fa0/7       10Mb -  1  Vl0    FastEthernet0/7                 0W
Use of uninitialized value $ifidiO in concatenation (.) or string at ./inc/libsnmp.pm line 957.
Use of uninitialized value $ifodiO in concatenation (.) or string at ./inc/libsnmp.pm line 958.
IF  :10008:Fa0/8      100Mb -  3  Vl0    FastEthernet0/8                 0W
Use of uninitialized value $ifidiO in concatenation (.) or string at ./inc/libsnmp.pm line 957.
Use of uninitialized value $ifodiO in concatenation (.) or string at ./inc/libsnmp.pm line 958.
IF  :10101:Gi0/1      100Mb -  3  Vl0    GigabitEthernet GF-1356 H353-01 0W
Use of uninitialized value $ifidiO in concatenation (.) or string at ./inc/libsnmp.pm line 957.
Use of uninitialized value $ifodiO in concatenation (.) or string at ./inc/libsnmp.pm line 958.
IF  :10501:Nu0      4294.Mb -  3  Vl0    Null0                           0W

IfAddresses  ------------------------------------------------------------------
IFIP:No useip policy set, always using discovered IPs
SNMP:Connect xx.xx.xx.xx ;) v2 Tout:10s MaxMS:1472
IFIP:Vl1      xx.xx.xx.xx   255.255.255.0   ok & unique

Prepare (CLI)  ----------------------------------------------------------------
Use of uninitialized value in hash element at ./inc/libcli-iopty.pm line 423.

DevRRD       ------------------------------------------------------------------
DRRD:Updated ./rrd/Container-01-2960-8-AZ/system.rrd
DRRD:Updated ./rrd/Container-01-2960-8-AZ/Fa0%2F8.rrd
DRRD:Updated ./rrd/Container-01-2960-8-AZ/Nu0.rrd
DRRD:Updated ./rrd/Container-01-2960-8-AZ/Fa0%2F3.rrd
DRRD:Updated ./rrd/Container-01-2960-8-AZ/Fa0%2F7.rrd
DRRD:Updated ./rrd/Container-01-2960-8-AZ/Fa0%2F4.rrd
DRRD:Updated ./rrd/Container-01-2960-8-AZ/Vl1.rrd
DRRD:Updated ./rrd/Container-01-2960-8-AZ/Fa0%2F1.rrd
DRRD:Updated ./rrd/Container-01-2960-8-AZ/Fa0%2F6.rrd
DRRD:Updated ./rrd/Container-01-2960-8-AZ/Gi0%2F1.rrd
DRRD:Updated ./rrd/Container-01-2960-8-AZ/Fa0%2F2.rrd
DRRD:Updated ./rrd/Container-01-2960-8-AZ/Fa0%2F5.rrd
WDEV:Container-01-2960-8-AZ written to nedi.devices
WIF :11 interfaces written to nedi.interfaces
WMOD:0 modules written to nedi.modules
WVLN:0 vlans written to nedi.vlans
WNET:1 networks written to nedi.networks
WLNK:0 (ignoring 0 static) links written to nedi.links
DISC:ToDo/Done-Time =    0/1-1s
===============================================================================
MAIN:1 devices discovered
UPDT:system SET value="1310455548" WHERE name="nodlock"
MAIN:Nodes table locked at Tue Jul 12 09:25:50 2011
RNOD:3036 nodes read () from nedi.nodes

BuildNod     ------------------------------------------------------------------

RetireNod    ------------------------------------------------------------------
WNOD:3036 nodes written to nedi.nodes
UPDT:system SET value="0" WHERE name="nodlock"
MAIN:Nodes table unlocked at Tue Jul 12 09:25:51 2011
MAIN:0 IP and 0 non-IP nodes processed, 0 retired
MAIN:2 threads running right now
UPDT:system SET value=value-1 WHERE name="threads"
END :Took 0 minutes                                          

Edit: Dont look so good :(
« Last Edit: July 12, 2011, 09:30:01 AM by eviltrooper »

cmesser

  • Jr. Member
  • **
  • Posts: 78
    • View Profile
Re: search def for WS-C2960-8TC-S
« Reply #3 on: July 13, 2011, 02:32:01 PM »
You mean the "Use of uninitialized value...." stuff?
This is not unusual in 1.0.6 .
How is the object looking like in the GUI?
Is all needed data collected?

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2510
    • View Profile
    • NeDi
Re: search def for WS-C2960-8TC-S
« Reply #4 on: July 13, 2011, 06:32:14 PM »
That's because I turned on strict in Perl :)

Have a look at a newer .def You're missing the lines for Discards (ifidiO, ifodiO) and maybe commented uselogin in nedi.conf?
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

cmesser

  • Jr. Member
  • **
  • Posts: 78
    • View Profile
Re: search def for WS-C2960-8TC-S
« Reply #5 on: July 19, 2011, 12:21:24 PM »
OK, I added the missing lines.
Can you test it in your environment?

Code: [Select]
# Please use for "Type" the exact Cisco Product Name
# Please use "cpmCPUTotal5minRev" for "CPUutl"
# Please make sure that for "Serial" the correct value is shown
# If you create a .def file please send it to "remo.rickli@psi.ch"

# General
SNMPv   2HC
Type    WS-C2960-8TC-S
OS      IOS
Icon    w2bp
Bridge  VLX
Dispro  CDP
Serial  1.3.6.1.2.1.47.1.1.1.1.11.1001
Bimage  1.3.6.1.4.1.9.2.1.73.0

# Vlan Specific
VLnams  1.3.6.1.4.1.9.9.46.1.3.1.1.4.1
VTPdom  1.3.6.1.4.1.9.9.46.1.2.1.1.2.1
VTPmod  1.3.6.1.4.1.9.9.46.1.2.1.1.3.1

# Interfaces
IFalia
IFalix
InBcast 1.3.6.1.2.1.31.1.1.1.3
InDisc  1.3.6.1.4.1.9.2.2.1.1.26
OutDisc 1.3.6.1.4.1.9.2.2.1.1.27
IFvlan  1.3.6.1.4.1.9.9.68.1.2.2.1.2
IFvlix
IFdupl  1.3.6.1.2.1.10.7.2.1.19
IFduix  1.3.6.1.2.1.10.7.2.1.1
Halfdp  2
Fulldp  3

# Modules
Modesc  1.3.6.1.2.1.47.1.1.1.1.2
Moclas  1.3.6.1.2.1.47.1.1.1.1.5
Movalu  9
Moslot  1.3.6.1.2.1.47.1.1.1.1.7
Modhw   1.3.6.1.2.1.47.1.1.1.1.8
Modsw   1.3.6.1.2.1.47.1.1.1.1.9
Modfw   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

# RRD Graphing
CPUutl  1.3.6.1.4.1.9.9.109.1.1.1.1.8.1
Temp
MemCPU  1.3.6.1.4.1.9.9.48.1.1.1.6.1
MemIO   1.3.6.1.4.1.9.9.48.1.1.1.6.2


Regards
Christoph

eviltrooper

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: search def for WS-C2960-8TC-S
« Reply #6 on: July 25, 2011, 09:54:30 AM »
Code: [Select]
Started with relative path!
LWP :Loaded
OUI :17516 NIC vendor entries read
RDEV:213 devices read () from nedi.devices
RIF :6272 IF read () from nedi.interfaces
RLNK:0 links (WHERE type = "STAT") read from nedi.links
SEED:***.***.***.*** added for discovery
MAIN:1 thread, 1st from Mon Jul 25 09:30:02 2011 seems ok adding this one
UPDT:system SET value=value+1 WHERE name="threads"

Manual-Discovery (1.0.6 rc1) with 1 seed at Mon Jul 25 09:49:59 2011
-------------------------------------------------------------------------------
Device                          Status                          Todo/Done-Time
===============================================================================

Discover     ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Identify     ------------------------------------------------------------------
SNMP:Connect ***.***.***.*** ******* v2 Tout:10s MaxMS:1472
IDNT:Name = Container-01-2960-8-AZ
SOBJ:Reading 1.3.6.1.4.1.9.1.1006.def
SYS :Con=lala /962*** Loc=Baucontainer Parkplatz alte Kantine
Use of uninitialized value in concatenation (.) or string at ./inc/libsnmp.pm line 318.
SYS :OS= SV=2 TY=1.3.6.1.4.1.9.1.1006

Enterprise   ------------------------------------------------------------------
SNMP:Connect ***.***.***.*** ******* v2 Tout:10s MaxMS:1472

Interfaces   ------------------------------------------------------------------
SNMP:Connect ***.***.***.*** ******* v2 Tout:15s MaxMS:2048
Use of uninitialized value $ifidiO in concatenation (.) or string at ./inc/libsnmp.pm line 957.
Use of uninitialized value $ifodiO in concatenation (.) or string at ./inc/libsnmp.pm line 958.
IF  :    1:Vl1       1000Mb -  3  Vl0    Vlan1                           0W
Use of uninitialized value $ifidiO in concatenation (.) or string at ./inc/libsnmp.pm line 957.
Use of uninitialized value $ifodiO in concatenation (.) or string at ./inc/libsnmp.pm line 958.
IF  :10001:Fa0/1      100Mb -  3  Vl0    FastEthernet0/1                 0W
Use of uninitialized value $ifidiO in concatenation (.) or string at ./inc/libsnmp.pm line 957.
Use of uninitialized value $ifodiO in concatenation (.) or string at ./inc/libsnmp.pm line 958.
IF  :10002:Fa0/2      100Mb -  3  Vl0    FastEthernet0/2                 0W
Use of uninitialized value $ifidiO in concatenation (.) or string at ./inc/libsnmp.pm line 957.
Use of uninitialized value $ifodiO in concatenation (.) or string at ./inc/libsnmp.pm line 958.
IF  :10003:Fa0/3      100Mb -  3  Vl0    FastEthernet0/3                 0W
Use of uninitialized value $ifidiO in concatenation (.) or string at ./inc/libsnmp.pm line 957.
Use of uninitialized value $ifodiO in concatenation (.) or string at ./inc/libsnmp.pm line 958.
IF  :10004:Fa0/4       10Mb -  1  Vl0    FastEthernet0/4                 0W
Use of uninitialized value $ifidiO in concatenation (.) or string at ./inc/libsnmp.pm line 957.
Use of uninitialized value $ifodiO in concatenation (.) or string at ./inc/libsnmp.pm line 958.
IF  :10005:Fa0/5       10Mb -  1  Vl0    FastEthernet0/5                 0W
Use of uninitialized value $ifidiO in concatenation (.) or string at ./inc/libsnmp.pm line 957.
Use of uninitialized value $ifodiO in concatenation (.) or string at ./inc/libsnmp.pm line 958.
IF  :10006:Fa0/6       10Mb -  1  Vl0    FastEthernet0/6                 0W
Use of uninitialized value $ifidiO in concatenation (.) or string at ./inc/libsnmp.pm line 957.
Use of uninitialized value $ifodiO in concatenation (.) or string at ./inc/libsnmp.pm line 958.
IF  :10007:Fa0/7       10Mb -  1  Vl0    FastEthernet0/7                 0W
Use of uninitialized value $ifidiO in concatenation (.) or string at ./inc/libsnmp.pm line 957.
Use of uninitialized value $ifodiO in concatenation (.) or string at ./inc/libsnmp.pm line 958.
IF  :10008:Fa0/8      100Mb -  3  Vl0    FastEthernet0/8                 0W
Use of uninitialized value $ifidiO in concatenation (.) or string at ./inc/libsnmp.pm line 957.
Use of uninitialized value $ifodiO in concatenation (.) or string at ./inc/libsnmp.pm line 958.
IF  :10101:Gi0/1      100Mb -  3  Vl0    GigabitEthernet                 0W
Use of uninitialized value $ifidiO in concatenation (.) or string at ./inc/libsnmp.pm line 957.
Use of uninitialized value $ifodiO in concatenation (.) or string at ./inc/libsnmp.pm line 958.
IF  :10501:Nu0      4294.Mb -  3  Vl0    Null0                           0W

IfAddresses  ------------------------------------------------------------------
IFIP:No useip policy set, always using discovered IPs
SNMP:Connect ***.***.***.*** ******* v2 Tout:10s MaxMS:1472
IFIP:Vl1      ***.***.***.***   255.255.255.0   ok & unique

Prepare (CLI)  ----------------------------------------------------------------
Use of uninitialized value in hash element at ./inc/libcli-iopty.pm line 423.

DevRRD       ------------------------------------------------------------------
DRRD:Updated ./rrd/Container-01-2960-8-AZ/system.rrd
DRRD:Updated ./rrd/Container-01-2960-8-AZ/Fa0%2F8.rrd
DRRD:Updated ./rrd/Container-01-2960-8-AZ/Nu0.rrd
DRRD:Updated ./rrd/Container-01-2960-8-AZ/Fa0%2F3.rrd
DRRD:Updated ./rrd/Container-01-2960-8-AZ/Fa0%2F7.rrd
DRRD:Updated ./rrd/Container-01-2960-8-AZ/Fa0%2F4.rrd
DRRD:Updated ./rrd/Container-01-2960-8-AZ/Vl1.rrd
DRRD:Updated ./rrd/Container-01-2960-8-AZ/Fa0%2F1.rrd
DRRD:Updated ./rrd/Container-01-2960-8-AZ/Fa0%2F6.rrd
DRRD:Updated ./rrd/Container-01-2960-8-AZ/Gi0%2F1.rrd
DRRD:Updated ./rrd/Container-01-2960-8-AZ/Fa0%2F2.rrd
DRRD:Updated ./rrd/Container-01-2960-8-AZ/Fa0%2F5.rrd
WDEV:Container-01-2960-8-AZ written to nedi.devices
WIF :11 interfaces written to nedi.interfaces
WMOD:0 modules written to nedi.modules
WVLN:0 vlans written to nedi.vlans
WNET:1 networks written to nedi.networks
WLNK:0 (ignoring 0 static) links written to nedi.links
DISC:ToDo/Done-Time =    0/1-1s
===============================================================================
MAIN:1 devices discovered
UPDT:system SET value="1311580199" WHERE name="nodlock"
MAIN:Nodes table locked at Mon Jul 25 09:50:01 2011
RNOD:3017 nodes read () from nedi.nodes

BuildNod     ------------------------------------------------------------------

RetireNod    ------------------------------------------------------------------
WNOD:3017 nodes written to nedi.nodes
UPDT:system SET value="0" WHERE name="nodlock"
MAIN:Nodes table unlocked at Mon Jul 25 09:50:02 2011
MAIN:0 IP and 0 non-IP nodes processed, 0 retired
MAIN:2 threads running right now
UPDT:system SET value=value-1 WHERE name="threads"
END :Took 0 minutes                             

same error.. ??


dobst

  • Full Member
  • ***
  • Posts: 144
    • View Profile
Re: search def for WS-C2960-8TC-S
« Reply #7 on: October 22, 2015, 11:03:35 AM »
Here's my def

Code: [Select]
# Definition for 1.3.6.1.4.1.9.1.1006 created by Defgen 1.8 on 22.Oct 2015 (admobst)
 
# General
SNMPv 2HC
Type WS-C2960-8TC-S
Typoid
Sysdes
OS IOS
Icon w3bp
Size 1
Bridge VLX
ArpND oldphy
Dispro LLDPXN|CDP
Serial 1.3.6.1.2.1.47.1.1.1.1.11.1001
Bimage 1.3.6.1.4.1.9.2.1.73.0
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.3.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.46.1.2.1.1.2.1
Mode 1.3.6.1.4.1.9.9.46.1.2.1.1.3.1
 
# Interfaces
StartX
EndX
IFname 1.3.6.1.2.1.31.1.1.1.1
IFaddr oldadr
IFalia 1.3.6.1.2.1.31.1.1.1.18
IFalix
InBcast 1.3.6.1.2.1.31.1.1.1.9
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.1 S
IFpwix 1.3.6.1.4.1.9.5.1.4.1.1.11.1
IFdupl 1.3.6.1.2.1.10.7.2.1.19
IFduix
Halfdp 2
Fulldp 3
 
# Modules
Modesc 1.3.6.1.2.1.47.1.1.1.1.2
Moclas 1.3.6.1.2.1.47.1.1.1.1.5
Movalu 10
Moslot 1.3.6.1.2.1.47.1.1.1.1.7
Modhw
Modsw
Modfw
Modser 1.3.6.1.2.1.47.1.1.1.1.11
Momodl
 
# RRD Graphing
CPUutl 1.3.6.1.4.1.9.9.109.1.1.1.1.8.1
Temp
MemCPU 1.3.6.1.4.1.9.9.48.1.1.1.6.1
Custom MemIO;G;Bytes 1.3.6.1.4.1.9.9.48.1.1.1.6.2

ntmark

  • Full Member
  • ***
  • Posts: 134
    • View Profile
    • tvnz.co.nz
Re: search def for WS-C2960-8TC-S
« Reply #8 on: October 22, 2015, 11:19:18 PM »
dobst - "Reviving 4yo threads since 2015!"

Good move though, and thanks.  ;D