From 4d676d7bd21ce015cb1ee74103beb9b7d8008639 Mon Sep 17 00:00:00 2001 From: Pavel Rochnyack Date: Thu, 12 May 2016 19:34:58 +0600 Subject: [PATCH] utils_db_query (postgresql/dbi/oracle plugins): Documented PluginInstanceFrom option --- src/collectd.conf.pod | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 823dbbd2..8352ba20 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -5191,6 +5191,12 @@ specific or global B options). Please note that parameters are only supported by PostgreSQL's protocol version 3 and above which was introduced in version 7.4 of PostgreSQL. +=item B I + +Specify how to create the "PluginInstance" for reporting this query results. +Only one column is supported. You may concatenate fields and string values in +the query statement to get the required results. + =item B I =item B I @@ -5425,6 +5431,8 @@ Specify the plugin instance name that should be used instead of the database name (which is the default, if this option has not been specified). This allows to query multiple databases of the same name on the same host (e.g. when running multiple database server versions in parallel). +The plugin instance name can also be set from the query result using +the B option in B block. =item B I -- 2.30.2