snmpcollector
snmpcollector copied to clipboard
[Feature Request] Add multiple Tags on indexed measurements
Would be awesome if we can create multiple tags on indexed Measurements.
Actually, the SNMPCollector is able to create custom Tags values using regex expessions on retrieved oid indexes
and tag indexes
- (Wiki)
This FR comes from a Telegraf issue. Copy&paste example exposed:
Today it just looks like this...
index = 0.11.134.129.203.98.1.108.243.127.201.95.80
Where in reality it should be split by...
AP MAC Radio BSSID MAC
0.11.134.129.203.98. 1. 108.243.127.201.95.80
As a simple approach can be implemented as:
I would like to know if this issue could be implemented with the proposed solution in https://github.com/toni-moreno/snmpcollector/issues/269 What do you think about @sbengo ?
Hi @toni-moreno
If a measurement is indexed we must fillup the IndexTag with some information in order to identify the serie on InfluxDB.
With that premise, using a metric to get those values still needs the same OID query on the measurement in order to fill the IndexTag.
IMHO, we could implement the feature referenced on the issue issue to be applied on the measurements, but only allowing the user to set up Tags and not fields.
Greetings!