summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5b3501f)
raw | patch | inline | side by side (parent: 5b3501f)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 1 Feb 2009 17:26:34 +0000 (18:26 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 1 Feb 2009 17:26:34 +0000 (18:26 +0100) |
src/collectd.conf.in | patch | blob | history |
diff --git a/src/collectd.conf.in b/src/collectd.conf.in
index 51ca0bea0d7cf3e4abab69dc0f206380c0fdca8a..861d22c521eaedd11ca5c7a50b4f05fcbe13059c 100644 (file)
--- a/src/collectd.conf.in
+++ b/src/collectd.conf.in
@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
#<Plugin dbi>
# <Query "num_of_customers">
# Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
-# Type "gauge"
-# InstancesFrom "c_key"
-# ValuesFrom "c_value"
+# <Result>
+# Type "gauge"
+# InstancesFrom "c_key"
+# ValuesFrom "c_value"
+# <Result>
# </Query>
# <Database "customers_db">
# Driver "mysql"
# IgnoreSelected false
#</Plugin>
+#<Plugin openvpn>
+# StatusFile "/etc/openvpn/openvpn-status.log"
+#</Plugin>
+
+#<Plugin oracle>
+# <Query "out_of_stock">
+# Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
+# <Result>
+# Type "gauge"
+# InstancesFrom "category"
+# ValuesFrom "value"
+# </Result>
+# </Query>
+# <Database "product_information">
+# ConnectID "db01"
+# Username "oracle"
+# Password "secret"
+# Query "out_of_stock"
+# </Database>
+#</Plugin>
+
#<Plugin perl>
# IncludeDir "/my/include/path"
# BaseName "Collectd::Plugin"