From: Pavel Rochnyack Date: Thu, 12 May 2016 13:34:58 +0000 (+0600) Subject: utils_db_query (postgresql/dbi/oracle plugins): Documented PluginInstanceFrom option X-Git-Tag: collectd-5.6.0~292^2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=4d676d7bd21ce015cb1ee74103beb9b7d8008639;p=collectd.git utils_db_query (postgresql/dbi/oracle plugins): Documented PluginInstanceFrom option --- 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