From: Florian Forster Date: Sat, 29 Sep 2007 11:16:56 +0000 (+0200) Subject: collectd-snmp(5): Documented the `InstancePrefix' option and the new `Instance' behavior. X-Git-Tag: collectd-4.2.0~53 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=03b13552b2e9b4b19d3120d8dbb2ff8fc4ecf481;p=collectd.git collectd-snmp(5): Documented the `InstancePrefix' option and the new `Instance' behavior. --- diff --git a/src/collectd-snmp.pod b/src/collectd-snmp.pod index 4e546da8..44ca4d1f 100644 --- a/src/collectd-snmp.pod +++ b/src/collectd-snmp.pod @@ -127,14 +127,31 @@ Sets the type-instance of the values that are dispatched. The meaning of this setting depends on whether B is set to I or I: If B
is set to I, I is interpreted as an SNMP-prefix -that will return a list of strings. Those strings are then used as the actual +that will return a list of values. Those values are then used as the actual type-instance. An example would be the C subtree. L from the SNMP distribution describes the format of OIDs. +If B
is set to I and B is omitted, then "SUBID" will be +used as the instance. + If B
is set to I the actual string configured for I is copied into the value-list. In this case I may be empty, i.Ee. "". +=item B I + +If B
is set to I, you may feel the need to add something to the +instance of the files. If set, I is prepended to the instance as +determinded by querying the agent. When B
is set to I this option +has no effect. + +The C is an example where you need this setting: It has voltages of +the inlets, outlets and the battery of an UPS. However, it doesn't provide a +descriptive column for these voltages. In this case having 1, 2,E... as +instances is not enough, because the inlet voltages and outlet voltages may +both have the subids 1, 2,E... You can use this setting to distinguish +between the different voltages. + =item B I [I ...] Configures the values to be queried from the SNMP host. The meaning slightly