On Wed, 4 Nov 2020 at 11:44, Felix Gud <[email protected]> wrote:
> > 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? > You'll need an snmp exporter module per community string value, with matching targets on the Prometheus side. Brian > > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/42634068-7718-4603-a581-786d62a44633n%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/42634068-7718-4603-a581-786d62a44633n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Brian Brazil www.robustperception.io -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAHJKeLrnS%3DjNRZ6EpGeV3Y0vFiBU5OucasSDaZY8wkRCUFg%3DUA%40mail.gmail.com.

