summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7452501)
raw | patch | inline | side by side (parent: 7452501)
author | Florian Forster <octo@huhu.verplant.org> | |
Tue, 19 Jan 2010 07:17:47 +0000 (08:17 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Tue, 19 Jan 2010 07:17:47 +0000 (08:17 +0100) |
src/collectd.conf.in | patch | blob | history |
diff --git a/src/collectd.conf.in b/src/collectd.conf.in
index 8b98325d1699860a6bd7310a858bd6c4488ddb2a..9a8ad1b9f99b8342bbc621683c74bdd58bf69eee 100644 (file)
--- a/src/collectd.conf.in
+++ b/src/collectd.conf.in
@LOAD_PLUGIN_CSV@LoadPlugin csv
#@BUILD_PLUGIN_CURL_TRUE@LoadPlugin curl
#@BUILD_PLUGIN_CURL_JSON_TRUE@LoadPlugin curl_json
+#@BUILD_PLUGIN_CURL_XML_TRUE@LoadPlugin curl_xml
#@BUILD_PLUGIN_DBI_TRUE@LoadPlugin dbi
#@BUILD_PLUGIN_DF_TRUE@LoadPlugin df
#@BUILD_PLUGIN_DISK_TRUE@LoadPlugin disk
# </URL>
#</Plugin>
+#<Plugin "curl_xml">
+# <URL "http://localhost/stats.xml">
+# Host "my_host"
+# Instance "some_instance"
+# User "collectd"
+# Password "thaiNg0I"
+# VerifyPeer true
+# VerifyHost true
+# CACert "/path/to/ca.crt"
+#
+# <XPath "table[@id=\"magic_level\"]/tr">
+# Type "magic_level"
+# #InstancePrefix "prefix-"
+# InstanceFrom "td[1]"
+# ValuesFrom "td[2]/span[@class=\"level\"]"
+# </XPath>
+# </URL>
+#</Plugin>
+
#<Plugin dbi>
# <Query "num_of_customers">
# Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"