From 0ad56ec30dc14accfde4cd3794e940d00ca6e641 Mon Sep 17 00:00:00 2001 From: Pavel Rochnyack Date: Thu, 13 Jul 2017 19:45:53 +0700 Subject: [PATCH] snmp_agent: Documented 'PluginInstance' option --- src/collectd.conf.pod | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 9b31de7e..88822af6 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -7189,6 +7189,7 @@ B Plugin "memory" + #PluginInstance "some" Type "memory" TypeInstance "free" OIDs "1.3.6.1.4.1.2021.4.6.0" @@ -7232,6 +7233,12 @@ scalar data type B has no effect and can be omitted. Read plugin name whose collected data will be mapped to specified OIDs. +=item B I + +Read plugin instance whose collected data will be mapped to specified OIDs. +The field is optional and by default there is no plugin instance check. +Allowed only if B block defines scalar data type. + =item B I Collectd's type that is to be used for specified OID, e.Eg. "if_octets" @@ -7244,9 +7251,9 @@ Collectd's type-instance that is to be used for specified OID. =item B I [I ...] Configures the OIDs to be handled by I plugin. Values for these OIDs -are taken from collectd data type specified by B, B, -B fields of this B block. Number of the OIDs configured -should correspond to number of values in specified B. +are taken from collectd data type specified by B, B, +B, B fields of this B block. Number of the OIDs +configured should correspond to number of values in specified B. For example two OIDs "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets" can be mapped to "rx" and "tx" values of "if_octets" type. -- 2.11.0