github.com/macb/etcd@v0.3.1-0.20140227003422-a60481c6b1a0/contrib/collectd/collectd.conf (about)

     1  # Config file for collectd(1).
     2  #
     3  # Some plugins need additional configuration and are disabled by default.
     4  # Please read collectd.conf(5) for details.
     5  #
     6  # You should also read /usr/share/doc/collectd-core/README.Debian.plugins
     7  # before enabling any more plugins.
     8  
     9  #Hostname "localhost"
    10  #FQDNLookup true
    11  #BaseDir "/var/lib/collectd"
    12  #PluginDir "/usr/lib/collectd"
    13  #TypesDB "/usr/share/collectd/types.db" "/etc/collectd/my_types.db"
    14  #Interval 10
    15  #Timeout 2
    16  #ReadThreads 5
    17  
    18  LoadPlugin logfile
    19  #LoadPlugin syslog
    20  
    21  <Plugin logfile>
    22  	LogLevel "info"
    23  	File STDOUT
    24  	Timestamp true
    25  	PrintSeverity false
    26  </Plugin>
    27  
    28  #<Plugin syslog>
    29  #	LogLevel info
    30  #</Plugin>
    31  
    32  #LoadPlugin amqp
    33  #LoadPlugin apache
    34  #LoadPlugin apcups
    35  #LoadPlugin ascent
    36  #LoadPlugin battery
    37  #LoadPlugin bind
    38  #LoadPlugin conntrack
    39  #LoadPlugin contextswitch
    40  LoadPlugin cpu
    41  #LoadPlugin cpufreq
    42  #LoadPlugin csv
    43  #LoadPlugin curl
    44  #LoadPlugin curl_json
    45  #LoadPlugin curl_xml
    46  #LoadPlugin dbi
    47  LoadPlugin df
    48  #LoadPlugin disk
    49  #LoadPlugin dns
    50  #LoadPlugin email
    51  #LoadPlugin entropy
    52  #LoadPlugin ethstat
    53  #LoadPlugin exec
    54  #LoadPlugin filecount
    55  #LoadPlugin fscache
    56  #LoadPlugin gmond
    57  #LoadPlugin hddtemp
    58  #LoadPlugin interface
    59  #LoadPlugin ipmi
    60  #LoadPlugin iptables
    61  #LoadPlugin ipvs
    62  #LoadPlugin irq
    63  #LoadPlugin java
    64  #LoadPlugin libvirt
    65  #LoadPlugin load
    66  #LoadPlugin madwifi
    67  #LoadPlugin mbmon
    68  #LoadPlugin md
    69  #LoadPlugin memcachec
    70  #LoadPlugin memcached
    71  LoadPlugin memory
    72  #LoadPlugin multimeter
    73  #LoadPlugin mysql
    74  #LoadPlugin netlink
    75  #LoadPlugin network
    76  #LoadPlugin nfs
    77  #LoadPlugin nginx
    78  #LoadPlugin notify_desktop
    79  #LoadPlugin notify_email
    80  #LoadPlugin ntpd
    81  #LoadPlugin numa
    82  #LoadPlugin nut
    83  #LoadPlugin olsrd
    84  #LoadPlugin openvpn
    85  #<LoadPlugin perl>
    86  #	Globals true
    87  #</LoadPlugin>
    88  #LoadPlugin pinba
    89  #LoadPlugin ping
    90  #LoadPlugin postgresql
    91  #LoadPlugin powerdns
    92  #LoadPlugin processes
    93  #LoadPlugin protocols
    94  #<LoadPlugin python>
    95  #	Globals true
    96  #</LoadPlugin>
    97  #LoadPlugin rrdcached
    98  #LoadPlugin rrdtool
    99  #LoadPlugin sensors
   100  #LoadPlugin serial
   101  #LoadPlugin snmp
   102  #LoadPlugin swap
   103  #LoadPlugin table
   104  #LoadPlugin tail
   105  LoadPlugin tcpconns
   106  #LoadPlugin teamspeak2
   107  #LoadPlugin ted
   108  #LoadPlugin thermal
   109  #LoadPlugin tokyotyrant
   110  #LoadPlugin unixsock
   111  #LoadPlugin uptime
   112  #LoadPlugin users
   113  #LoadPlugin uuid
   114  #LoadPlugin varnish
   115  #LoadPlugin vmem
   116  #LoadPlugin vserver
   117  #LoadPlugin wireless
   118  LoadPlugin write_graphite
   119  #LoadPlugin write_http
   120  #LoadPlugin write_mongodb
   121  
   122  #<Plugin amqp>
   123  #	<Publish "name">
   124  #		Host "localhost"
   125  #		Port "5672"
   126  #		VHost "/"
   127  #		User "guest"
   128  #		Password "guest"
   129  #		Exchange "amq.fanout"
   130  #		RoutingKey "collectd"
   131  #		Persistent false
   132  #		StoreRates false
   133  #	</Publish>
   134  #</Plugin>
   135  
   136  #<Plugin apache>
   137  #	<Instance "foo">
   138  #		URL "http://localhost/server-status?auto"
   139  #		User "www-user"
   140  #		Password "secret"
   141  #		VerifyPeer false
   142  #		VerifyHost false
   143  #		CACert "/etc/ssl/ca.crt"
   144  #		Server "apache"
   145  #	</Instance>
   146  #
   147  #	<Instance "bar">
   148  #		URL "http://some.domain.tld/status?auto"
   149  #		Host "some.domain.tld"
   150  #		Server "lighttpd"
   151  #	</Instance>
   152  #</Plugin>
   153  
   154  #<Plugin apcups>
   155  #	Host "localhost"
   156  #	Port "3551"
   157  #</Plugin>
   158  
   159  #<Plugin ascent>
   160  #	URL "http://localhost/ascent/status/"
   161  #	User "www-user"
   162  #	Password "secret"
   163  #	VerifyPeer false
   164  #	VerifyHost false
   165  #	CACert "/etc/ssl/ca.crt"
   166  #</Plugin>
   167  
   168  #<Plugin "bind">
   169  #	URL "http://localhost:8053/"
   170  #
   171  #	ParseTime false
   172  #
   173  #	OpCodes true
   174  #	QTypes true
   175  #	ServerStats true
   176  #	ZoneMaintStats true
   177  #	ResolverStats false
   178  #	MemoryStats true
   179  #
   180  #	<View "_default">
   181  #		QTypes true
   182  #		ResolverStats true
   183  #		CacheRRSets true
   184  #
   185  #		Zone "127.in-addr.arpa/IN"
   186  #	</View>
   187  #</Plugin>
   188  
   189  #<Plugin csv>
   190  #	DataDir "/var/lib/collectd/csv"
   191  #	StoreRates false
   192  #</Plugin>
   193  
   194  #<Plugin curl>
   195  #	<Page "stock_quotes">
   196  #		URL "http://finance.google.com/finance?q=NYSE%3AAMD"
   197  #		User "foo"
   198  #		Password "bar"
   199  #		VerifyPeer false
   200  #		VerifyHost false
   201  #		CACert "/etc/ssl/ca.crt"
   202  #		MeasureResponseTime false
   203  #		<Match>
   204  #			Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
   205  #			DSType "GaugeAverage"
   206  #			Type "stock_value"
   207  #			Instance "AMD"
   208  #		</Match>
   209  #	</Page>
   210  #</Plugin>
   211  
   212  #<Plugin curl_json>
   213  ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
   214  #  <URL "http://localhost:5984/_stats">
   215  #    Instance "httpd"
   216  #    <Key "httpd/requests/count">
   217  #      Type "http_requests"
   218  #    </Key>
   219  #
   220  #    <Key "httpd_request_methods/*/count">
   221  #      Type "http_request_methods"
   222  #    </Key>
   223  #
   224  #    <Key "httpd_status_codes/*/count">
   225  #      Type "http_response_codes"
   226  #    </Key>
   227  #  </URL>
   228  ## Database status metrics:
   229  #  <URL "http://localhost:5984/_all_dbs">
   230  #    Instance "dbs"
   231  #    <Key "*/doc_count">
   232  #      Type "gauge"
   233  #    </Key>
   234  #    <Key "*/doc_del_count">
   235  #      Type "counter"
   236  #    </Key>
   237  #    <Key "*/disk_size">
   238  #      Type "bytes"
   239  #    </Key>
   240  #  </URL>
   241  #</Plugin>
   242  
   243  #<Plugin "curl_xml">
   244  #	<URL "http://localhost/stats.xml">
   245  #		Host "my_host"
   246  #		Instance "some_instance"
   247  #		User "collectd"
   248  #		Password "thaiNg0I"
   249  #		VerifyPeer true
   250  #		VerifyHost true
   251  #		CACert "/path/to/ca.crt"
   252  #
   253  #		<XPath "table[@id=\"magic_level\"]/tr">
   254  #			Type "magic_level"
   255  #			InstancePrefix "prefix-"
   256  #			InstanceFrom "td[1]"
   257  #			ValuesFrom "td[2]/span[@class=\"level\"]"
   258  #		</XPath>
   259  #	</URL>
   260  #</Plugin>
   261  
   262  #<Plugin dbi>
   263  #	<Query "num_of_customers">
   264  #		Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value \
   265  #				FROM customers_tbl"
   266  #		MinVersion 40102
   267  #		MaxVersion 50042
   268  #		<Result>
   269  #			Type "gauge"
   270  #			InstancePrefix "customer"
   271  #			InstancesFrom "c_key"
   272  #			ValuesFrom "c_value"
   273  #		</Result>
   274  #	</Query>
   275  #
   276  #	<Database "customers_db">
   277  #		Driver "mysql"
   278  #		DriverOption "host" "localhost"
   279  #		DriverOption "username" "collectd"
   280  #		DriverOption "password" "secret"
   281  #		DriverOption "dbname" "custdb0"
   282  #		SelectDB "custdb0"
   283  #		Query "num_of_customers"
   284  #		Query "..."
   285  #	</Database>
   286  #</Plugin>
   287  
   288  #<Plugin df>
   289  #	Device "/dev/sda1"
   290  #	Device "192.168.0.2:/mnt/nfs"
   291  #	MountPoint "/home"
   292  #	FSType "ext3"
   293  #	IgnoreSelected false
   294  #	ReportByDevice false
   295  #	ReportReserved false
   296  #	ReportInodes false
   297  #</Plugin>
   298  
   299  #<Plugin disk>
   300  #	Disk "hda"
   301  #	Disk "/sda[23]/"
   302  #	IgnoreSelected false
   303  #</Plugin>
   304  
   305  #<Plugin dns>
   306  #	Interface "eth0"
   307  #	IgnoreSource "192.168.0.1"
   308  #	SelectNumericQueryTypes false
   309  #</Plugin>
   310  
   311  #<Plugin email>
   312  #	SocketFile "/var/run/collectd-email"
   313  #	SocketGroup "collectd"
   314  #	SocketPerms "0770"
   315  #	MaxConns 5
   316  #</Plugin>
   317  
   318  #<Plugin ethstat>
   319  #	Interface "eth0"
   320  #	Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
   321  #	Map "multicast" "if_multicast"
   322  #	MappedOnly false
   323  #</Plugin>
   324  
   325  #<Plugin exec>
   326  #	Exec user "/path/to/exec"
   327  #	Exec "user:group" "/path/to/exec"
   328  #	NotificationExec user "/path/to/exec"
   329  #</Plugin>
   330  
   331  #<Plugin filecount>
   332  #	<Directory "/path/to/dir">
   333  #		Instance "foodir"
   334  #		Name "*.conf"
   335  #		MTime "-5m"
   336  #		Size "+10k"
   337  #		Recursive true
   338  #		IncludeHidden false
   339  #	</Directory>
   340  #</Plugin>
   341  
   342  #<Plugin gmond>
   343  #	MCReceiveFrom "239.2.11.71" "8649"
   344  #
   345  #	<Metric "swap_total">
   346  #		Type "swap"
   347  #		TypeInstance "total"
   348  #		DataSource "value"
   349  #	</Metric>
   350  #
   351  #	<Metric "swap_free">
   352  #		Type "swap"
   353  #		TypeInstance "free"
   354  #		DataSource "value"
   355  #	</Metric>
   356  #</Plugin>
   357  
   358  #<Plugin hddtemp>
   359  #	Host "127.0.0.1"
   360  #	Port 7634
   361  #</Plugin>
   362  
   363  #<Plugin interface>
   364  #	Interface "eth0"
   365  #	IgnoreSelected false
   366  #</Plugin>
   367  
   368  #<Plugin ipmi>
   369  #	Sensor "some_sensor"
   370  #	Sensor "another_one"
   371  #	IgnoreSelected false
   372  #	NotifySensorAdd false
   373  #	NotifySensorRemove true
   374  #	NotifySensorNotPresent false
   375  #</Plugin>
   376  
   377  #<Plugin iptables>
   378  #	Chain "table" "chain"
   379  #</Plugin>
   380  
   381  #<Plugin irq>
   382  #	Irq 7
   383  #	Irq 8
   384  #	Irq 9
   385  #	IgnoreSelected true
   386  #</Plugin>
   387  
   388  #<Plugin java>
   389  #	JVMArg "-verbose:jni"
   390  #	JVMArg "-Djava.class.path=/usr/share/collectd/java/collectd-api.jar"
   391  #
   392  #	LoadPlugin "org.collectd.java.GenericJMX"
   393  #	<Plugin "GenericJMX">
   394  #		# See /usr/share/doc/collectd/examples/GenericJMX.conf
   395  #		# for an example config.
   396  #	</Plugin>
   397  #</Plugin>
   398  
   399  #<Plugin libvirt>
   400  #	Connection "xen:///"
   401  #	RefreshInterval 60
   402  #	Domain "name"
   403  #	BlockDevice "name:device"
   404  #	InterfaceDevice "name:device"
   405  #	IgnoreSelected false
   406  #	HostnameFormat name
   407  #	InterfaceFormat name
   408  #</Plugin>
   409  
   410  #<Plugin madwifi>
   411  #	Interface "wlan0"
   412  #	IgnoreSelected false
   413  #	Source "SysFS"
   414  #	WatchSet "None"
   415  #	WatchAdd "node_octets"
   416  #	WatchAdd "node_rssi"
   417  #	WatchAdd "is_rx_acl"
   418  #	WatchAdd "is_scan_active"
   419  #</Plugin>
   420  
   421  #<Plugin mbmon>
   422  #	Host "127.0.0.1"
   423  #	Port 411
   424  #</Plugin>
   425  
   426  #<Plugin md>
   427  #	Device "/dev/md0"
   428  #	IgnoreSelected false
   429  #</Plugin>
   430  
   431  #<Plugin memcachec>
   432  #	<Page "plugin_instance">
   433  #		Server "localhost"
   434  #		Key "page_key"
   435  #		<Match>
   436  #			Regex "(\\d+) bytes sent"
   437  #			ExcludeRegex "<lines to be excluded>"
   438  #			DSType CounterAdd
   439  #			Type "ipt_octets"
   440  #			Instance "type_instance"
   441  #		</Match>
   442  #	</Page>
   443  #</Plugin>
   444  
   445  #<Plugin memcached>
   446  #	Socket "/var/run/memcached.sock"
   447  # or:
   448  #	Host "127.0.0.1"
   449  #	Port "11211"
   450  #</Plugin>
   451  
   452  #<Plugin mysql>
   453  #	<Database db_name>
   454  #		Host "database.serv.er"
   455  #		Port "3306"
   456  #		User "db_user"
   457  #		Password "secret"
   458  #		Database "db_name"
   459  #		MasterStats true
   460  #	</Database>
   461  #
   462  #	<Database db_name2>
   463  #		Host "localhost"
   464  #		Socket "/var/run/mysql/mysqld.sock"
   465  #		SlaveStats true
   466  #		SlaveNotifications true
   467  #	</Database>
   468  #</Plugin>
   469  
   470  #<Plugin netlink>
   471  #	Interface "All"
   472  #	VerboseInterface "All"
   473  #	QDisc "eth0" "pfifo_fast-1:0"
   474  #	Class "ppp0" "htb-1:10"
   475  #	Filter "ppp0" "u32-1:0"
   476  #	IgnoreSelected false
   477  #</Plugin>
   478  
   479  #<Plugin network>
   480  #	# client setup:
   481  #	Server "ff18::efc0:4a42" "25826"
   482  #	<Server "239.192.74.66" "25826">
   483  #		SecurityLevel Encrypt
   484  #		Username "user"
   485  #		Password "secret"
   486  #		Interface "eth0"
   487  #	</Server>
   488  #	TimeToLive "128"
   489  #
   490  #	# server setup:
   491  #	Listen "0.0.0.0" "25826"
   492  #	<Listen "239.192.74.66" "25826">
   493  #		SecurityLevel Sign
   494  #		AuthFile "/etc/collectd/passwd"
   495  #		Interface "eth0"
   496  #	</Listen>
   497  #	MaxPacketSize 1024
   498  #
   499  #	# proxy setup (client and server as above):
   500  #	Forward true
   501  #
   502  #	# statistics about the network plugin itself
   503  #	ReportStats false
   504  #
   505  #	# "garbage collection"
   506  #	CacheFlush 1800
   507  #</Plugin>
   508  
   509  #<Plugin nginx>
   510  #	URL "http://localhost/status?auto"
   511  #	User "www-user"
   512  #	Password "secret"
   513  #	VerifyPeer false
   514  #	VerifyHost false
   515  #	CACert "/etc/ssl/ca.crt"
   516  #</Plugin>
   517  
   518  #<Plugin notify_desktop>
   519  #	OkayTimeout 1000
   520  #	WarningTimeout 5000
   521  #	FailureTimeout 0
   522  #</Plugin>
   523  
   524  #<Plugin notify_email>
   525  #	SMTPServer "localhost"
   526  #	SMTPPort 25
   527  #	SMTPUser "my-username"
   528  #	SMTPPassword "my-password"
   529  #	From "collectd@main0server.com"
   530  #	# <WARNING/FAILURE/OK> on <hostname>.
   531  #	# Beware! Do not use not more than two placeholders (%)!
   532  #	Subject "[collectd] %s on %s!"
   533  #	Recipient "email1@domain1.net"
   534  #	Recipient "email2@domain2.com"
   535  #</Plugin>
   536  
   537  #<Plugin ntpd>
   538  #	Host "localhost"
   539  #	Port 123
   540  #	ReverseLookups false
   541  #</Plugin>
   542  
   543  #<Plugin nut>
   544  #	UPS "upsname@hostname:port"
   545  #</Plugin>
   546  
   547  #<Plugin olsrd>
   548  #	Host "127.0.0.1"
   549  #	Port "2006"
   550  #	CollectLinks "Summary"
   551  #	CollectRoutes "Summary"
   552  #	CollectTopology "Summary"
   553  #</Plugin>
   554  
   555  #<Plugin openvpn>
   556  #	StatusFile "/etc/openvpn/openvpn-status.log"
   557  #	ImprovedNamingSchema false
   558  #	CollectCompression true
   559  #	CollectIndividualUsers true
   560  #	CollectUserCount false
   561  #</Plugin>
   562  
   563  #<Plugin perl>
   564  #	IncludeDir "/my/include/path"
   565  #	BaseName "Collectd::Plugins"
   566  #	EnableDebugger ""
   567  #	LoadPlugin Monitorus
   568  #	LoadPlugin OpenVZ
   569  #
   570  #	<Plugin foo>
   571  #		Foo "Bar"
   572  #		Qux "Baz"
   573  #	</Plugin>
   574  #</Plugin>
   575  
   576  #<Plugin pinba>
   577  #	Address "::0"
   578  #	Port "30002"
   579  #	<View "name">
   580  #		Host "host name"
   581  #		Server "server name"
   582  #		Script "script name"
   583  #	<View>
   584  #</Plugin>
   585  
   586  #<Plugin ping>
   587  #	Host "host.foo.bar"
   588  #	Host "host.baz.qux"
   589  #	Interval 1.0
   590  #	Timeout 0.9
   591  #	TTL 255
   592  #	SourceAddress "1.2.3.4"
   593  #	Device "eth0"
   594  #	MaxMissed -1
   595  #</Plugin>
   596  
   597  #<Plugin postgresql>
   598  #	<Query magic>
   599  #		Statement "SELECT magic FROM wizard WHERE host = $1;"
   600  #		Param hostname
   601  #
   602  #		<Result>
   603  #			Type gauge
   604  #			InstancePrefix "magic"
   605  #			ValuesFrom "magic"
   606  #		</Result>
   607  #	</Query>
   608  #
   609  #	<Query rt36_tickets>
   610  #		Statement "SELECT COUNT(type) AS count, type \
   611  #		                  FROM (SELECT CASE \
   612  #		                               WHEN resolved = 'epoch' THEN 'open' \
   613  #		                               ELSE 'resolved' END AS type \
   614  #		                               FROM tickets) type \
   615  #		                  GROUP BY type;"
   616  #
   617  #		<Result>
   618  #			Type counter
   619  #			InstancePrefix "rt36_tickets"
   620  #			InstancesFrom "type"
   621  #			ValuesFrom "count"
   622  #		</Result>
   623  #	</Query>
   624  #
   625  #	<Database foo>
   626  #		Host "hostname"
   627  #		Port 5432
   628  #		User "username"
   629  #		Password "secret"
   630  #
   631  #		SSLMode "prefer"
   632  #		KRBSrvName "kerberos_service_name"
   633  #
   634  #		Query magic
   635  #	</Database>
   636  #
   637  #	<Database bar>
   638  #		Interval 60
   639  #		Service "service_name"
   640  #
   641  #		Query backend # predefined
   642  #		Query rt36_tickets
   643  #	</Database>
   644  #</Plugin>
   645  
   646  #<Plugin powerdns>
   647  #	<Server "server_name">
   648  #		Collect "latency"
   649  #		Collect "udp-answers" "udp-queries"
   650  #		Socket "/var/run/pdns.controlsocket"
   651  #	</Server>
   652  #	<Recursor "recursor_name">
   653  #		Collect "questions"
   654  #		Collect "cache-hits" "cache-misses"
   655  #		Socket "/var/run/pdns_recursor.controlsocket"
   656  #	</Recursor>
   657  #	LocalSocket "/opt/collectd/var/run/collectd-powerdns"
   658  #</Plugin>
   659  
   660  #<Plugin processes>
   661  #	Process "name"
   662  #	ProcessMatch "foobar" "/usr/bin/perl foobar\\.pl.*"
   663  #</Plugin>
   664  
   665  #<Plugin protocols>
   666  #	Value "/^Tcp:/"
   667  #	IgnoreSelected false
   668  #</Plugin>
   669  
   670  #<Plugin python>
   671  #	ModulePath "/path/to/your/python/modules"
   672  #	LogTraces true
   673  #	Interactive true
   674  #	Import "spam"
   675  #
   676  #	<Module spam>
   677  #		spam "wonderful" "lovely"
   678  #	</Module>
   679  #</Plugin>
   680  
   681  #<Plugin rrdcached>
   682  #	DaemonAddress "unix:/var/run/rrdcached.sock"
   683  #	DataDir "/var/lib/rrdcached/db/collectd"
   684  #	CreateFiles true
   685  #	CollectStatistics true
   686  #</Plugin>
   687  
   688  <Plugin rrdtool>
   689  	DataDir "/var/lib/collectd/rrd"
   690  #	CacheTimeout 120
   691  #	CacheFlush 900
   692  #	WritesPerSecond 30
   693  #	RandomTimeout 0
   694  #
   695  # The following settings are rather advanced
   696  # and should usually not be touched:
   697  #	StepSize 10
   698  #	HeartBeat 20
   699  #	RRARows 1200
   700  #	RRATimespan 158112000
   701  #	XFF 0.1
   702  </Plugin>
   703  
   704  #<Plugin sensors>
   705  #	SensorConfigFile "/etc/sensors3.conf"
   706  #	Sensor "it8712-isa-0290/temperature-temp1"
   707  #	Sensor "it8712-isa-0290/fanspeed-fan3"
   708  #	Sensor "it8712-isa-0290/voltage-in8"
   709  #	IgnoreSelected false
   710  #</Plugin>
   711  
   712  # See /usr/share/doc/collectd/examples/snmp-data.conf.gz for a
   713  # comprehensive sample configuration.
   714  #<Plugin snmp>
   715  #	<Data "powerplus_voltge_input">
   716  #		Type "voltage"
   717  #		Table false
   718  #		Instance "input_line1"
   719  #		Scale 0.1
   720  #		Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
   721  #	</Data>
   722  #	<Data "hr_users">
   723  #		Type "users"
   724  #		Table false
   725  #		Instance ""
   726  #		Shift -1
   727  #		Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
   728  #	</Data>
   729  #	<Data "std_traffic">
   730  #		Type "if_octets"
   731  #		Table true
   732  #		InstancePrefix "traffic"
   733  #		Instance "IF-MIB::ifDescr"
   734  #		Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
   735  #	</Data>
   736  #
   737  #	<Host "some.switch.mydomain.org">
   738  #		Address "192.168.0.2"
   739  #		Version 1
   740  #		Community "community_string"
   741  #		Collect "std_traffic"
   742  #		Inverval 120
   743  #	</Host>
   744  #	<Host "some.server.mydomain.org">
   745  #		Address "192.168.0.42"
   746  #		Version 2
   747  #		Community "another_string"
   748  #		Collect "std_traffic" "hr_users"
   749  #	</Host>
   750  #	<Host "some.ups.mydomain.org">
   751  #		Address "192.168.0.3"
   752  #		Version 1
   753  #		Community "more_communities"
   754  #		Collect "powerplus_voltge_input"
   755  #		Interval 300
   756  #	</Host>
   757  #</Plugin>
   758  
   759  #<Plugin swap>
   760  #	ReportByDevice false
   761  #</Plugin>
   762  
   763  #<Plugin table>
   764  #	<Table "/proc/slabinfo">
   765  #		Instance "slabinfo"
   766  #		Separator " "
   767  #		<Result>
   768  #			Type gauge
   769  #			InstancePrefix "active_objs"
   770  #			InstancesFrom 0
   771  #			ValuesFrom 1
   772  #		</Result>
   773  #		<Result>
   774  #			Type gauge
   775  #			InstancePrefix "objperslab"
   776  #			InstancesFrom 0
   777  #			ValuesFrom 4
   778  #		</Result>
   779  #	</Table>
   780  #</Plugin>
   781  
   782  #<Plugin "tail">
   783  #	<File "/var/log/exim4/mainlog">
   784  #		Instance "exim"
   785  #		<Match>
   786  #			Regex "S=([1-9][0-9]*)"
   787  #			DSType "CounterAdd"
   788  #			Type "ipt_bytes"
   789  #			Instance "total"
   790  #		</Match>
   791  #		<Match>
   792  #			Regex "\\<R=local_user\\>"
   793  #			ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
   794  #			DSType "CounterInc"
   795  #			Type "counter"
   796  #			Instance "local_user"
   797  #		</Match>
   798  #	</File>
   799  #</Plugin>
   800  
   801  <Plugin tcpconns>
   802  	LocalPort "4001"
   803  	LocalPort "7001"
   804  </Plugin>
   805  
   806  #<Plugin teamspeak2>
   807  #	Host "127.0.0.1"
   808  #	Port "51234"
   809  #	Server "8767"
   810  #</Plugin>
   811  
   812  #<Plugin ted>
   813  #	Device "/dev/ttyUSB0"
   814  #	Retries 0
   815  #</Plugin>
   816  
   817  #<Plugin thermal>
   818  #	ForceUseProcfs false
   819  #	Device "THRM"
   820  #	IgnoreSelected false
   821  #</Plugin>
   822  
   823  #<Plugin tokyotyrant>
   824  #	Host "localhost"
   825  #	Port "1978"
   826  #</Plugin>
   827  
   828  #<Plugin unixsock>
   829  #	SocketFile "/var/run/collectd-unixsock"
   830  #	SocketGroup "collectd"
   831  #	SocketPerms "0660"
   832  #	DeleteSocket false
   833  #</Plugin>
   834  
   835  #<Plugin uuid>
   836  #	UUIDFile "/etc/uuid"
   837  #</Plugin>
   838  
   839  #<Plugin varnish>
   840  #	<Instance>
   841  #		CollectCache true
   842  #		CollectBackend true
   843  #		CollectConnections true
   844  #		CollectSHM true
   845  #		CollectESI false
   846  #		CollectFetch false
   847  #		CollectHCB false
   848  #		CollectSMA false
   849  #		CollectSMS false
   850  #		CollectSM false
   851  #		CollectTotals false
   852  #		CollectWorkers false
   853  #	</Instance>
   854  #
   855  #	<Instance "myinstance">
   856  #		CollectCache true
   857  #	</Instance>
   858  #</Plugin>
   859  
   860  #<Plugin vmem>
   861  #	Verbose false
   862  #</Plugin>
   863  
   864  #<Plugin write_graphite>
   865  #	<Carbon>
   866  #		Host "127.0.01"
   867  #		Port "2003"
   868  #		Prefix "collectd"
   869  #		Postfix "collectd"
   870  #		StoreRates false
   871  #		AlwaysAppendDS false
   872  #		EscapeCharacter "_"
   873  #	</Carbon>
   874  #</Plugin>
   875  
   876  #<Plugin write_http>
   877  #	<URL "http://example.com/collectd-post">
   878  #		User "collectd"
   879  #		Password "secret"
   880  #		VerifyPeer true
   881  #		VerifyHost true
   882  #		CACert "/etc/ssl/ca.crt"
   883  #		Format "Command"
   884  #		StoreRates false
   885  #	</URL>
   886  #</Plugin>
   887  
   888  #<Plugin write_mongodb>
   889  #	<Node "example">
   890  #		Host "localhost"
   891  #		Port "27017"
   892  #		Timeout 1000
   893  #		StoreRates false
   894  #	<Node>
   895  #</Plugin>
   896  
   897  Include "/etc/collectd/filters.conf"
   898  Include "/etc/collectd/thresholds.conf"