snmp: support table indexes as tags (#2366)

This commit is contained in:
Patrick Hemmer
2017-03-24 15:06:52 -04:00
committed by Daniel Nelson
parent c65cfb6a6e
commit 36c1a39a09
4 changed files with 32 additions and 8 deletions

View File

@@ -168,6 +168,9 @@ If not specified, it defaults to the value of `oid`. If `oid` is numeric, an at
* `inherit_tags`:
Which tags to inherit from the top-level config and to use in the output of this table's measurement.
* `index_as_tag`:
Adds each row's index within the table as a tag.
### MIB lookups
If the plugin is configured such that it needs to perform lookups from the MIB, it will use the net-snmp utilities `snmptranslate` and `snmptable`.