diff --git a/src/collectd.conf.in b/src/collectd.conf.in
index 0b5323cc9d1ee2123ed574b6cd4ae09e67ad959b..86834db1cf04ce0a7f4f52cab78319826b1bff7e 100644 (file)
--- a/src/collectd.conf.in
+++ b/src/collectd.conf.in
#PIDFile "@localstatedir@/run/@PACKAGE_NAME@.pid"
#PluginDir "@libdir@/@PACKAGE_NAME@"
#TypesDB "@prefix@/share/@PACKAGE_NAME@/types.db"
+
+#----------------------------------------------------------------------------#
+# Interval at which to query values. This may be overwritten on a per-plugin #
+# base by using the 'Interval' option of the LoadPlugin block: #
+# <LoadPlugin foo> #
+# Interval 60 #
+# </LoadPlugin> #
+#----------------------------------------------------------------------------#
#Interval 10
+
#Timeout 2
#ReadThreads 5
+#WriteThreads 5
##############################################################################
# Logging #
#@BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors
#@BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial
#@BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
+#@BUILD_PLUGIN_SNORT_TRUE@LoadPlugin snort
#@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap
#@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table
#@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail
# #SelectDB "custdb0"
# Query "num_of_customers"
# #Query "..."
+# #Host "..."
# </Database>
#</Plugin>
# ValuesFrom "count"
# </Result>
# </Query>
+# <Writer sqlstore>
+# # See contrib/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>
# </Host>
#</Plugin>
+#<Plugin "snort">
+# <Metric "dropped">
+# TypeInstance "pkt_drop_percent"
+# Index 1
+# </Metric>
+# <Metric "mbps">
+# TypeInstance "wire_mbits_per_sec.realtime"
+# Index 2
+# </Metric>
+# <Metric "alerts">
+# TypeInstance "alerts_per_second"
+# Index 3
+# </Metric>
+# <Metric "kpps">
+# TypeInstance "kpackets_wire_per_sec.realtime"
+# Index 4
+# </Metric>
+# <Instance "eth0">
+# Interface "eth0"
+# Path "/var/log/snort/snort.stats"
+# Interval 600
+# Collect "dropped" "mbps" "alerts" "kpps"
+# </Instance>
+#</Plugin>
+
#<Plugin "swap">
# ReportByDevice false
# ReportBytes true
#</Plugin>
#<Plugin write_graphite>
-# <Carbon>
+# <Node "example">
# Host "localhost"
# Port "2003"
# Prefix "collectd"
# Postfix "collectd"
-# StoreRates false
+# StoreRates true
# AlwaysAppendDS false
# EscapeCharacter "_"
-# </Carbon>
+# </Node>
#</Plugin>
#<Plugin write_http>
#<Plugin write_riemann>
# <Node "example">
-# Host "localhost">
+# Host "localhost"
# Port 5555
-# StoreRates false
-# Delay 2
+# Protocol UDP
+# StoreRates true
+# AlwaysAppendDS false
# </Node>
# Tag "foobar"
#</Plugin>