Ad Widget

Collapse

Cisco CDP problem with snmpindex

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • 32pv
    Junior Member
    • Apr 2025
    • 2

    #1

    Cisco CDP problem with snmpindex

    Hi, I have searched but haven't found anyone with the same problem. I am using version 7.0.10 and I can't set cdpInterfaceName as "Item name" because snmpindex does not match.​

    For example, I get these results when I run a snmpwalk from the CLI​:
    cdpInterfaceName (< informational purpose only)
    iso.3.6.1.4.1.9.9.23.1.1.1.1.6.10201 = STRING: "TenGigabitEthernet1/0/1"
    iso.3.6.1.4.1.9.9.23.1.1.1.1.6.10202 = STRING: "TenGigabitEthernet1/0/2"

    cdpCacheDevicePort (< informational purpose only)
    iso.3.6.1.4.1.9.9.23.1.2.1.1.7.10201.35 = STRING: "TenGigabitEthernet1/0/38"
    iso.3.6.1.4.1.9.9.23.1.2.1.1.7.10202.36 = STRING: "TenGigabitEthernet2/0/37"

    cdpCachePlatform (< informational purpose only)
    iso.3.6.1.4.1.9.9.23.1.2.1.1.8.10201.35 = STRING: "cisco C9500-40X"
    iso.3.6.1.4.1.9.9.23.1.2.1.1.8.10202.36 = STRING: "cisco C9500-40X"​

    I am running a discovery rule with snmp walk,
    walk[1.3.6.1.4.1.9.9.23.1.1.1.1.6,1.3.6.1.4.1.9.9.23.1. 2.1.1.3,1.3.6.1.4.1.9.9.23.1.2.1.1.5,1.3.6.1.4.1.9 .9.23.1.2.1.1.6,1.3.6.1.4.1.9.9.23.1.2.1.1.7,1.3.6 .1.4.1.9.9.23.1.2.1.1.8,1.3.6.1.4.1.9.9.23.1.2.1.1 .24]

    I am using preprocessing and macros as below:​

    {#CDPINTNAME},1.3.6.1.4.1.9.9.23.1.1.1.1.6
    {#CDPCACHEVER},1.3.6.1.4.1.9.9.23.1.2.1.1.5
    {#CDPCACHEDEVICEID},1.3.6.1.4.1.9.9.23.1.2.1.1.6
    {#CDPCACHEDEVICEPORT},1.3.6.1.4.1.9.9.23.1.2.1.1.7
    {#CDPCACHEPLATFORM},1.3.6.1.4.1.9.9.23.1.2.1.1.8
    {#CDPCACHELASTCHANGED},1.3.6.1.4.1.9.9.23.1.2.1.1. 24

    This part works fine, but I can't put {#CDPINTNAME} as item name for {#SNMPINDEX} doesn't match. {#SNMPINDEX} for 1.3.6.1.4.1.9.9.23.1.1.1.1.6 = 10201 and for 1.3.6.1.4.1.9.9.23.1.2.1.1.7 = 10201.35


    Can anyone point me in the right direction to get this working?​​

Working...