diff --git a/debian/collectd.conf b/debian/collectd.conf
index 1dde5b6afd9dfc96cf7e673f553b79fe0577bf38..16752e6d93ad99c72f06bdf58ea2166b7778329b 100644 (file)
--- a/debian/collectd.conf
+++ b/debian/collectd.conf
#PluginDir "/usr/lib/collectd"
#TypesDB "/usr/share/collectd/types.db" "/etc/collectd/my_types.db"
+#----------------------------------------------------------------------------#
+# When enabled, plugins are loaded automatically with the default options #
+# when an appropriate <Plugin ...> block is encountered. #
+# Disabled by default. #
+#----------------------------------------------------------------------------#
+#AutoLoadPlugin false
+
#----------------------------------------------------------------------------#
# Interval at which to query values. This may be overwritten on a per-plugin #
# base by using the 'Interval' option of the LoadPlugin block: #
#Timeout 2
#ReadThreads 5
+#WriteThreads 5
+
+# Limit the size of the write queue. Default is no limit. Setting up a limit
+# is recommended for servers handling a high volume of traffic.
+#WriteQueueLimitHigh 1000000
+#WriteQueueLimitLow 800000
##############################################################################
# Logging #
#LoadPlugin ascent
LoadPlugin battery
#LoadPlugin bind
+#LoadPlugin cgroups
#LoadPlugin conntrack
#LoadPlugin contextswitch
LoadPlugin cpu
#LoadPlugin java
#LoadPlugin libvirt
LoadPlugin load
+#LoadPlugin lvm
#LoadPlugin madwifi
#LoadPlugin mbmon
#LoadPlugin md
#LoadPlugin memcachec
#LoadPlugin memcached
LoadPlugin memory
+#LoadPlugin modbus
#LoadPlugin multimeter
#LoadPlugin mysql
#LoadPlugin netlink
#LoadPlugin sensors
#LoadPlugin serial
#LoadPlugin snmp
+#LoadPlugin statsd
LoadPlugin swap
#LoadPlugin table
#LoadPlugin tail
+#LoadPlugin tail_csv
#LoadPlugin tcpconns
#LoadPlugin teamspeak2
#LoadPlugin ted
#LoadPlugin wireless
#LoadPlugin write_graphite
#LoadPlugin write_http
-#LoadPlugin write_mongodb
+#LoadPlugin write_riemann
##############################################################################
# Plugin configuration #
# <Aggregation>
# #Host "unspecified"
# Plugin "cpu"
-# #PluginInstance "unspecified"
+# PluginInstance "/[0,2,4,6,8]$/"
# Type "cpu"
# #TypeInstance "unspecified"
#
+# SetPlugin "cpu"
+# SetPluginInstance "even-%{aggregation}"
+#
# GroupBy "Host"
# GroupBy "TypeInstance"
#
#<Plugin apcups>
# Host "localhost"
# Port "3551"
+# ReportSeconds true
#</Plugin>
#<Plugin ascent>
# </View>
#</Plugin>
+#<Plugin "cgroups">
+# CGroup "libvirt"
+# IgnoreSelected false
+#</Plugin>
+
#<Plugin csv>
# DataDir "/var/lib/collectd/csv"
# StoreRates false
# SelectDB "custdb0"
# Query "num_of_customers"
# Query "..."
+# Host "..."
# </Database>
#</Plugin>
-#<Plugin df>
+<Plugin df>
# Device "/dev/sda1"
# Device "192.168.0.2:/mnt/nfs"
# MountPoint "/home"
# FSType "ext3"
-# IgnoreSelected false
+
+ # ignore rootfs; else, the root file-system would appear twice, causing
+ # one of the updates to fail and spam the log
+ FSType rootfs
+ # ignore the usual virtual / temporary file-systems
+ FSType sysfs
+ FSType proc
+ FSType devtmpfs
+ FSType devpts
+ FSType tmpfs
+ FSType fusectl
+ FSType cgroup
+ IgnoreSelected true
+
# ReportByDevice false
# ReportReserved false
# ReportInodes false
-#</Plugin>
+
+# ValuesAbsolute true
+# ValuesPercentage false
+</Plugin>
#<Plugin disk>
# Disk "hda"
# </Instance>
#</Plugin>
+#<Plugin modbus>
+# <Data "data_name">
+# RegisterBase 1234
+# RegisterType float
+# Type gauge
+# Instance "..."
+# </Data>
+#
+# <Host "name">
+# Address "addr"
+# Port "1234"
+# Interval 60
+#
+# <Slave 1>
+# Instance "foobar" # optional
+# Collect "data_name"
+# </Slave>
+# </Host>
+#</Plugin>
+
#<Plugin mysql>
# <Database db_name>
# Host "database.serv.er"
# </Result>
# </Query>
#
+# <Writer sqlstore>
+# # See /usr/share/doc/collectd-core/examples/postgresql/collectd_insert.sql for details
+# Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
+# StoreRates true
+# </Writer>
+#
# <Database foo>
# Host "hostname"
# Port 5432
# Query backend # predefined
# Query rt36_tickets
# </Database>
+#
+# <Database qux>
+# Service "collectd_store"
+# Writer sqlstore
+# # see collectd.conf(5) for details
+# CommitInterval 30
+# </Database>
#</Plugin>
#<Plugin powerdns>
# DaemonAddress "unix:/var/run/rrdcached.sock"
# DataDir "/var/lib/rrdcached/db/collectd"
# CreateFiles true
+# CreateFilesAsync false
# CollectStatistics true
#
# The following settings are rather advanced
# CacheTimeout 120
# CacheFlush 900
# WritesPerSecond 30
+# CreateFilesAsync false
# RandomTimeout 0
#
# The following settings are rather advanced
# </Host>
#</Plugin>
+#<Plugin statsd>
+# Host "::"
+# Port "8125"
+# DeleteCounters false
+# DeleteTimers false
+# DeleteGauges false
+# DeleteSets false
+# TimerPercentile 90.0
+#</Plugin>
+
#<Plugin swap>
# ReportByDevice false
# ReportBytes true
# </File>
#</Plugin>
+#<Plugin "tail_csv">
+# <Metric "dropped">
+# Type "percent"
+# Instance "dropped"
+# ValueFrom 1
+# </Metric>
+# <Metric "mbps">
+# Type "bytes"
+# Instance "wire-realtime"
+# ValueFrom 2
+# </Metric>
+# <Metric "alerts">
+# Type "alerts_per_second"
+# ValueFrom 3
+# </Metric>
+# <Metric "kpps">
+# Type "kpackets_wire_per_sec.realtime"
+# ValueFrom 4
+# </Metric>
+# <File "/var/log/snort/snort.stats">
+# Instance "snort-eth0"
+# Interval 600
+# Collect "dropped" "mbps" "alerts" "kpps"
+# TimeFrom 0
+# </File>
+#</Plugin>
+
#<Plugin tcpconns>
# ListeningPorts false
# LocalPort "25"
# <Instance>
# CollectCache true
# CollectBackend true
+# CollectBan false # Varnish 3 only
# CollectConnections true
+# CollectDirectorDNS false # Varnish 3 only
# CollectSHM true
# CollectESI false
# CollectFetch false
# CollectHCB false
-# CollectSMA false
+# CollectObjects false
+# CollectPurge false # Varnish 2 only
+# CollectSession false
+# CollectSMA false # Varnish 2 only
# CollectSMS false
-# CollectSM false
+# CollectSM false # Varnish 2 only
+# CollectStruct false
# CollectTotals false
+# CollectUptime false
+# CollectdVCL false
# CollectWorkers false
# </Instance>
#
#</Plugin>
#<Plugin write_graphite>
-# <Carbon>
+# <Node "example">
# Host "localhost"
# Port "2003"
+# Protocol "udp"
+# LogSendErrors true
# Prefix "collectd"
# Postfix "collectd"
-# StoreRates false
+# StoreRates true
# AlwaysAppendDS false
# EscapeCharacter "_"
-# </Carbon>
+# </Node>
#</Plugin>
#<Plugin write_http>
# </URL>
#</Plugin>
-#<Plugin write_mongodb>
+#<Plugin write_riemann>
# <Node "example">
# Host "localhost"
-# Port "27017"
-# Timeout 1000
-# StoreRates false
-# <Node>
+# Port 5555
+# Protocol UDP
+# StoreRates true
+# AlwaysAppendDS false
+# TTLFactor 2.0
+# </Node>
+# Tag "foobar"
#</Plugin>
-Include "/etc/collectd/filters.conf"
-Include "/etc/collectd/thresholds.conf"
+<Include "/etc/collectd/collectd.conf.d">
+ Filter "*.conf"
+</Include>