summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cb03ebb)
raw | patch | inline | side by side (parent: cb03ebb)
author | Pavel Rochnyack <pavel2000@ngs.ru> | |
Sat, 30 Sep 2017 13:00:20 +0000 (20:00 +0700) | ||
committer | Pavel Rochnyack <pavel2000@ngs.ru> | |
Sat, 30 Sep 2017 13:00:20 +0000 (20:00 +0700) |
src/collectd.conf.in | patch | blob | history | |
src/collectd.conf.pod | patch | blob | history |
diff --git a/src/collectd.conf.in b/src/collectd.conf.in
index 655910d9cbaa85d2561a1e5408ded87862cb9d1c..3287e0d1c6017ecfb3d74843a36a77816e6f85ad 100644 (file)
--- a/src/collectd.conf.in
+++ b/src/collectd.conf.in
#<Plugin curl_xml>
# <URL "http://localhost/stats.xml">
# Host "my_host"
+# #Plugin "stats"
# Instance "some_instance"
# User "collectd"
# Password "thaiNg0I"
# Type "magic_level"
# #InstancePrefix "prefix-"
# InstanceFrom "td[1]"
+# #PluginInstanceFrom "td[1]"
# ValuesFrom "td[2]/span[@class=\"level\"]"
# </XPath>
# </URL>
diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod
index ee7902c08a4abd01ab0e23dca419678906f19916..51cea1156e85c15013dff8240a9b91c393ff4b92 100644 (file)
--- a/src/collectd.conf.pod
+++ b/src/collectd.conf.pod
Use I<Name> as the host name when submitting values. Defaults to the global
host name setting.
+=item B<Plugin> I<Plugin>
+
+Use I<Plugin> as the plugin name when submitting values.
+Defaults to 'curl_xml'.
+
=item B<Instance> I<Instance>
Use I<Instance> as the plugin instance when submitting values.
May be overridden by B<PluginInstanceFrom> option inside B<XPath> blocks.
Defaults to an empty string (no plugin instance).
-=item B<Plugin> I<Plugin>
-
-Use I<Plugin> as the plugin name when submitting values.
-Defaults to 'curl_xml'.
-
=item B<Namespace> I<Prefix> I<URL>
If an XPath expression references namespaces, they must be specified
I<type> specified with B<Type> (see above). Each XPath expression must return
exactly one element. The element's value is then parsed as a number and used as
value for the appropriate value in the value list dispatched to the daemon.
+This option is required.
=back