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 #313 from tiwilliam/master
[collectd.git]
/
src
/
collectd.conf.in
diff --git
a/src/collectd.conf.in
b/src/collectd.conf.in
index
3788455
..
fc9b10c
100644
(file)
--- a/
src/collectd.conf.in
+++ b/
src/collectd.conf.in
@@
-37,6
+37,11
@@
#ReadThreads 5
#WriteThreads 5
#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 #
#----------------------------------------------------------------------------#
##############################################################################
# Logging #
#----------------------------------------------------------------------------#
@@
-47,6
+52,7
@@
@LOAD_PLUGIN_SYSLOG@LoadPlugin syslog
@LOAD_PLUGIN_LOGFILE@LoadPlugin logfile
@LOAD_PLUGIN_SYSLOG@LoadPlugin syslog
@LOAD_PLUGIN_LOGFILE@LoadPlugin logfile
+@LOAD_PLUGIN_LOG_LOGSTASH@LoadPlugin log_logstash
#<Plugin logfile>
# LogLevel @DEFAULT_LOG_LEVEL@
#<Plugin logfile>
# LogLevel @DEFAULT_LOG_LEVEL@
@@
-55,6
+61,11
@@
# PrintSeverity false
#</Plugin>
# PrintSeverity false
#</Plugin>
+#<Plugin log_logstash>
+# LogLevel @DEFAULT_LOG_LEVEL@
+# File "@localstatedir@/log/@PACKAGE_NAME@.json.log"
+#</Plugin>
+
#<Plugin syslog>
# LogLevel @DEFAULT_LOG_LEVEL@
#</Plugin>
#<Plugin syslog>
# LogLevel @DEFAULT_LOG_LEVEL@
#</Plugin>
@@
-74,6
+85,7
@@
#@BUILD_PLUGIN_APACHE_TRUE@LoadPlugin apache
#@BUILD_PLUGIN_APCUPS_TRUE@LoadPlugin apcups
#@BUILD_PLUGIN_APPLE_SENSORS_TRUE@LoadPlugin apple_sensors
#@BUILD_PLUGIN_APACHE_TRUE@LoadPlugin apache
#@BUILD_PLUGIN_APCUPS_TRUE@LoadPlugin apcups
#@BUILD_PLUGIN_APPLE_SENSORS_TRUE@LoadPlugin apple_sensors
+#@BUILD_PLUGIN_AQUAERO_TRUE@LoadPlugin aquaero
#@BUILD_PLUGIN_ASCENT_TRUE@LoadPlugin ascent
#@BUILD_PLUGIN_BATTERY_TRUE@LoadPlugin battery
#@BUILD_PLUGIN_BIND_TRUE@LoadPlugin bind
#@BUILD_PLUGIN_ASCENT_TRUE@LoadPlugin ascent
#@BUILD_PLUGIN_BATTERY_TRUE@LoadPlugin battery
#@BUILD_PLUGIN_BIND_TRUE@LoadPlugin bind
@@
-149,7
+161,9
@@
@LOAD_PLUGIN_RRDTOOL@LoadPlugin rrdtool
#@BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors
#@BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial
@LOAD_PLUGIN_RRDTOOL@LoadPlugin rrdtool
#@BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors
#@BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial
+#@BUILD_PLUGIN_SIGROK_TRUE@LoadPlugin sigrok
#@BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
#@BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
+#@BUILD_PLUGIN_STATSD_TRUE@LoadPlugin statsd
#@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
@@
-184,7
+198,7
@@
# ription of those options is available in the collectd.conf(5) manual page. #
##############################################################################
# ription of those options is available in the collectd.conf(5) manual page. #
##############################################################################
-#<Plugin
"aggregation"
>
+#<Plugin
aggregation
>
# <Aggregation>
# #Host "unspecified"
# Plugin "cpu"
# <Aggregation>
# #Host "unspecified"
# Plugin "cpu"
@@
-204,7
+218,7
@@
# </Aggregation>
#</Plugin>
# </Aggregation>
#</Plugin>
-#<Plugin
"amqp"
>
+#<Plugin
amqp
>
# <Publish "name">
# Host "localhost"
# Port "5672"
# <Publish "name">
# Host "localhost"
# Port "5672"
@@
-233,6
+247,10
@@
# ReportSeconds true
#</Plugin>
# ReportSeconds true
#</Plugin>
+#<Plugin aquaero>
+# Device ""
+#</Plugin>
+
#<Plugin ascent>
# URL "http://localhost/ascent/status/"
# User "www-user"
#<Plugin ascent>
# URL "http://localhost/ascent/status/"
# User "www-user"
@@
-240,7
+258,7
@@
# CACert "/etc/ssl/ca.crt"
#</Plugin>
# CACert "/etc/ssl/ca.crt"
#</Plugin>
-#<Plugin
"bind"
>
+#<Plugin
bind
>
# URL "http://localhost:8053/"
# ParseTime false
# OpCodes true
# URL "http://localhost:8053/"
# ParseTime false
# OpCodes true
@@
-260,6
+278,17
@@
# </View>
#</Plugin>
# </View>
#</Plugin>
+#<Plugin cgroup>
+# CGroup "libvirt"
+# IgnoreSelected false
+#</Plugin>
+
+#<Plugin cpu>
+# ReportActive false
+# ReportByCpu true
+# ValuesPercentage false
+#</Plugin>
+#
#<Plugin csv>
# DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv"
# StoreRates false
#<Plugin csv>
# DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv"
# StoreRates false
@@
-311,7
+340,7
@@
# </URL>
#</Plugin>
# </URL>
#</Plugin>
-#<Plugin
"curl_xml"
>
+#<Plugin
curl_xml
>
# <URL "http://localhost/stats.xml">
# Host "my_host"
# Instance "some_instance"
# <URL "http://localhost/stats.xml">
# Host "my_host"
# Instance "some_instance"
@@
-361,11
+390,15
@@
# ReportByDevice false
# ReportReserved false
# ReportInodes false
# ReportByDevice false
# ReportReserved false
# ReportInodes false
+# ValuesAbsolute true
+# ValuesPercentage false
#</Plugin>
#<Plugin disk>
# Disk "/^[hs]d[a-f][0-9]?$/"
# IgnoreSelected false
#</Plugin>
#<Plugin disk>
# Disk "/^[hs]d[a-f][0-9]?$/"
# IgnoreSelected false
+# UseBSDName false
+# UdevNameAttr "DEVNAME"
#</Plugin>
#<Plugin dns>
#</Plugin>
#<Plugin dns>
@@
-404,7
+437,7
@@
# </Directory>
#</Plugin>
# </Directory>
#</Plugin>
-#<Plugin
"gmond"
>
+#<Plugin
gmond
>
# MCReceiveFrom "239.2.11.71" "8649"
# <Metric "swap_total">
# Type "swap"
# MCReceiveFrom "239.2.11.71" "8649"
# <Metric "swap_total">
# Type "swap"
@@
-448,7
+481,7
@@
# IgnoreSelected true
#</Plugin>
# IgnoreSelected true
#</Plugin>
-#<Plugin
"java"
>
+#<Plugin
java
>
# JVMArg "-verbose:jni"
# JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
#
# JVMArg "-verbose:jni"
# JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
#
@@
-467,6
+500,11
@@
# IgnoreSelected false
# HostnameFormat name
# InterfaceFormat name
# IgnoreSelected false
# HostnameFormat name
# InterfaceFormat name
+# PluginInstanceFormat name
+#</Plugin>
+
+#<Plugin load>
+# ReportRelative true
#</Plugin>
#<Plugin lpar>
#</Plugin>
#<Plugin lpar>
@@
-516,6
+554,11
@@
# </Instance>
#</Plugin>
# </Instance>
#</Plugin>
+#<Plugin memory>
+# ValuesAbsolute true
+# ValuesPercentage false
+#</Plugin>
+
#<Plugin modbus>
# <Data "data_name">
# RegisterBase 1234
#<Plugin modbus>
# <Data "data_name">
# RegisterBase 1234
@@
-543,9
+586,11
@@
# Password "secret"
# Database "db_name"
# MasterStats true
# Password "secret"
# Database "db_name"
# MasterStats true
+# ConnectTimeout 10
# </Database>
#
# <Database db_name2>
# </Database>
#
# <Database db_name2>
+# Alias "squeeze"
# Host "localhost"
# Socket "/var/run/mysql/mysqld.sock"
# SlaveStats true
# Host "localhost"
# Socket "/var/run/mysql/mysqld.sock"
# SlaveStats true
@@
-885,6
+930,19
@@
# IgnoreSelected false
#</Plugin>
# IgnoreSelected false
#</Plugin>
+#<Plugin sigrok>
+# LogLevel 3
+# <Device "AC Voltage">
+# Driver "fluke-dmm"
+# MinimumInterval 10
+# Conn "/dev/ttyUSB2"
+# </Device>
+# <Device "Sound Level">
+# Driver "cem-dt-885x"
+# Conn "/dev/ttyUSB1"
+# </Device>
+#</Plugin>
+
#<Plugin snmp>
# <Data "powerplus_voltge_input">
# Type "voltage"
#<Plugin snmp>
# <Data "powerplus_voltge_input">
# Type "voltage"
@@
-927,12
+985,24
@@
# </Host>
#</Plugin>
# </Host>
#</Plugin>
-#<Plugin "swap">
+#<Plugin statsd>
+# Host "::"
+# Port "8125"
+# DeleteCounters false
+# DeleteTimers false
+# DeleteGauges false
+# DeleteSets false
+# TimerPercentile 90.0
+#</Plugin>
+
+#<Plugin swap>
# ReportByDevice false
# ReportBytes true
# ReportByDevice false
# ReportBytes true
+# ValuesAbsolute true
+# ValuesPercentage false
#</Plugin>
#</Plugin>
-#<Plugin
"table"
>
+#<Plugin
table
>
# <Table "/proc/slabinfo">
# Instance "slabinfo"
# Separator " "
# <Table "/proc/slabinfo">
# Instance "slabinfo"
# Separator " "
@@
-951,9
+1021,10
@@
# </Table>
#</Plugin>
# </Table>
#</Plugin>
-#<Plugin
"tail"
>
+#<Plugin
tail
>
# <File "/var/log/exim4/mainlog">
# Instance "exim"
# <File "/var/log/exim4/mainlog">
# Instance "exim"
+# Interval 60
# <Match>
# Regex "S=([1-9][0-9]*)"
# DSType "CounterAdd"
# <Match>
# Regex "S=([1-9][0-9]*)"
# DSType "CounterAdd"
@@
-970,7
+1041,7
@@
# </File>
#</Plugin>
# </File>
#</Plugin>
-#<Plugin
"tail_csv"
>
+#<Plugin
tail_csv
>
# <Metric "dropped">
# Type "percent"
# Instance "dropped"
# <Metric "dropped">
# Type "percent"
# Instance "dropped"
@@
-1091,7
+1162,8
@@
# <Node "example">
# Host "localhost"
# Port "2003"
# <Node "example">
# Host "localhost"
# Port "2003"
-# Protocol "udp"
+# Protocol "tcp"
+# LogSendErrors true
# Prefix "collectd"
# Postfix "collectd"
# StoreRates true
# Prefix "collectd"
# Postfix "collectd"
# StoreRates true
@@
-1107,6
+1179,11
@@
# VerifyPeer true
# VerifyHost true
# CACert "/etc/ssl/ca.crt"
# VerifyPeer true
# VerifyHost true
# CACert "/etc/ssl/ca.crt"
+# CAPath "/etc/ssl/certs/"
+# ClientKey "/etc/ssl/client.pem"
+# ClientCert "/etc/ssl/client.crt"
+# ClientKeyPass "secret"
+# SSLVersion "TLSv1"
# Format "Command"
# StoreRates false
# </URL>
# Format "Command"
# StoreRates false
# </URL>
@@
-1139,8
+1216,10
@@
# Protocol UDP
# StoreRates true
# AlwaysAppendDS false
# Protocol UDP
# StoreRates true
# AlwaysAppendDS false
+# TTLFactor 2.0
# </Node>
# Tag "foobar"
# </Node>
# Tag "foobar"
+# Attribute "foo" "bar"
#</Plugin>
##############################################################################
#</Plugin>
##############################################################################
@@
-1183,7
+1262,7
@@
##############################################################################
#@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
##############################################################################
#@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
-#<Plugin
"threshold"
>
+#<Plugin
threshold
>
# <Type "foo">
# WarningMin 0.00
# WarningMax 1000.00
# <Type "foo">
# WarningMin 0.00
# WarningMax 1000.00