cisco_switch_community:
walk:
- 1.3.6.1.2.1.2.2.1.10
- 1.3.6.1.2.1.2.2.1.11
- 1.3.6.1.2.1.2.2.1.16
- 1.3.6.1.2.1.2.2.1.17
- 1.3.6.1.2.1.31.1.1.1.10
- 1.3.6.1.2.1.31.1.1.1.11
- 1.3.6.1.2.1.31.1.1.1.6
- 1.3.6.1.2.1.31.1.1.1.7
- 1.3.6.1.2.1.31.1.1.1.18
- 1.3.6.1.2.1.4.6
- 1.3.6.1.4.1.43.45.1.6.1.1.1.2.65536
- 1.3.6.1.4.1.9.10.106.1.5.1.1
- 1.3.6.1.4.1.9.10.106.1.5.1.2
- 1.3.6.1.4.1.9.10.106.1.5.1.3
- 1.3.6.1.4.1.9.10.106.1.5.1.4
- 1.3.6.1.4.1.9.2.1.57
- 1.3.6.1.4.1.9.2.1.58
- 1.3.6.1.4.1.9.9.109.1.1.1.1.7
- 1.3.6.1.4.1.9.9.109.1.1.1.1.8
- 1.3.6.1.4.1.9.9.13.1.3.1.3
- 1.3.6.1.4.1.9.9.91.1.1.1.1.4
- 1.3.6.1.4.1.9.9.48.1.1.1.5.1
- 1.3.6.1.4.1.9.9.48.1.1.1.6.1
- 1.3.6.1.4.1.9.9.48.1.1.1.5.2
- 1.3.6.1.4.1.9.9.48.1.1.1.6.2
lookups:
- source_indexes: [ifIndex]
lookup: ifAlias
version: 2
max_repetitions: 0
retries: 3
timeout: 10s
auth:
community: community
result of generate:
WARN[0001] NetSNMP reported 7 parse errors source="main.go:103"
FATA[0001] Error parsing yml config: yaml: unmarshal errors:
line 450: field source_indexes not found in type main.Lookup
line 451: field lookup not found in type main.Lookup source="main.go:44"
I also tried:
lookups:
- source_indexes: [ifAlias]
lookup: ifIndex
Thank You for quick response!