projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #393 from mfournier/prevent-building-with-old-libpcap
[collectd.git]
/
src
/
collectd.conf.in
diff --git
a/src/collectd.conf.in
b/src/collectd.conf.in
index
d2cf950
..
5af1568
100644
(file)
--- a/
src/collectd.conf.in
+++ b/
src/collectd.conf.in
@@
-16,9
+16,19
@@
#PIDFile "@localstatedir@/run/@PACKAGE_NAME@.pid"
#PluginDir "@libdir@/@PACKAGE_NAME@"
#TypesDB "@prefix@/share/@PACKAGE_NAME@/types.db"
#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
#Interval 10
+
#Timeout 2
#ReadThreads 5
#Timeout 2
#ReadThreads 5
+#WriteThreads 5
##############################################################################
# Logging #
##############################################################################
# Logging #
@@
-134,6
+144,7
@@
#@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap
#@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table
#@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail
#@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap
#@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table
#@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail
+#@BUILD_PLUGIN_TAIL_CSV_TRUE@LoadPlugin tail_csv
#@BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape
#@BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns
#@BUILD_PLUGIN_TEAMSPEAK2_TRUE@LoadPlugin teamspeak2
#@BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape
#@BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns
#@BUILD_PLUGIN_TEAMSPEAK2_TRUE@LoadPlugin teamspeak2
@@
-327,6
+338,7
@@
# #SelectDB "custdb0"
# Query "num_of_customers"
# #Query "..."
# #SelectDB "custdb0"
# Query "num_of_customers"
# #Query "..."
+# #Host "..."
# </Database>
#</Plugin>
# </Database>
#</Plugin>
@@
-754,6
+766,11
@@
# ValuesFrom "count"
# </Result>
# </Query>
# 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"
# <Database foo>
# Host "hostname"
# Port "5432"
@@
-769,6
+786,12
@@
# Query backend # predefined
# Query rt36_tickets
# </Database>
# 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>
#</Plugin>
#<Plugin powerdns>
@@
-832,13
+855,16
@@
# DaemonAddress "unix:/tmp/rrdcached.sock"
# DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
# CreateFiles true
# DaemonAddress "unix:/tmp/rrdcached.sock"
# DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
# CreateFiles true
+# CreateFilesAsync false
# CollectStatistics true
#</Plugin>
#<Plugin rrdtool>
# DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
# CollectStatistics true
#</Plugin>
#<Plugin rrdtool>
# DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
+# CreateFilesAsync false
# CacheTimeout 120
# CacheFlush 900
# CacheTimeout 120
# CacheFlush 900
+# WritesPerSecond 50
#</Plugin>
#<Plugin sensors>
#</Plugin>
#<Plugin sensors>
@@
-934,6
+960,33
@@
# </File>
#</Plugin>
# </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"
#<Plugin tcpconns>
# ListeningPorts false
# LocalPort "25"
@@
-999,15
+1052,15
@@
#</Plugin>
#<Plugin write_graphite>
#</Plugin>
#<Plugin write_graphite>
-# <
Carbon
>
+# <
Node "example"
>
# Host "localhost"
# Port "2003"
# Prefix "collectd"
# Postfix "collectd"
# Host "localhost"
# Port "2003"
# Prefix "collectd"
# Postfix "collectd"
-# StoreRates
fals
e
+# StoreRates
tru
e
# AlwaysAppendDS false
# EscapeCharacter "_"
# AlwaysAppendDS false
# EscapeCharacter "_"
-# </
Carbon
>
+# </
Node
>
#</Plugin>
#<Plugin write_http>
#</Plugin>
#<Plugin write_http>
@@
-1028,6
+1081,9
@@
# Port "27017"
# Timeout 1000
# StoreRates false
# Port "27017"
# Timeout 1000
# StoreRates false
+# Database "auth_db"
+# User "auth_user"
+# Password "auth_passwd"
# </Node>
#</Plugin>
# </Node>
#</Plugin>
@@
-1041,10
+1097,11
@@
#<Plugin write_riemann>
# <Node "example">
#<Plugin write_riemann>
# <Node "example">
-# Host "localhost"
>
+# Host "localhost"
# Port 5555
# Port 5555
+# Protocol UDP
# StoreRates true
# StoreRates true
-#
Delay 1
+#
AlwaysAppendDS false
# </Node>
# Tag "foobar"
#</Plugin>
# </Node>
# Tag "foobar"
#</Plugin>