Skip to content

[Question] regarding tag values mapping #498

Description

@Naumis1

Hello,
I have a question.
How can I map index values from ifIndex to some other values?
For example: tp-link switches uses interesting port indexing IF-MIB::ifDescr.49153, IF-MIB::ifDescr.49154, IF-MIB::ifDescr.49155 (port 1, 2, 3) and so on. So how to do, that the port name (tag value in influxdb) would be "1/0/1" instead of "49153", "1/0/2" instead of "49154"... Other devices uses normal indexing e.g. .1 and so on, but still we need mapping for example from .1 to 1/1, depends on manufacturer and model.

I tried to use Custom Filters, added some filtering, but still can't see no new Tag values in influx.
Thanks!

  • SnmpCollector version: 0.10.0
  • OS: CentOS Linux release 8.3.2011
  • Trying to add Custom Filter
  • Custom port mapping
  • Not working
    Screenshot from 2021-08-24 14-30-05

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions