Hi, i try to get an overview of all mac-addresses connected to a cisco switch. I was able to configure snmp_exporter to get the data equivalent to this command:
'snmpwalk -v1 -c public IPADDRESS .1.3.6.1.2.1.17.4.3.1.1'
But when adding a vlan i have to call the command snmpwalk -v1 -c public@VLAN IPADDRESS .1.3.6.1.2.1.17.4.3.1.1 with VLAN as the vlan id. Is it possible to configure the snmp_exporter to represent this command?
My generator.yml:
modules:
mac_addr:
walk: [dot1dTpFdbPort] # 1.3.6.1.2.1.17.4.3.1.1
lookups:
- source_indexes: [dot1dTpFdbPort]
lookup: dot1dTpFdAddress
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/42634068-7718-4603-a581-786d62a44633n%40googlegroups.com.
thanks for the quick reply. It seems like it works if i add in the prometheus yml more community strings to a module. Do you know how the performance of prometheus changes if i add all possible vlans into the prometheus yml? Cisco switches support more than 4k vlans, so I'm not sure if the application will lose to much performance.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/2de7d5cb-2e8d-46e9-8272-cd707a18885bn%40googlegroups.com.