-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SNMP: add alias tag #911
Comments
This is a good idea ! In fact, we have to add the string data support in snmp plugin... Also, All string data could be processed as influxdb tag or as influxdb field. @sparrc Is there any issue to send string data as value in influxdb from Telegraf |
To get this working we need to get the issue #808 done first ( be able to merge data in the same measurement ) |
Nope, strings are allowed in the database as both fields and tags |
Hey, I wonder if there has been any movement on this? This would be really handy to have. Not sue where I would need to start if I were to submit a patch myself, if someone could make any suggestions? |
with the new SNMP plugin (#1389) the user can now specify SNMP OIDs to be used as tags, which I believe fixes this issue. It will be available in release 1.0 |
There is "ifName" OID (1.3.6.1.2.1.31.1.1.1.1) but also "ifAlias" (1.3.6.1.2.1.31.1.1.1.18) as a custom port description. It would be great to have ability add additional tag as alias.
Maybe as an additional
mapping_table
in config?ifName:
ifAlias:
Example of line protocol:
The text was updated successfully, but these errors were encountered: