From 55a9d36b21ddb81560cc66da5216311f7b1eeb87 Mon Sep 17 00:00:00 2001 From: James Beckett <308470+hackery@users.noreply.github.com> Date: Fri, 11 Sep 2020 17:44:59 +0100 Subject: [PATCH] SNMP input plugin: document partial table collection (#8104) Co-authored-by: James Beckett --- plugins/inputs/snmp/README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/plugins/inputs/snmp/README.md b/plugins/inputs/snmp/README.md index 4e9ce8e50..0d2eb52ab 100644 --- a/plugins/inputs/snmp/README.md +++ b/plugins/inputs/snmp/README.md @@ -130,9 +130,11 @@ formed with this option operate similarly way to the `snmptable` command. Control the handling of specific table columns using a nested `field`. These nested fields are specified similarly to a top-level `field`. -All columns of the SNMP table will be collected, it is not required to add a -nested field for each column, only those which you wish to modify. To exclude -columns use [metric filtering][]. +By default all columns of the SNMP table will be collected - it is not required +to add a nested field for each column, only those which you wish to modify. To +*only* collect certain columns, omit the `oid` from the `table` section and only +include `oid` settings in `field` sections. For more complex include/exclude +cases for columns use [metric filtering][]. One [metric][] is created for each row of the SNMP table.