Ad Widget

Collapse

Using SNMP value as index to map for filtering

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • greenApples
    Junior Member
    • Nov 2021
    • 5

    #1

    Using SNMP value as index to map for filtering

    I have SNMP table data that looks like this:

    Interface index and description:
    Code:
    .1.3.6.1.2.1.2.2.1.1.1 = INTEGER: 1
    .1.3.6.1.2.1.2.2.1.1.2 = INTEGER: 2
    .1.3.6.1.2.1.2.2.1.1.3 = INTEGER: 3
    
    .1.3.6.1.2.1.2.2.1.2.1 = STRING: "X0 (LAN)"
    .1.3.6.1.2.1.2.2.1.2.2 = STRING: "X1 (WAN)"
    .1.3.6.1.2.1.2.2.1.2.3 = STRING: "X2 (WAN)"
    IP addresses:
    Code:
    .1.3.6.1.2.1.4.20.1.1.10.0.10.1 = IpAddress: 10.0.10.1
    .1.3.6.1.2.1.4.20.1.1.100.1.1.1 = IpAddress: 100.1.1.1
    .1.3.6.1.2.1.4.20.1.1.150.3.3.3 = IpAddress: 150.3.3.3
    IP address interface index:
    Code:
    .1.3.6.1.2.1.4.20.1.2.10.0.10.1 = INTEGER: 1
    .1.3.6.1.2.1.4.20.1.2.100.1.1.1 = INTEGER: 2
    .1.3.6.1.2.1.4.20.1.2.150.3.3.3 = INTEGER: 3
    How can I combine the IP address with the corresponding interface description so I can filter for specific descriptions?
Working...