From 5febd41e053723d3d138ed8116dc0cb10eb3a454 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sun, 1 Feb 2009 18:26:34 +0100 Subject: [PATCH] src/collectd.conf.in: Add default stuff for the oracle and openvpn plugins. --- src/collectd.conf.in | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/src/collectd.conf.in b/src/collectd.conf.in index 51ca0bea..861d22c5 100644 --- a/src/collectd.conf.in +++ b/src/collectd.conf.in @@ -66,6 +66,7 @@ FQDNLookup true @BUILD_PLUGIN_NUT_TRUE@LoadPlugin nut @BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire @BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn +@BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle @BUILD_PLUGIN_PERL_TRUE@LoadPlugin perl @BUILD_PLUGIN_PING_TRUE@LoadPlugin ping @BUILD_PLUGIN_POSTGRESQL_TRUE@LoadPlugin postgresql @@ -135,9 +136,11 @@ FQDNLookup true # # # Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl" -# Type "gauge" -# InstancesFrom "c_key" -# ValuesFrom "c_value" +# +# Type "gauge" +# InstancesFrom "c_key" +# ValuesFrom "c_value" +# # # # Driver "mysql" @@ -300,6 +303,27 @@ FQDNLookup true # IgnoreSelected false # +# +# StatusFile "/etc/openvpn/openvpn-status.log" +# + +# +# +# Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category" +# +# Type "gauge" +# InstancesFrom "category" +# ValuesFrom "value" +# +# +# +# ConnectID "db01" +# Username "oracle" +# Password "secret" +# Query "out_of_stock" +# +# + # # IncludeDir "/my/include/path" # BaseName "Collectd::Plugin" -- 2.30.2