From 41786d5a77bd0245883b07f9604467cbb5b56606 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 9 Apr 2008 11:00:54 +0200 Subject: [PATCH] collectd.conf(5): Documented the `ascent' plugin. Also updated the `README' file and the sample configuration. --- README | 7 +++++-- src/collectd.conf.in | 8 ++++++++ src/collectd.conf.pod | 30 ++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+), 2 deletions(-) diff --git a/README b/README index f298bd3a..904e7c73 100644 --- a/README +++ b/README @@ -26,6 +26,9 @@ Features Sensors in Macs running Mac OS X / Darwin: Temperature, fanspeed and voltage sensors. + - ascent + Statistics about Ascent, a free server for the game `World of Warcraft'. + - battery Batterycharge, -current and voltage of ACPI and PMU based laptop batteries. @@ -313,7 +316,7 @@ Prerequisites platforms. * libcurl (optional) - If you want to use the `apache' and/or `nginx' plugins. + If you want to use the `apache', `ascent', or `nginx' plugin. * libhal (optional) If present, the uuid plugin will check for UUID from HAL. @@ -371,7 +374,7 @@ Prerequisites Collect statistics from virtual machines. * libxml2 (optional) - Parse XML data provided by libvirt. + Parse XML data. This is needed for the `ascent' and `libvirt' plugins. Configuring / Compiling / Installing diff --git a/src/collectd.conf.in b/src/collectd.conf.in index 6e6e6f7f..f9980f12 100644 --- a/src/collectd.conf.in +++ b/src/collectd.conf.in @@ -16,6 +16,7 @@ FQDNLookup true @BUILD_PLUGIN_APACHE_TRUE@LoadPlugin apache @BUILD_PLUGIN_APCUPS_TRUE@LoadPlugin apcups @BUILD_PLUGIN_APPLE_SENSORS_TRUE@LoadPlugin apple_sensors +@BUILD_PLUGIN_ASCENT_TRUE@LoadPlugin ascent @BUILD_PLUGIN_BATTERY_TRUE@LoadPlugin battery @BUILD_PLUGIN_CPU_TRUE@LoadPlugin cpu @BUILD_PLUGIN_CPUFREQ_TRUE@LoadPlugin cpufreq @@ -77,6 +78,13 @@ FQDNLookup true # Port "3551" # +# +# URL "http://localhost/ascent/status/" +# User "www-user" +# Password "secret" +# CACert "/etc/ssl/ca.crt" +# + # # DataDir "@prefix@/var/lib/@PACKAGE_NAME@/csv" # StoreRates false diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index d3f5195a..614fb0fa 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -197,6 +197,36 @@ TCP-Port to connect to. Defaults to B<3551>. =back +=head2 Plugin C + +This plugin collects information about an Ascent server, a free server for the +"World of Warcraft" game. This plugin gathers the information by fetching the +XML status page using C and parses it using C. + +The configuration options are the same as for the C plugin above: + +=over 4 + +=item B I + +Sets the URL of the XML status output. + +=item B I + +Optional user name needed for authentication. + +=item B I + +Optional password needed for authentication. + +=item B I + +File that holds one or more SSL certificates. If you want to use HTTPS you will +possibly need this option. What CA certificates come bundled with C +and are checked by default depends on the distribution you use. + +=back + =head2 Plugin C This plugin doesn't have any options. It reads -- 2.11.0