summaryrefslogtreecommitdiff
path: root/data/snmp/generator.yml
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2021-03-09 08:35:55 -0500
committerKjetil Orbekk <kj@orbekk.com>2021-03-09 21:44:27 -0500
commitc44f1cbe02bbee7421b28c68b1de9143ee64b107 (patch)
tree2567ec8a51138b0ce4b06d0adbcff76d1ac675a2 /data/snmp/generator.yml
parentae3827f61603fa4a678c3aa8fe9d8fd4d43b69aa (diff)
update snmp
Diffstat (limited to 'data/snmp/generator.yml')
-rw-r--r--data/snmp/generator.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/data/snmp/generator.yml b/data/snmp/generator.yml
new file mode 100644
index 0000000..6574cb6
--- /dev/null
+++ b/data/snmp/generator.yml
@@ -0,0 +1,31 @@
+modules:
+ cisco_if_mib:
+ walk:
+ - sysUpTime
+ - interfaces
+ - ifXTable
+ - 1.3.6.1.4.1.9.9.273.1.1
+ - 1.3.6.1.4.1.9.9.273.1.2
+ - 1.3.6.1.4.1.9.9.273.1.3
+ - 1.3.6.1.4.1.9.9.272
+ lookups:
+ - source_indexes: [ifIndex]
+ lookup: ifAlias
+ - source_indexes: [ifIndex]
+ # Uis OID to avoid conflict with PaloAlto PAN-COMMON-MIB.
+ lookup: 1.3.6.1.2.1.2.2.1.2 # ifDescr
+ - source_indexes: [ifIndex]
+ # Use OID to avoid conflict with Netscaler NS-ROOT-MIB.
+ lookup: 1.3.6.1.2.1.31.1.1.1.1 # ifName
+ overrides:
+ ifAlias:
+ ignore: true # Lookup metric
+ ifDescr:
+ ignore: true # Lookup metric
+ ifName:
+ ignore: true # Lookup metric
+ ifType:
+ type: EnumAsInfo
+ cd11IfAuxSsid:
+ type: DisplayString
+