summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a306df6)
raw | patch | inline | side by side (parent: a306df6)
author | Sebastian Harl <sh@tokkee.org> | |
Wed, 27 May 2009 11:59:48 +0000 (13:59 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 27 May 2009 11:59:48 +0000 (13:59 +0200) |
Added further config options that did not yet appear.
debian/collectd.conf | patch | blob | history |
diff --git a/debian/collectd.conf b/debian/collectd.conf
index 11bf8e0f772c74ff47001a97905b1c14032c0ce0..8b5ca60e444aa033d6c5a9429a81fa4f28bcddaa 100644 (file)
--- a/debian/collectd.conf
+++ b/debian/collectd.conf
# URL "http://localhost/ascent/status/"
# User "www-user"
# Password "secret"
+# VerifyPeer false
+# VerifyHost false
# CACert "/etc/ssl/ca.crt"
#</Plugin>
#<Plugin "bind">
# URL "http://localhost:8053/"
+#
# OpCodes true
# QTypes true
-#
# ServerStats true
# ZoneMaintStats true
# ResolverStats false
# URL "http://finance.google.com/finance?q=NYSE%3AAMD"
# User "foo"
# Password "bar"
+# VerifyPeer false
+# VerifyHost false
+# CACert "/etc/ssl/ca.crt"
# <Match>
# Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
# DSType "GaugeAverage"
# <Query "num_of_customers">
# Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value \
# FROM customers_tbl"
+# MinVersion 40102
+# MaxVersion 50042
# <Result>
# Type "gauge"
+# InstancePrefix "customer"
# InstancesFrom "c_key"
# ValuesFrom "c_value"
# </Result>
# DriverOption "username" "collectd"
# DriverOption "password" "secret"
# DriverOption "dbname" "custdb0"
-# #SelectDB "custdb0"
+# SelectDB "custdb0"
# Query "num_of_customers"
-# #Query "..."
+# Query "..."
# </Database>
#</Plugin>
#</Plugin>
#<Plugin email>
+# SocketFile "/var/run/collectd-email"
# SocketGroup "collectd"
# SocketPerms "0770"
# MaxConns 5
# Name "*.conf"
# MTime "-5m"
# Size "+10k"
+# Recursive true
# </Directory>
#</Plugin>
# IgnoreSelected false
#</Plugin>
+#<Plugin ipmi>
+# Sensor "some_sensor"
+# Sensor "another_one"
+# IgnoreSelected false
+# NotifySensorAdd false
+# NotifySensorRemove true
+# NotifySensorNotPresent false
+#</Plugin>
+
#<Plugin iptables>
# Chain "table" "chain"
#</Plugin>
#</Plugin>
#<Plugin mysql>
-# Host "database.serv.er"
-# User "db_user"
-# Password "secret"
-# Database "db_name"
+# <Database db_name>
+# Host "database.serv.er"
+# Port "3306"
+# User "db_user"
+# Password "secret"
+# Database "db_name"
+# MasterStats true
+# </Database>
+#
+# <Database db_name2>
+# Host "localhost"
+# Socket "/var/run/mysql/mysqld.sock"
+# SlaveStats true
+# SlaveNotifications true
+# </Database>
#</Plugin>
#<Plugin netlink>
#<Plugin ping>
# Host "host.foo.bar"
# Host "host.baz.qux"
+# Interval 1.0
+# Timeout 0.9
# TTL 255
#</Plugin>
#<Plugin postgresql>
# <Query magic>
-# Query "SELECT magic, spells FROM wizard WHERE host = $1;"
+# Statement "SELECT magic FROM wizard WHERE host = $1;"
# Param hostname
-# Column gauge magic
-# Column counter spells
+#
+# <Result>
+# Type gauge
+# InstancePrefix "magic"
+# ValuesFrom "magic"
+# </Result>
+# </Query>
+#
+# <Query rt36_tickets>
+# Statement "SELECT COUNT(type) AS count, type \
+# FROM (SELECT CASE \
+# WHEN resolved = 'epoch' THEN 'open' \
+# ELSE 'resolved' END AS type \
+# FROM tickets) type \
+# GROUP BY type;"
+#
+# <Result>
+# Type counter
+# InstancePrefix "rt36_tickets"
+# InstancesFrom "type"
+# ValuesFrom "count"
+# </Result>
# </Query>
#
# <Database foo>
#
# <Database bar>
# Service "service_name"
+#
+# Query backend # predefined
+# Query rt36_tickets
# </Database>
#</Plugin>
#<Plugin processes>
# Process "name"
+# ProcessMatch "foobar" "/usr/bin/perl foobar\\.pl.*"
#</Plugin>
#<Plugin protocols>
DataDir "/var/lib/collectd/rrd"
# CacheTimeout 120
# CacheFlush 900
+# WritesPerSecond 30
#
# The following settings are rather advanced
# and should usually not be touched:
# Type "voltage"
# Table false
# Instance "input_line1"
+# Scale 0.1
# Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
# </Data>
# <Data "hr_users">
# Type "users"
# Table false
# Instance ""
+# Shift -1
# Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
# </Data>
# <Data "std_traffic">
# Type "if_octets"
# Table true
+# InstancePrefix "traffic"
# Instance "IF-MIB::ifDescr"
# Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
# </Data>