# </Result>
# </Query>
# <Database "customers_db">
-# #PluginName "mycompany"
+# #Plugin "mycompany"
# Driver "mysql"
# DriverOption "host" "localhost"
# DriverOption "username" "collectd"
# </Result>
# </Query>
# <Database "product_information">
-# #PluginName "warehouse"
+# #Plugin "warehouse"
# ConnectID "db01"
# Username "oracle"
# Password "secret"
# StoreRates true
# </Writer>
# <Database foo>
-# #PluginName "kingdom"
+# #Plugin "kingdom"
# Host "hostname"
# Port "5432"
# User "username"
</Result>
</Query>
<Database "product_information">
- #PluginName "warehouse"
+ #Plugin "warehouse"
Driver "mysql"
Interval 120
DriverOption "host" "localhost"
=over 4
-=item B<PluginName> I<PluginName>
+=item B<Plugin> I<Plugin>
-Use I<PluginName> as the plugin name when submitting query results from
+Use I<Plugin> as the plugin name when submitting query results from
this B<Database>. Defaults to 'dbi'.
=item B<Interval> I<Interval>
</Result>
</Query>
<Database "product_information">
- #PluginName "warehouse"
+ #Plugin "warehouse"
ConnectID "db01"
Username "oracle"
Password "secret"
=over 4
-=item B<PluginName> I<PluginName>
+=item B<Plugin> I<Plugin>
-Use I<PluginName> as the plugin name when submitting query results from
+Use I<Plugin> as the plugin name when submitting query results from
this B<Database>. Defaults to 'oracle'.
=item B<ConnectID> I<ID>
</Writer>
<Database foo>
- PluginName "kingdom"
+ Plugin "kingdom"
Host "hostname"
Port "5432"
User "username"
amount of time will be lost, for example, if a single statement within the
transaction fails or if the database server crashes.
-=item B<PluginName> I<PluginName>
+=item B<Plugin> I<Plugin>
-Use I<PluginName> as the plugin name when submitting query results from
+Use I<Plugin> as the plugin name when submitting query results from
this B<Database>. Defaults to 'postgresql'.
=item B<Instance> I<name>
status = cf_util_get_string(child, &db->host);
else if (strcasecmp("Interval", child->key) == 0)
status = cf_util_get_cdtime(child, &db->interval);
- else if (strcasecmp("PluginName", child->key) == 0)
+ else if (strcasecmp("Plugin", child->key) == 0)
status = cf_util_get_string(child, &db->plugin_name);
else {
WARNING("dbi plugin: Option `%s' not allowed here.", child->key);
status = cf_util_get_string(child, &db->username);
else if (strcasecmp("Password", child->key) == 0)
status = cf_util_get_string(child, &db->password);
- else if (strcasecmp("PluginName", child->key) == 0)
+ else if (strcasecmp("Plugin", child->key) == 0)
status = cf_util_get_string(child, &db->plugin_name);
else if (strcasecmp("Query", child->key) == 0)
status = udb_query_pick_from_list(child, queries, queries_num,
cf_util_get_string(c, &db->password);
else if (0 == strcasecmp(c->key, "Instance"))
cf_util_get_string(c, &db->instance);
- else if (0 == strcasecmp (c->key, "PluginName"))
+ else if (0 == strcasecmp (c->key, "Plugin"))
cf_util_get_string (c, &db->plugin_name);
else if (0 == strcasecmp(c->key, "SSLMode"))
cf_util_get_string(c, &db->sslmode);