Code

Merged commit 'collectd-4.10.1-1' into lenny-backports.
[pkg-collectd.git] / debian / collectd.conf
index 8b5ca60e444aa033d6c5a9429a81fa4f28bcddaa..a05694aaa0ce11ba5df14ed337327afb355d7958 100644 (file)
@@ -3,8 +3,8 @@
 # Some plugins need additional configuration and are disabled by default.
 # Please read collectd.conf(5) for details.
 #
-# You should also read /usr/share/doc/collectd/README.Debian.plugins before
-# enabling any more plugins.
+# You should also read /usr/share/doc/collectd-core/README.Debian.plugins
+# before enabling any more plugins.
 
 #Hostname "localhost"
 FQDNLookup true
@@ -12,6 +12,7 @@ FQDNLookup true
 #PluginDir "/usr/lib/collectd"
 #TypesDB "/usr/share/collectd/types.db" "/etc/collectd/my_types.db"
 #Interval 10
+#Timeout 2
 #ReadThreads 5
 
 #LoadPlugin logfile
@@ -21,6 +22,7 @@ LoadPlugin syslog
 #      LogLevel "info"
 #      File STDOUT
 #      Timestamp true
+#      PrintSeverity false
 #</Plugin>
 
 <Plugin syslog>
@@ -33,10 +35,12 @@ LoadPlugin syslog
 LoadPlugin battery
 #LoadPlugin bind
 #LoadPlugin conntrack
+#LoadPlugin contextswitch
 LoadPlugin cpu
 #LoadPlugin cpufreq
 #LoadPlugin csv
 #LoadPlugin curl
+#LoadPlugin curl_xml
 #LoadPlugin dbi
 LoadPlugin df
 LoadPlugin disk
@@ -55,6 +59,7 @@ LoadPlugin irq
 #LoadPlugin java
 #LoadPlugin libvirt
 LoadPlugin load
+#LoadPlugin madwifi
 #LoadPlugin mbmon
 #LoadPlugin memcached
 LoadPlugin memory
@@ -68,13 +73,16 @@ LoadPlugin memory
 #LoadPlugin notify_email
 #LoadPlugin ntpd
 #LoadPlugin nut
+#LoadPlugin olsrd
 #LoadPlugin openvpn
 #LoadPlugin perl
+#LoadPlugin pinba
 #LoadPlugin ping
 #LoadPlugin postgresql
 #LoadPlugin powerdns
 LoadPlugin processes
 #LoadPlugin protocols
+#LoadPlugin python
 LoadPlugin rrdtool
 #LoadPlugin sensors
 #LoadPlugin serial
@@ -93,14 +101,24 @@ LoadPlugin users
 #LoadPlugin vmem
 #LoadPlugin vserver
 #LoadPlugin wireless
+#LoadPlugin write_http
 
 #<Plugin apache>
-#      URL "http://localhost/status?auto"
-#      User "www-user"
-#      Password "secret"
-#      VerifyPeer false
-#      VerifyHost false
-#      CACert "/etc/ssl/ca.crt"
+#      <Instance "foo">
+#              URL "http://localhost/server-status?auto"
+#              User "www-user"
+#              Password "secret"
+#              VerifyPeer false
+#              VerifyHost false
+#              CACert "/etc/ssl/ca.crt"
+#              Server "apache"
+#      </Instance>
+#
+#      <Instance "bar">
+#              URL "http://some.domain.tld/status?auto"
+#              Host "some.domain.tld"
+#              Server "lighttpd"
+#      </Instance>
 #</Plugin>
 
 #<Plugin apcups>
@@ -149,6 +167,7 @@ LoadPlugin users
 #              VerifyPeer false
 #              VerifyHost false
 #              CACert "/etc/ssl/ca.crt"
+#              MeasureResponseTime false
 #              <Match>
 #                      Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
 #                      DSType "GaugeAverage"
@@ -158,6 +177,25 @@ LoadPlugin users
 #      </Page>
 #</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 \
@@ -190,6 +228,9 @@ LoadPlugin users
 #      MountPoint "/home"
 #      FSType "ext3"
 #      IgnoreSelected false
+#      ReportByDevice false
+#      ReportReserved false
+#      ReportInodes false
 #</Plugin>
 
 #<Plugin disk>
@@ -201,6 +242,7 @@ LoadPlugin users
 #<Plugin dns>
 #      Interface "eth0"
 #      IgnoreSource "192.168.0.1"
+#      SelectNumericQueryTypes false
 #</Plugin>
 
 #<Plugin email>
@@ -223,6 +265,7 @@ LoadPlugin users
 #              MTime "-5m"
 #              Size "+10k"
 #              Recursive true
+#              IncludeHidden false
 #      </Directory>
 #</Plugin>
 
@@ -259,10 +302,12 @@ LoadPlugin users
 
 #<Plugin java>
 #      JVMArg "-verbose:jni"
+#      JVMArg "-Djava.class.path=/usr/share/collectd/java/collectd-api.jar"
 #
-#      LoadPlugin "org.collectd.java.Foobar"
-#      <Plugin "org.collectd.java.Foobar">
-#              Foo "Bar"
+#      LoadPlugin "org.collectd.java.GenericJMX"
+#      <Plugin "GenericJMX">
+#              # See /usr/share/doc/collectd/examples/GenericJMX.conf
+#              # for an example config.
 #      </Plugin>
 #</Plugin>
 
@@ -276,12 +321,25 @@ LoadPlugin users
 #      HostnameFormat name
 #</Plugin>
 
+#<Plugin madwifi>
+#      Interface "wlan0"
+#      IgnoreSelected false
+#      Source "SysFS"
+#      WatchSet "None"
+#      WatchAdd "node_octets"
+#      WatchAdd "node_rssi"
+#      WatchAdd "is_rx_acl"
+#      WatchAdd "is_scan_active"
+#</Plugin>
+
 #<Plugin mbmon>
 #      Host "127.0.0.1"
 #      Port 411
 #</Plugin>
 
 #<Plugin memcached>
+#      Socket "/var/run/memcached.sock"
+# or:
 #      Host "127.0.0.1"
 #      Port "11211"
 #</Plugin>
@@ -314,12 +372,32 @@ LoadPlugin users
 #</Plugin>
 
 #<Plugin network>
+#      # client setup:
 #      Server "ff18::efc0:4a42" "25826"
-#      Server "239.192.74.66" "25826"
-#      Listen "ff18::efc0:4a42" "25826"
-#      Listen "239.192.74.66" "25826"
+#      <Server "239.192.74.66" "25826">
+#              SecurityLevel Encrypt
+#              Username "user"
+#              Password "secret"
+#              Interface "eth0"
+#      </Server>
 #      TimeToLive "128"
-#      Forward false
+#
+#      # server setup:
+#      Listen "ff18::efc0:4a42" "25826"
+#      <Listen "239.192.74.66" "25826">
+#              SecurityLevel Sign
+#              AuthFile "/etc/collectd/passwd"
+#              Interface "eth0"
+#      </Listen>
+#      MaxPacketSize 1024
+#
+#      # proxy setup (client and server as above):
+#      Forward true
+#
+#      # statistics about the network plugin itself
+#      ReportStats false
+#
+#      # "garbage collection"
 #      CacheFlush 1800
 #</Plugin>
 
@@ -361,16 +439,28 @@ LoadPlugin users
 #      UPS "upsname@hostname:port"
 #</Plugin>
 
+#<Plugin olsrd>
+#      Host "127.0.0.1"
+#      Port "2006"
+#      CollectLinks "Summary"
+#      CollectRoutes "Summary"
+#      CollectTopology "Summary"
+#</Plugin>
+
 #<Plugin openvpn>
 #      StatusFile "/etc/openvpn/openvpn-status.log"
+#      ImprovedNamingSchema false
+#      CollectCompression true
+#      CollectIndividualUsers true
+#      CollectUserCount false
 #</Plugin>
 
 #<Plugin perl>
 #      IncludeDir "/my/include/path"
-#      BaseName "Collectd::Plugin"
+#      BaseName "Collectd::Plugins"
 #      EnableDebugger ""
-#      LoadPlugin "foo"
-#      LoadPlugin "bar"
+#      LoadPlugin Monitorus
+#      LoadPlugin OpenVZ
 #
 #      <Plugin foo>
 #              Foo "Bar"
@@ -378,12 +468,25 @@ LoadPlugin users
 #      </Plugin>
 #</Plugin>
 
+#<Plugin pinba>
+#      Address "::0"
+#      Port "30002"
+#      <View "name">
+#              Host "host name"
+#              Server "server name"
+#              Script "script name"
+#      <View>
+#</Plugin>
+
 #<Plugin ping>
 #      Host "host.foo.bar"
 #      Host "host.baz.qux"
 #      Interval 1.0
 #      Timeout 0.9
 #      TTL 255
+#      SourceAddress "1.2.3.4"
+#      Device "eth0"
+#      MaxMissed -1
 #</Plugin>
 
 #<Plugin postgresql>
@@ -427,6 +530,7 @@ LoadPlugin users
 #      </Database>
 #
 #      <Database bar>
+#              Interval 60
 #              Service "service_name"
 #
 #              Query backend # predefined
@@ -458,11 +562,23 @@ LoadPlugin users
 #      IgnoreSelected false
 #</Plugin>
 
+#<Plugin python>
+#      ModulePath "/path/to/your/python/modules"
+#      LogTraces true
+#      Interactive true
+#      Import "spam"
+#
+#      <Module spam>
+#              spam "wonderful" "lovely"
+#      </Module>
+#</Plugin>
+
 <Plugin rrdtool>
        DataDir "/var/lib/collectd/rrd"
 #      CacheTimeout 120
 #      CacheFlush 900
 #      WritesPerSecond 30
+#      RandomTimeout 0
 #
 # The following settings are rather advanced
 # and should usually not be touched:
@@ -557,6 +673,7 @@ LoadPlugin users
 #              </Match>
 #              <Match>
 #                      Regex "\\<R=local_user\\>"
+#                      ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
 #                      DSType "CounterInc"
 #                      Type "counter"
 #                      Instance "local_user"
@@ -601,6 +718,18 @@ LoadPlugin users
 #      Verbose false
 #</Plugin>
 
+#<Plugin write_http>
+#      <URL "http://example.com/collectd-post">
+#              User "collectd"
+#              Password "secret"
+#              VerifyPeer true
+#              VerifyHost true
+#              CACert "/etc/ssl/ca.crt"
+#              Format "Command"
+#              StoreRates false
+#      </URL>
+#</Plugin>
+
 Include "/etc/collectd/filters.conf"
 Include "/etc/collectd/thresholds.conf"