collectd.conf.in: remove extraneous pound sign
[collectd.git] / src / collectd.conf.in
1 #
2 # Config file for collectd(1).
3 # Please read collectd.conf(5) for a list of options.
4 # http://collectd.org/
5 #
6
7 ##############################################################################
8 # Global                                                                     #
9 #----------------------------------------------------------------------------#
10 # Global settings for the daemon.                                            #
11 ##############################################################################
12
13 #Hostname    "localhost"
14 #FQDNLookup   true
15 #BaseDir     "@localstatedir@/lib/@PACKAGE_NAME@"
16 #PIDFile     "@localstatedir@/run/@PACKAGE_NAME@.pid"
17 #PluginDir   "@libdir@/@PACKAGE_NAME@"
18 #TypesDB     "@prefix@/share/@PACKAGE_NAME@/types.db"
19
20 #----------------------------------------------------------------------------#
21 # When enabled, plugins are loaded automatically with the default options    #
22 # when an appropriate <Plugin ...> block is encountered.                     #
23 # Disabled by default.                                                       #
24 #----------------------------------------------------------------------------#
25 #AutoLoadPlugin false
26
27 #----------------------------------------------------------------------------#
28 # When enabled, internal statistics are collected, using "collectd" as the   #
29 # plugin name.                                                               #
30 # Disabled by default.                                                       #
31 #----------------------------------------------------------------------------#
32 #CollectInternalStats false
33
34 #----------------------------------------------------------------------------#
35 # Interval at which to query values. This may be overwritten on a per-plugin #
36 # base by using the 'Interval' option of the LoadPlugin block:               #
37 #   <LoadPlugin foo>                                                         #
38 #       Interval 60                                                          #
39 #   </LoadPlugin>                                                            #
40 #----------------------------------------------------------------------------#
41 #Interval     10
42
43 #MaxReadInterval 86400
44 #Timeout         2
45 #ReadThreads     5
46 #WriteThreads    5
47
48 # Limit the size of the write queue. Default is no limit. Setting up a limit is
49 # recommended for servers handling a high volume of traffic.
50 #WriteQueueLimitHigh 1000000
51 #WriteQueueLimitLow   800000
52
53 ##############################################################################
54 # Logging                                                                    #
55 #----------------------------------------------------------------------------#
56 # Plugins which provide logging functions should be loaded first, so log     #
57 # messages generated when loading or configuring other plugins can be        #
58 # accessed.                                                                  #
59 ##############################################################################
60
61 @LOAD_PLUGIN_SYSLOG@LoadPlugin syslog
62 @LOAD_PLUGIN_LOGFILE@LoadPlugin logfile
63 @LOAD_PLUGIN_LOG_LOGSTASH@LoadPlugin log_logstash
64
65 #<Plugin logfile>
66 #       LogLevel @DEFAULT_LOG_LEVEL@
67 #       File STDOUT
68 #       Timestamp true
69 #       PrintSeverity false
70 #</Plugin>
71
72 #<Plugin log_logstash>
73 #       LogLevel @DEFAULT_LOG_LEVEL@
74 #       File "@localstatedir@/log/@PACKAGE_NAME@.json.log"
75 #</Plugin>
76
77 #<Plugin syslog>
78 #       LogLevel @DEFAULT_LOG_LEVEL@
79 #</Plugin>
80
81 ##############################################################################
82 # LoadPlugin section                                                         #
83 #----------------------------------------------------------------------------#
84 # Lines beginning with a single `#' belong to plugins which have been built  #
85 # but are disabled by default.                                               #
86 #                                                                            #
87 # Lines beginning with `##' belong to plugins which have not been built due  #
88 # to missing dependencies or because they have been deactivated explicitly.  #
89 ##############################################################################
90
91 #@BUILD_PLUGIN_AGGREGATION_TRUE@LoadPlugin aggregation
92 #@BUILD_PLUGIN_AMQP_TRUE@LoadPlugin amqp
93 #@BUILD_PLUGIN_APACHE_TRUE@LoadPlugin apache
94 #@BUILD_PLUGIN_APCUPS_TRUE@LoadPlugin apcups
95 #@BUILD_PLUGIN_APPLE_SENSORS_TRUE@LoadPlugin apple_sensors
96 #@BUILD_PLUGIN_AQUAERO_TRUE@LoadPlugin aquaero
97 #@BUILD_PLUGIN_ASCENT_TRUE@LoadPlugin ascent
98 #@BUILD_PLUGIN_BAROMETER_TRUE@LoadPlugin barometer
99 #@BUILD_PLUGIN_BATTERY_TRUE@LoadPlugin battery
100 #@BUILD_PLUGIN_BIND_TRUE@LoadPlugin bind
101 #@BUILD_PLUGIN_CEPH_TRUE@LoadPlugin ceph
102 #@BUILD_PLUGIN_CGROUPS_TRUE@LoadPlugin cgroups
103 #@BUILD_PLUGIN_CONNTRACK_TRUE@LoadPlugin conntrack
104 #@BUILD_PLUGIN_CONTEXTSWITCH_TRUE@LoadPlugin contextswitch
105 @BUILD_PLUGIN_CPU_TRUE@@BUILD_PLUGIN_CPU_TRUE@LoadPlugin cpu
106 #@BUILD_PLUGIN_CPUFREQ_TRUE@LoadPlugin cpufreq
107 @LOAD_PLUGIN_CSV@LoadPlugin csv
108 #@BUILD_PLUGIN_CURL_TRUE@LoadPlugin curl
109 #@BUILD_PLUGIN_CURL_JSON_TRUE@LoadPlugin curl_json
110 #@BUILD_PLUGIN_CURL_XML_TRUE@LoadPlugin curl_xml
111 #@BUILD_PLUGIN_DBI_TRUE@LoadPlugin dbi
112 #@BUILD_PLUGIN_DF_TRUE@LoadPlugin df
113 #@BUILD_PLUGIN_DISK_TRUE@LoadPlugin disk
114 #@BUILD_PLUGIN_DNS_TRUE@LoadPlugin dns
115 #@BUILD_PLUGIN_DRBD_TRUE@LoadPlugin drbd
116 #@BUILD_PLUGIN_EMAIL_TRUE@LoadPlugin email
117 #@BUILD_PLUGIN_ENTROPY_TRUE@LoadPlugin entropy
118 #@BUILD_PLUGIN_ETHSTAT_TRUE@LoadPlugin ethstat
119 #@BUILD_PLUGIN_EXEC_TRUE@LoadPlugin exec
120 #@BUILD_PLUGIN_FHCOUNT_TRUE@LoadPlugin fhcount
121 #@BUILD_PLUGIN_FILECOUNT_TRUE@LoadPlugin filecount
122 #@BUILD_PLUGIN_FSCACHE_TRUE@LoadPlugin fscache
123 #@BUILD_PLUGIN_GMOND_TRUE@LoadPlugin gmond
124 #@BUILD_PLUGIN_HDDTEMP_TRUE@LoadPlugin hddtemp
125 @BUILD_PLUGIN_INTERFACE_TRUE@@BUILD_PLUGIN_INTERFACE_TRUE@LoadPlugin interface
126 #@BUILD_PLUGIN_IPC_TRUE@LoadPlugin ipc
127 #@BUILD_PLUGIN_IPMI_TRUE@LoadPlugin ipmi
128 #@BUILD_PLUGIN_IPTABLES_TRUE@LoadPlugin iptables
129 #@BUILD_PLUGIN_IPVS_TRUE@LoadPlugin ipvs
130 #@BUILD_PLUGIN_IRQ_TRUE@LoadPlugin irq
131 #@BUILD_PLUGIN_JAVA_TRUE@LoadPlugin java
132 @BUILD_PLUGIN_LOAD_TRUE@@BUILD_PLUGIN_LOAD_TRUE@LoadPlugin load
133 #@BUILD_PLUGIN_LPAR_TRUE@LoadPlugin lpar
134 #@BUILD_PLUGIN_LVM_TRUE@LoadPlugin lvm
135 #@BUILD_PLUGIN_MADWIFI_TRUE@LoadPlugin madwifi
136 #@BUILD_PLUGIN_MBMON_TRUE@LoadPlugin mbmon
137 #@BUILD_PLUGIN_MD_TRUE@LoadPlugin md
138 #@BUILD_PLUGIN_MEMCACHEC_TRUE@LoadPlugin memcachec
139 #@BUILD_PLUGIN_MEMCACHED_TRUE@LoadPlugin memcached
140 @BUILD_PLUGIN_MEMORY_TRUE@@BUILD_PLUGIN_MEMORY_TRUE@LoadPlugin memory
141 #@BUILD_PLUGIN_MIC_TRUE@LoadPlugin mic
142 #@BUILD_PLUGIN_MODBUS_TRUE@LoadPlugin modbus
143 #@BUILD_PLUGIN_MULTIMETER_TRUE@LoadPlugin multimeter
144 #@BUILD_PLUGIN_MYSQL_TRUE@LoadPlugin mysql
145 #@BUILD_PLUGIN_NETAPP_TRUE@LoadPlugin netapp
146 #@BUILD_PLUGIN_NETLINK_TRUE@LoadPlugin netlink
147 @LOAD_PLUGIN_NETWORK@LoadPlugin network
148 #@BUILD_PLUGIN_NFS_TRUE@LoadPlugin nfs
149 #@BUILD_PLUGIN_NGINX_TRUE@LoadPlugin nginx
150 #@BUILD_PLUGIN_NOTIFY_DESKTOP_TRUE@LoadPlugin notify_desktop
151 #@BUILD_PLUGIN_NOTIFY_EMAIL_TRUE@LoadPlugin notify_email
152 #@BUILD_PLUGIN_NTPD_TRUE@LoadPlugin ntpd
153 #@BUILD_PLUGIN_NUMA_TRUE@LoadPlugin numa
154 #@BUILD_PLUGIN_NUT_TRUE@LoadPlugin nut
155 #@BUILD_PLUGIN_OLSRD_TRUE@LoadPlugin olsrd
156 #@BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire
157 #@BUILD_PLUGIN_OPENLDAP_TRUE@LoadPlugin openldap
158 #@BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn
159 #@BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle
160 #@BUILD_PLUGIN_PERL_TRUE@LoadPlugin perl
161 #@BUILD_PLUGIN_PINBA_TRUE@LoadPlugin pinba
162 #@BUILD_PLUGIN_PING_TRUE@LoadPlugin ping
163 #@BUILD_PLUGIN_POSTGRESQL_TRUE@LoadPlugin postgresql
164 #@BUILD_PLUGIN_POWERDNS_TRUE@LoadPlugin powerdns
165 #@BUILD_PLUGIN_PROCESSES_TRUE@LoadPlugin processes
166 #@BUILD_PLUGIN_PROTOCOLS_TRUE@LoadPlugin protocols
167 #@BUILD_PLUGIN_PYTHON_TRUE@LoadPlugin python
168 #@BUILD_PLUGIN_REDIS_TRUE@LoadPlugin redis
169 #@BUILD_PLUGIN_ROUTEROS_TRUE@LoadPlugin routeros
170 #@BUILD_PLUGIN_RRDCACHED_TRUE@LoadPlugin rrdcached
171 @LOAD_PLUGIN_RRDTOOL@LoadPlugin rrdtool
172 #@BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors
173 #@BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial
174 #@BUILD_PLUGIN_SIGROK_TRUE@LoadPlugin sigrok
175 #@BUILD_PLUGIN_SMART_TRUE@LoadPlugin smart
176 #@BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
177 #@BUILD_PLUGIN_STATSD_TRUE@LoadPlugin statsd
178 #@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap
179 #@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table
180 #@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail
181 #@BUILD_PLUGIN_TAIL_CSV_TRUE@LoadPlugin tail_csv
182 #@BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape
183 #@BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns
184 #@BUILD_PLUGIN_TEAMSPEAK2_TRUE@LoadPlugin teamspeak2
185 #@BUILD_PLUGIN_TED_TRUE@LoadPlugin ted
186 #@BUILD_PLUGIN_THERMAL_TRUE@LoadPlugin thermal
187 #@BUILD_PLUGIN_TOKYOTYRANT_TRUE@LoadPlugin tokyotyrant
188 #@BUILD_PLUGIN_TURBOSTAT_TRUE@LoadPlugin turbostat
189 #@BUILD_PLUGIN_UNIXSOCK_TRUE@LoadPlugin unixsock
190 #@BUILD_PLUGIN_UPTIME_TRUE@LoadPlugin uptime
191 #@BUILD_PLUGIN_USERS_TRUE@LoadPlugin users
192 #@BUILD_PLUGIN_UUID_TRUE@LoadPlugin uuid
193 #@BUILD_PLUGIN_VARNISH_TRUE@LoadPlugin varnish
194 #@BUILD_PLUGIN_VIRT_TRUE@LoadPlugin virt
195 #@BUILD_PLUGIN_VMEM_TRUE@LoadPlugin vmem
196 #@BUILD_PLUGIN_VSERVER_TRUE@LoadPlugin vserver
197 #@BUILD_PLUGIN_WIRELESS_TRUE@LoadPlugin wireless
198 #@BUILD_PLUGIN_WRITE_GRAPHITE_TRUE@LoadPlugin write_graphite
199 #@BUILD_PLUGIN_WRITE_HTTP_TRUE@LoadPlugin write_http
200 #@BUILD_PLUGIN_WRITE_KAFKA_TRUE@LoadPlugin write_kafka
201 #@BUILD_PLUGIN_WRITE_LOG_TRUE@LoadPlugin write_log
202 #@BUILD_PLUGIN_WRITE_MONGODB_TRUE@LoadPlugin write_mongodb
203 #@BUILD_PLUGIN_WRITE_REDIS_TRUE@LoadPlugin write_redis
204 #@BUILD_PLUGIN_WRITE_RIEMANN_TRUE@LoadPlugin write_riemann
205 #@BUILD_PLUGIN_WRITE_SENSU_TRUE@LoadPlugin write_sensu
206 #@BUILD_PLUGIN_WRITE_TSDB_TRUE@LoadPlugin write_tsdb
207 #@BUILD_PLUGIN_XMMS_TRUE@LoadPlugin xmms
208 #@BUILD_PLUGIN_ZFS_ARC_TRUE@LoadPlugin zfs_arc
209 #@BUILD_PLUGIN_ZOOKEEPER_TRUE@LoadPlugin zookeeper
210
211 ##############################################################################
212 # Plugin configuration                                                       #
213 #----------------------------------------------------------------------------#
214 # In this section configuration stubs for each plugin are provided. A desc-  #
215 # ription of those options is available in the collectd.conf(5) manual page. #
216 ##############################################################################
217
218 #<Plugin aggregation>
219 #  <Aggregation>
220 #    #Host "unspecified"
221 #    Plugin "cpu"
222 #    #PluginInstance "unspecified"
223 #    Type "cpu"
224 #    #TypeInstance "unspecified"
225 #
226 #    GroupBy "Host"
227 #    GroupBy "TypeInstance"
228 #
229 #    CalculateNum false
230 #    CalculateSum false
231 #    CalculateAverage true
232 #    CalculateMinimum false
233 #    CalculateMaximum false
234 #    CalculateStddev false
235 #  </Aggregation>
236 #</Plugin>
237
238 #<Plugin amqp>
239 #  <Publish "name">
240 #    Host "localhost"
241 #    Port "5672"
242 #    VHost "/"
243 #    User "guest"
244 #    Password "guest"
245 #    Exchange "amq.fanout"
246 #    RoutingKey "collectd"
247 #    Persistent false
248 #    StoreRates false
249 #    ConnectionRetryDelay 0
250 #  </Publish>
251 #</Plugin>
252
253 #<Plugin apache>
254 #  <Instance "local">
255 #    URL "http://localhost/status?auto"
256 #    User "www-user"
257 #    Password "secret"
258 #    CACert "/etc/ssl/ca.crt"
259 #  </Instance>
260 #</Plugin>
261
262 #<Plugin apcups>
263 #       Host "localhost"
264 #       Port "3551"
265 #       ReportSeconds true
266 #</Plugin>
267
268 #<Plugin aquaero>
269 #       Device ""
270 #</Plugin>
271
272 #<Plugin ascent>
273 #       URL "http://localhost/ascent/status/"
274 #       User "www-user"
275 #       Password "secret"
276 #       CACert "/etc/ssl/ca.crt"
277 #</Plugin>
278
279 #<Plugin "barometer">
280 #   Device            "/dev/i2c-0";
281 #   Oversampling      512
282 #   PressureOffset    0.0
283 #   TemperatureOffset 0.0
284 #   Normalization     2
285 #   Altitude          238.0
286 #   TemperatureSensor "myserver/onewire-F10FCA000800/temperature"
287 #</Plugin>
288
289 #<Plugin "battery">
290 #  ValuesPercentage false
291 #  ReportDegraded false
292 #</Plugin>
293
294 #<Plugin "bind">
295 #  URL "http://localhost:8053/"
296 #  ParseTime       false
297 #  OpCodes         true
298 #  QTypes          true
299 #
300 #  ServerStats     true
301 #  ZoneMaintStats  true
302 #  ResolverStats   false
303 #  MemoryStats     true
304 #
305 #  <View "_default">
306 #    QTypes        true
307 #    ResolverStats true
308 #    CacheRRSets   true
309 #
310 #    Zone "127.in-addr.arpa/IN"
311 #  </View>
312 #</Plugin>
313
314 #<Plugin ceph>
315 #  LongRunAvgLatency false
316 #  ConvertSpecialMetricTypes true
317 #  <Daemon "osd.0">
318 #    SocketPath "/var/run/ceph/ceph-osd.0.asok"
319 #  </Daemon>
320 #  <Daemon "osd.1">
321 #    SocketPath "/var/run/ceph/ceph-osd.1.asok"
322 #  </Daemon>
323 #  <Daemon "mon.a">
324 #    SocketPath "/var/run/ceph/ceph-mon.ceph1.asok"
325 #  </Daemon>
326 #  <Daemon "mds.a">
327 #    SocketPath "/var/run/ceph/ceph-mds.ceph1.asok"
328 #  </Daemon>
329 #</Plugin>
330
331 #<Plugin cgroups>
332 #  CGroup "libvirt"
333 #  IgnoreSelected false
334 #</Plugin>
335
336 #<Plugin cpu>
337 #  ReportByCpu true
338 #  ReportByState true
339 #  ValuesPercentage false
340 #</Plugin>
341 #
342 #<Plugin csv>
343 #       DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv"
344 #       StoreRates false
345 #</Plugin>
346
347 #<Plugin curl>
348 #  <Page "stock_quotes">
349 #    URL "http://finance.google.com/finance?q=NYSE%3AAMD"
350 #    User "foo"
351 #    Password "bar"
352 #    Digest false
353 #    VerifyPeer true
354 #    VerifyHost true
355 #    CACert "/path/to/ca.crt"
356 #    Header "X-Custom-Header: foobar"
357 #    Post "foo=bar"
358 #
359 #    MeasureResponseTime false
360 #    MeasureResponseCode false
361 #    <Match>
362 #      Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
363 #      DSType "GaugeAverage"
364 #      Type "stock_value"
365 #      Instance "AMD"
366 #    </Match>
367 #  </Page>
368 #</Plugin>
369
370 #<Plugin curl_json>
371 #  <URL "http://localhost:80/test.json">
372 #    Instance "test_http_json"
373 #    <Key "testArray/0">
374 #      Type "gauge"
375 #      # Expect: 1
376 #    </Key>
377 #    <Key "testArray/1">
378 #      Type "gauge"
379 #      # Expect: 2
380 #    </Key>
381 #    <Key "testArrayInbetween/0/blarg">
382 #      Type "gauge"
383 #      # Expect: 3
384 #    </Key>
385 #    <Key "testArrayInbetween/1/blub">
386 #      Type "gauge"
387 #      # Expect: 4
388 #    </Key>
389 #    <Key "testDirectHit">
390 #      Type "gauge"
391 #      # Expect: 5
392 #    </Key>
393 #    <Key "testSubLevelHit/oneMoreLevel">
394 #      Type "gauge"
395 #      # Expect: 6
396 #    </Key>
397 #  </URL>
398 # put this as test.json on your webserver, the above config demonstraces
399 # how to match them.
400 # {
401 #  "testArray":[1,2],
402 #  "testArrayInbetween":[{"blarg":3},{"blub":4}],
403 #  "testDirectHit":5,
404 #  "testSubLevelHit":{"oneMoreLevel":6}
405 # }
406 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
407 #  <URL "http://localhost:5984/_stats">
408 #    Instance "httpd"
409 #    <Key "httpd/requests/count">
410 #      Type "http_requests"
411 #    </Key>
412 #
413 #    <Key "httpd_request_methods/*/count">
414 #      Type "http_request_methods"
415 #    </Key>
416 #
417 #    <Key "httpd_status_codes/*/count">
418 #      Type "http_response_codes"
419 #    </Key>
420 #  </URL>
421 ## Database status metrics:
422 #  <URL "http://localhost:5984/_all_dbs">
423 #    Instance "dbs"
424 #    <Key "*/doc_count">
425 #      Type "gauge"
426 #    </Key>
427 #    <Key "*/doc_del_count">
428 #      Type "counter"
429 #    </Key>
430 #    <Key "*/disk_size">
431 #      Type "bytes"
432 #    </Key>
433 #  </URL>
434 #</Plugin>
435
436 #<Plugin curl_xml>
437 #  <URL "http://localhost/stats.xml">
438 #    Host "my_host"
439 #    Instance "some_instance"
440 #    User "collectd"
441 #    Password "thaiNg0I"
442 #    Digest false
443 #    VerifyPeer true
444 #    VerifyHost true
445 #    CACert "/path/to/ca.crt"
446 #    Header "X-Custom-Header: foobar"
447 #    Post "foo=bar"
448 #
449 #    <XPath "table[@id=\"magic_level\"]/tr">
450 #      Type "magic_level"
451 #      #InstancePrefix "prefix-"
452 #      InstanceFrom "td[1]"
453 #      ValuesFrom "td[2]/span[@class=\"level\"]"
454 #    </XPath>
455 #  </URL>
456 #</Plugin>
457
458 #<Plugin dbi>
459 #       <Query "num_of_customers">
460 #               Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
461 #               <Result>
462 #                       Type "gauge"
463 #                       InstancesFrom "c_key"
464 #                       ValuesFrom "c_value"
465 #               </Result>
466 #       </Query>
467 #       <Database "customers_db">
468 #               Driver "mysql"
469 #               DriverOption "host" "localhost"
470 #               DriverOption "username" "collectd"
471 #               DriverOption "password" "AeXohy0O"
472 #               DriverOption "dbname" "custdb0"
473 #               #SelectDB "custdb0"
474 #               Query "num_of_customers"
475 #               #Query "..."
476 #               #Host "..."
477 #       </Database>
478 #</Plugin>
479
480 #<Plugin df>
481 #       Device "/dev/hda1"
482 #       Device "192.168.0.2:/mnt/nfs"
483 #       MountPoint "/home"
484 #       FSType "ext3"
485 #       IgnoreSelected false
486 #       ReportByDevice false
487 #       ReportInodes false
488 #       ValuesAbsolute true
489 #       ValuesPercentage false
490 #</Plugin>
491
492 #<Plugin disk>
493 #       Disk "/^[hs]d[a-f][0-9]?$/"
494 #       IgnoreSelected false
495 #       UseBSDName false
496 #       UdevNameAttr "DEVNAME"
497 #</Plugin>
498
499 #<Plugin dns>
500 #       Interface "eth0"
501 #       IgnoreSource "192.168.0.1"
502 #       SelectNumericQueryTypes true
503 #</Plugin>
504
505 #<Plugin email>
506 #       SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
507 #       SocketGroup "collectd"
508 #       SocketPerms "0770"
509 #       MaxConns 5
510 #</Plugin>
511
512 #<Plugin ethstat>
513 #       Interface "eth0"
514 #       Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
515 #       Map "multicast" "if_multicast"
516 #       MappedOnly false
517 #</Plugin>
518
519 #<Plugin exec>
520 #       Exec "user:group" "/path/to/exec"
521 #       NotificationExec "user:group" "/path/to/exec"
522 #</Plugin>
523
524 #<Plugin fhcount>
525 #       ValuesAbsolute true
526 #       ValuesPercentage false
527 #</Plugin>
528
529 #<Plugin filecount>
530 #       <Directory "/path/to/dir">
531 #               Instance "foodir"
532 #               Name "*.conf"
533 #               MTime "-5m"
534 #               Size "+10k"
535 #               Recursive true
536 #               IncludeHidden false
537 #       </Directory>
538 #</Plugin>
539
540 #<Plugin gmond>
541 #  MCReceiveFrom "239.2.11.71" "8649"
542 #  <Metric "swap_total">
543 #    Type "swap"
544 #    TypeInstance "total"
545 #    DataSource "value"
546 #  </Metric>
547 #  <Metric "swap_free">
548 #    Type "swap"
549 #    TypeInstance "free"
550 #    DataSource "value"
551 #  </Metric>
552 #</Plugin>
553
554 #<Plugin hddtemp>
555 #  Host "127.0.0.1"
556 #  Port "7634"
557 #</Plugin>
558
559 #<Plugin interface>
560 #       Interface "eth0"
561 #       IgnoreSelected false
562 #</Plugin>
563
564 #<Plugin ipmi>
565 #       Sensor "some_sensor"
566 #       Sensor "another_one"
567 #       IgnoreSelected false
568 #       NotifySensorAdd false
569 #       NotifySensorRemove true
570 #       NotifySensorNotPresent false
571 #</Plugin>
572
573 #<Plugin iptables>
574 #       Chain table chain
575 #       Chain6 table chain
576 #</Plugin>
577
578 #<Plugin irq>
579 #       Irq 7
580 #       Irq 8
581 #       Irq 9
582 #       IgnoreSelected true
583 #</Plugin>
584
585 #<Plugin java>
586 #       JVMArg "-verbose:jni"
587 #       JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
588 #
589 #       LoadPlugin "org.collectd.java.Foobar"
590 #       <Plugin "org.collectd.java.Foobar">
591 #         # To be parsed by the plugin
592 #       </Plugin>
593 #</Plugin>
594
595 #<Plugin load>
596 #        ReportRelative true
597 #</Plugin>
598
599 #<Plugin lpar>
600 #       CpuPoolStats   false
601 #       ReportBySerial false
602 #</Plugin>
603
604 #<Plugin madwifi>
605 #       Interface "wlan0"
606 #       IgnoreSelected false
607 #       Source "SysFS"
608 #       WatchSet "None"
609 #       WatchAdd "node_octets"
610 #       WatchAdd "node_rssi"
611 #       WatchAdd "is_rx_acl"
612 #       WatchAdd "is_scan_active"
613 #</Plugin>
614
615 #<Plugin mbmon>
616 #       Host "127.0.0.1"
617 #       Port "411"
618 #</Plugin>
619
620 #<Plugin md>
621 #       Device "/dev/md0"
622 #       IgnoreSelected false
623 #</Plugin>
624
625 #<Plugin memcachec>
626 #       <Page "plugin_instance">
627 #               Server "localhost"
628 #               Key "page_key"
629 #               <Match>
630 #                       Regex "(\\d+) bytes sent"
631 #                       ExcludeRegex "<lines to be excluded>"
632 #                       DSType CounterAdd
633 #                       Type "ipt_octets"
634 #                       Instance "type_instance"
635 #               </Match>
636 #       </Page>
637 #</Plugin>
638
639 #<Plugin memcached>
640 #       <Instance "local">
641 #               Host "127.0.0.1"
642 #               Port "11211"
643 #       </Instance>
644 #</Plugin>
645
646 #<Plugin memory>
647 #       ValuesAbsolute true
648 #       ValuesPercentage false
649 #</Plugin>
650
651 #<Plugin modbus>
652 #       <Data "data_name">
653 #               RegisterBase 1234
654 #               RegisterCmd ReadHolding
655 #               RegisterType float
656 #               Type gauge
657 #               Instance "..."
658 #       </Data>
659 #
660 #       <Host "name">
661 #               Address "addr"
662 #               Port "1234"
663 #               Interval 60
664 #
665 #               <Slave 1>
666 #                       Instance "foobar" # optional
667 #                       Collect "data_name"
668 #               </Slave>
669 #       </Host>
670 #</Plugin>
671
672 #<Plugin mysql>
673 #       <Database db_name>
674 #               Host "database.serv.er"
675 #               User "db_user"
676 #               Password "secret"
677 #               Database "db_name"
678 #               MasterStats true
679 #               ConnectTimeout 10
680 #               InnodbStats true
681 #       </Database>
682 #
683 #       <Database db_name2>
684 #               Alias "squeeze"
685 #               Host "localhost"
686 #               Socket "/var/run/mysql/mysqld.sock"
687 #               SlaveStats true
688 #               SlaveNotifications true
689 #       </Database>
690 #</Plugin>
691
692 #<Plugin netapp>
693 #       <Host "netapp1.example.com">
694 #               Protocol      "https"
695 #               Address       "10.0.0.1"
696 #               Port          443
697 #               User          "username"
698 #               Password      "aef4Aebe"
699 #               Interval      30
700 #
701 #               <WAFL>
702 #                       Interval 30
703 #                       GetNameCache   true
704 #                       GetDirCache    true
705 #                       GetBufferCache true
706 #                       GetInodeCache  true
707 #               </WAFL>
708 #
709 #               <Disks>
710 #                       Interval 30
711 #                       GetBusy true
712 #               </Disks>
713 #
714 #               <VolumePerf>
715 #                       Interval 30
716 #                       GetIO      "volume0"
717 #                       IgnoreSelectedIO      false
718 #                       GetOps     "volume0"
719 #                       IgnoreSelectedOps     false
720 #                       GetLatency "volume0"
721 #                       IgnoreSelectedLatency false
722 #               </VolumePerf>
723 #
724 #               <VolumeUsage>
725 #                       Interval 30
726 #                       GetCapacity "vol0"
727 #                       GetCapacity "vol1"
728 #                       IgnoreSelectedCapacity false
729 #                       GetSnapshot "vol1"
730 #                       GetSnapshot "vol3"
731 #                       IgnoreSelectedSnapshot false
732 #               </VolumeUsage>
733 #
734 #               <System>
735 #                       Interval 30
736 #                       GetCPULoad     true
737 #                       GetInterfaces  true
738 #                       GetDiskOps     true
739 #                       GetDiskIO      true
740 #               </System>
741 #       </Host>
742 #</Plugin>
743
744 #<Plugin netlink>
745 #       Interface "All"
746 #       VerboseInterface "All"
747 #       QDisc "eth0" "pfifo_fast-1:0"
748 #       Class "ppp0" "htb-1:10"
749 #       Filter "ppp0" "u32-1:0"
750 #       IgnoreSelected false
751 #</Plugin>
752
753 @LOAD_PLUGIN_NETWORK@<Plugin network>
754 #       # client setup:
755 @LOAD_PLUGIN_NETWORK@   Server "ff18::efc0:4a42" "25826"
756 @LOAD_PLUGIN_NETWORK@   <Server "239.192.74.66" "25826">
757 #               SecurityLevel Encrypt
758 #               Username "user"
759 #               Password "secret"
760 #               Interface "eth0"
761 #               ResolveInterval 14400
762 @LOAD_PLUGIN_NETWORK@   </Server>
763 #       TimeToLive 128
764 #
765 #       # server setup:
766 #       Listen "ff18::efc0:4a42" "25826"
767 #       <Listen "239.192.74.66" "25826">
768 #               SecurityLevel Sign
769 #               AuthFile "/etc/collectd/passwd"
770 #               Interface "eth0"
771 #       </Listen>
772 #       MaxPacketSize 1452
773 #
774 #       # proxy setup (client and server as above):
775 #       Forward true
776 #
777 #       # statistics about the network plugin itself
778 #       ReportStats false
779 #
780 #       # "garbage collection"
781 #       CacheFlush 1800
782 @LOAD_PLUGIN_NETWORK@</Plugin>
783
784 #<Plugin nginx>
785 #       URL "http://localhost/status?auto"
786 #       User "www-user"
787 #       Password "secret"
788 #       CACert "/etc/ssl/ca.crt"
789 #</Plugin>
790
791 #<Plugin notify_desktop>
792 #       OkayTimeout 1000
793 #       WarningTimeout 5000
794 #       FailureTimeout 0
795 #</Plugin>
796
797 #<Plugin notify_email>
798 #       SMTPServer "localhost"
799 #       SMTPPort 25
800 #       SMTPUser "my-username"
801 #       SMTPPassword "my-password"
802 #       From "collectd@main0server.com"
803 #       # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
804 #       Subject "Aaaaaa!! %s on %s!!!!!"
805 #       Recipient "email1@domain1.net"
806 #       Recipient "email2@domain2.com"
807 #</Plugin>
808
809 #<Plugin ntpd>
810 #       Host "localhost"
811 #       Port 123
812 #       ReverseLookups false
813 #       IncludeUnitID true
814 #</Plugin>
815
816 #<Plugin nut>
817 #       UPS "upsname@hostname:port"
818 #</Plugin>
819
820 #<Plugin olsrd>
821 #       Host "127.0.0.1"
822 #       Port "2006"
823 #       CollectLinks "Summary"
824 #       CollectRoutes "Summary"
825 #       CollectTopology "Summary"
826 #</Plugin>
827
828 #<Plugin onewire>
829 #       Device "-s localhost:4304"
830 #       Sensor "F10FCA000800"
831 #       IgnoreSelected false
832 #</Plugin>
833
834 #<Plugin openldap>
835 #  <Instance "localhost">
836 #    URL "ldap://localhost:389"
837 #    StartTLS false
838 #    VerifyHost true
839 #    CACert "/path/to/ca.crt"
840 #    Timeout -1
841 #    Version 3
842 #  </Instance>
843 #</Plugin>
844
845 #<Plugin openvpn>
846 #       StatusFile "/etc/openvpn/openvpn-status.log"
847 #       ImprovedNamingSchema false
848 #       CollectCompression true
849 #       CollectIndividualUsers true
850 #       CollectUserCount false
851 #</Plugin>
852
853 #<Plugin oracle>
854 #  <Query "out_of_stock">
855 #    Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
856 #    <Result>
857 #      Type "gauge"
858 #      InstancesFrom "category"
859 #      ValuesFrom "value"
860 #    </Result>
861 #  </Query>
862 #  <Database "product_information">
863 #    ConnectID "db01"
864 #    Username "oracle"
865 #    Password "secret"
866 #    Query "out_of_stock"
867 #  </Database>
868 #</Plugin>
869
870 #<Plugin perl>
871 #       IncludeDir "/my/include/path"
872 #       BaseName "Collectd::Plugins"
873 #       EnableDebugger ""
874 #       LoadPlugin Monitorus
875 #       LoadPlugin OpenVZ
876 #
877 #       <Plugin foo>
878 #               Foo "Bar"
879 #               Qux "Baz"
880 #       </Plugin>
881 #</Plugin>
882
883 #<Plugin pinba>
884 #       Address "::0"
885 #       Port "30002"
886 #       <View "name">
887 #               Host "host name"
888 #               Server "server name"
889 #               Script "script name"
890 #       </View>
891 #</Plugin>
892
893 #<Plugin ping>
894 #       Host "host.foo.bar"
895 #       Interval 1.0
896 #       Timeout 0.9
897 #       TTL 255
898 #       SourceAddress "1.2.3.4"
899 #       Device "eth0"
900 #       MaxMissed -1
901 #</Plugin>
902
903 #<Plugin postgresql>
904 #       <Query magic>
905 #               Statement "SELECT magic FROM wizard WHERE host = $1;"
906 #               Param hostname
907 #               <Result>
908 #                       Type gauge
909 #                       InstancePrefix "magic"
910 #                       ValuesFrom magic
911 #               </Result>
912 #       </Query>
913 #       <Query rt36_tickets>
914 #               Statement "SELECT COUNT(type) AS count, type \
915 #                                 FROM (SELECT CASE \
916 #                                              WHEN resolved = 'epoch' THEN 'open' \
917 #                                              ELSE 'resolved' END AS type \
918 #                                              FROM tickets) type \
919 #                                 GROUP BY type;"
920 #               <Result>
921 #                       Type counter
922 #                       InstancePrefix "rt36_tickets"
923 #                       InstancesFrom "type"
924 #                       ValuesFrom "count"
925 #               </Result>
926 #       </Query>
927 #       <Writer sqlstore>
928 #               # See contrib/postgresql/collectd_insert.sql for details
929 #               Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
930 #               StoreRates true
931 #       </Writer>
932 #       <Database foo>
933 #               Host "hostname"
934 #               Port "5432"
935 #               User "username"
936 #               Password "secret"
937 #               SSLMode "prefer"
938 #               KRBSrvName "kerberos_service_name"
939 #               Query magic
940 #       </Database>
941 #       <Database bar>
942 #               Interval 60
943 #               Service "service_name"
944 #               Query backend # predefined
945 #               Query rt36_tickets
946 #       </Database>
947 #       <Database qux>
948 #               Service "collectd_store"
949 #               Writer sqlstore
950 #               # see collectd.conf(5) for details
951 #               CommitInterval 30
952 #       </Database>
953 #</Plugin>
954
955 #<Plugin powerdns>
956 #  <Server "server_name">
957 #    Collect "latency"
958 #    Collect "udp-answers" "udp-queries"
959 #    Socket "/var/run/pdns.controlsocket"
960 #  </Server>
961 #  <Recursor "recursor_name">
962 #    Collect "questions"
963 #    Collect "cache-hits" "cache-misses"
964 #    Socket "/var/run/pdns_recursor.controlsocket"
965 #  </Recursor>
966 #  LocalSocket "/opt/collectd/var/run/collectd-powerdns"
967 #</Plugin>
968
969 #<Plugin processes>
970 #       Process "name"
971 #</Plugin>
972
973 #<Plugin protocols>
974 #       Value "/^Tcp:/"
975 #       IgnoreSelected false
976 #</Plugin>
977
978 #<Plugin python>
979 #       ModulePath "/path/to/your/python/modules"
980 #       LogTraces true
981 #       Interactive true
982 #       Import "spam"
983 #
984 #       <Module spam>
985 #               spam "wonderful" "lovely"
986 #       </Module>
987 #</Plugin>
988
989 #<Plugin redis>
990 #   <Node example>
991 #      Host "redis.example.com"
992 #      Port "6379"
993 #      Timeout 2000
994 #   </Node>
995 #</Plugin>
996
997 #<Plugin routeros>
998 #       <Router>
999 #               Host "router.example.com"
1000 #               Port "8728"
1001 #               User "admin"
1002 #               Password "dozaiTh4"
1003 #               CollectInterface true
1004 #               CollectRegistrationTable true
1005 #               CollectCPULoad true
1006 #               CollectMemory true
1007 #               CollectDF true
1008 #               CollectDisk true
1009 #       </Router>
1010 #</Plugin>
1011
1012 #<Plugin rrdcached>
1013 #       DaemonAddress "unix:/tmp/rrdcached.sock"
1014 #       DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1015 #       CreateFiles true
1016 #       CreateFilesAsync false
1017 #       CollectStatistics true
1018 #</Plugin>
1019
1020 #<Plugin rrdtool>
1021 #       DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1022 #       CreateFilesAsync false
1023 #       CacheTimeout 120
1024 #       CacheFlush   900
1025 #       WritesPerSecond 50
1026 #</Plugin>
1027
1028 #<Plugin sensors>
1029 #       SensorConfigFile "/etc/sensors.conf"
1030 #       Sensor "it8712-isa-0290/temperature-temp1"
1031 #       Sensor "it8712-isa-0290/fanspeed-fan3"
1032 #       Sensor "it8712-isa-0290/voltage-in8"
1033 #       IgnoreSelected false
1034 #</Plugin>
1035
1036 #<Plugin sigrok>
1037 #  LogLevel 3
1038 #  <Device "AC Voltage">
1039 #    Driver "fluke-dmm"
1040 #    MinimumInterval 10
1041 #    Conn "/dev/ttyUSB2"
1042 #  </Device>
1043 #  <Device "Sound Level">
1044 #    Driver "cem-dt-885x"
1045 #    Conn "/dev/ttyUSB1"
1046 #  </Device>
1047 #</Plugin>
1048
1049 #<Plugin smart>
1050 #  Disk "/^[hs]d[a-f][0-9]?$/"
1051 #  IgnoreSelected false
1052 #</Plugin>
1053
1054 #<Plugin snmp>
1055 #   <Data "powerplus_voltge_input">
1056 #       Type "voltage"
1057 #       Table false
1058 #       Instance "input_line1"
1059 #       Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
1060 #   </Data>
1061 #   <Data "hr_users">
1062 #       Type "users"
1063 #       Table false
1064 #       Instance ""
1065 #       Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
1066 #   </Data>
1067 #   <Data "std_traffic">
1068 #       Type "if_octets"
1069 #       Table true
1070 #       Instance "IF-MIB::ifDescr"
1071 #       Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1072 #   </Data>
1073 #
1074 #   <Host "some.switch.mydomain.org">
1075 #       Address "192.168.0.2"
1076 #       Version 1
1077 #       Community "community_string"
1078 #       Collect "std_traffic"
1079 #       Interval 120
1080 #   </Host>
1081 #   <Host "some.server.mydomain.org">
1082 #       Address "192.168.0.42"
1083 #       Version 2
1084 #       Community "another_string"
1085 #       Collect "std_traffic" "hr_users"
1086 #   </Host>
1087 #   <Host "some.ups.mydomain.org">
1088 #       Address "192.168.0.3"
1089 #       Version 1
1090 #       Community "more_communities"
1091 #       Collect "powerplus_voltge_input"
1092 #       Interval 300
1093 #   </Host>
1094 #</Plugin>
1095
1096 #<Plugin statsd>
1097 #  Host "::"
1098 #  Port "8125"
1099 #  DeleteCounters false
1100 #  DeleteTimers   false
1101 #  DeleteGauges   false
1102 #  DeleteSets     false
1103 #  TimerPercentile 90.0
1104 #  TimerPercentile 95.0
1105 #  TimerPercentile 99.0
1106 #  TimerLower     false
1107 #  TimerUpper     false
1108 #  TimerSum       false
1109 #  TimerCount     false
1110 #</Plugin>
1111
1112 #<Plugin swap>
1113 #       ReportByDevice false
1114 #       ReportBytes true
1115 #       ValuesAbsolute true
1116 #       ValuesPercentage false
1117 #</Plugin>
1118
1119 #<Plugin table>
1120 #       <Table "/proc/slabinfo">
1121 #               Instance "slabinfo"
1122 #               Separator " "
1123 #               <Result>
1124 #                       Type gauge
1125 #                       InstancePrefix "active_objs"
1126 #                       InstancesFrom 0
1127 #                       ValuesFrom 1
1128 #               </Result>
1129 #               <Result>
1130 #                       Type gauge
1131 #                       InstancePrefix "objperslab"
1132 #                       InstancesFrom 0
1133 #                       ValuesFrom 4
1134 #               </Result>
1135 #       </Table>
1136 #</Plugin>
1137
1138 #<Plugin tail>
1139 #  <File "/var/log/exim4/mainlog">
1140 #    Instance "exim"
1141 #    Interval 60
1142 #    <Match>
1143 #      Regex "S=([1-9][0-9]*)"
1144 #      DSType "CounterAdd"
1145 #      Type "ipt_bytes"
1146 #      Instance "total"
1147 #    </Match>
1148 #    <Match>
1149 #      Regex "\\<R=local_user\\>"
1150 #      ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1151 #      DSType "CounterInc"
1152 #      Type "counter"
1153 #      Instance "local_user"
1154 #    </Match>
1155 #  </File>
1156 #</Plugin>
1157
1158 #<Plugin tail_csv>
1159 #   <Metric "dropped">
1160 #       Type "percent"
1161 #       Instance "dropped"
1162 #       ValueFrom 1
1163 #   </Metric>
1164 #   <Metric "mbps">
1165 #       Type "bytes"
1166 #       Instance "wire-realtime"
1167 #       ValueFrom 2
1168 #   </Metric>
1169 #   <Metric "alerts">
1170 #       Type "alerts_per_second"
1171 #       ValueFrom 3
1172 #   </Metric>
1173 #   <Metric "kpps">
1174 #       Type "kpackets_wire_per_sec.realtime"
1175 #       ValueFrom 4
1176 #   </Metric>
1177 #   <File "/var/log/snort/snort.stats">
1178 #       Instance "snort-eth0"
1179 #       Interval 600
1180 #       Collect "dropped" "mbps" "alerts" "kpps"
1181 #       TimeFrom 0
1182 #   </File>
1183 #</Plugin>
1184
1185 #<Plugin tcpconns>
1186 #       ListeningPorts false
1187 #       AllPortsSummary false
1188 #       LocalPort "25"
1189 #       RemotePort "25"
1190 #</Plugin>
1191
1192 #<Plugin teamspeak2>
1193 #       Host "127.0.0.1"
1194 #       Port "51234"
1195 #       Server "8767"
1196 #</Plugin>
1197
1198 #<Plugin ted>
1199 #       Device "/dev/ttyUSB0"
1200 #       Retries 0
1201 #</Plugin>
1202
1203 #<Plugin thermal>
1204 #       ForceUseProcfs false
1205 #       Device "THRM"
1206 #       IgnoreSelected false
1207 #</Plugin>
1208
1209 #<Plugin tokyotyrant>
1210 #       Host "localhost"
1211 #       Port "1978"
1212 #</Plugin>
1213
1214 #<Plugin turbostat>
1215 ##      None of the following option should be set manually
1216 ##      This plugin automatically detect most optimal options
1217 ##      Only set values here if:
1218 ##      - The module ask you to
1219 ##      - You want to disable the collection of some data
1220 ##      - Your (intel) CPU is not supported (yet) by the module
1221 ##      - The module generate a lot of errors 'MSR offset 0x... read failed'
1222 ##      In the last two cases, please open a bug request
1223 #
1224 #       TCCActivationTemp "100"
1225 #       CoreCstates "392"
1226 #       PackageCstates "396"
1227 #       SystemManagementInterrupt true
1228 #       DigitalTemperatureSensor true
1229 #       PackageThermalManagement true
1230 #       RunningAveragePowerLimit "7"    
1231 #</Plugin>
1232
1233 #<Plugin unixsock>
1234 #       SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1235 #       SocketGroup "collectd"
1236 #       SocketPerms "0660"
1237 #       DeleteSocket false
1238 #</Plugin>
1239
1240 #<Plugin uuid>
1241 #       UUIDFile "/etc/uuid"
1242 #</Plugin>
1243
1244 #<Plugin mic>
1245 #   ShowCPU true
1246 #   ShowCPUCores true
1247 #   ShowMemory true
1248 #   ShowTemperatures true
1249 ##  Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1250 ##  then inverted with a IgnoreSelectedTemperature.
1251 ##  Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1252 #   Temperature vddg
1253 #   IgnoreSelectedTemperature true
1254 #   ShowPower true
1255 ##  Power Sensors can be ignored/shown by repeated #Power lines, and
1256 ##  then inverted with a IgnoreSelectedTemperature.
1257 ##  Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1258 #   Power total1
1259 #   IgnoreSelectedPower true
1260 #</Plugin>
1261
1262 #<Plugin varnish>
1263 #   This tag support an argument if you want to
1264 #   monitor the local instance just use </Instance>
1265 #   If you prefer defining another instance you can do
1266 #   so by using <Instance "myinstance">
1267 #   <Instance>
1268 #      CollectBackend true
1269 #      CollectBan false           # Varnish 3 and above
1270 #      CollectCache true
1271 #      CollectConnections true
1272 #      CollectDirectorDNS false   # Varnish 3 only
1273 #      CollectESI false
1274 #      CollectFetch false
1275 #      CollectHCB false
1276 #      CollectObjects false
1277 #      CollectPurge false         # Varnish 2 only
1278 #      CollectSession false
1279 #      CollectSHM true
1280 #      CollectSMA false           # Varnish 2 only
1281 #      CollectSMS false
1282 #      CollectSM false            # Varnish 2 only
1283 #      CollectStruct false
1284 #      CollectTotals false
1285 #      CollectUptime false        # Varnish 3 and above
1286 #      CollectVCL false
1287 #      CollectVSM false           # Varnish 4 only
1288 #      CollectWorkers false
1289 #   </Instance>
1290 #</Plugin>
1291
1292 #<Plugin virt>
1293 #       Connection "xen:///"
1294 #       RefreshInterval 60
1295 #       Domain "name"
1296 #       BlockDevice "name:device"
1297 #       InterfaceDevice "name:device"
1298 #       IgnoreSelected false
1299 #       HostnameFormat name
1300 #       InterfaceFormat name
1301 #       PluginInstanceFormat name
1302 #</Plugin>
1303
1304 #<Plugin vmem>
1305 #       Verbose false
1306 #</Plugin>
1307
1308 #<Plugin write_graphite>
1309 #  <Node "example">
1310 #    Host "localhost"
1311 #    Port "2003"
1312 #    Protocol "tcp"
1313 #    LogSendErrors true
1314 #    Prefix "collectd"
1315 #    Postfix "collectd"
1316 #    StoreRates true
1317 #    AlwaysAppendDS false
1318 #    EscapeCharacter "_"
1319 #  </Node>
1320 #</Plugin>
1321
1322 #<Plugin write_http>
1323 #       <Node "example">
1324 #               URL "http://example.com/collectd-post"
1325 #               User "collectd"
1326 #               Password "weCh3ik0"
1327 #               VerifyPeer true
1328 #               VerifyHost true
1329 #               CACert "/etc/ssl/ca.crt"
1330 #               CAPath "/etc/ssl/certs/"
1331 #               ClientKey "/etc/ssl/client.pem"
1332 #               ClientCert "/etc/ssl/client.crt"
1333 #               ClientKeyPass "secret"
1334 #               SSLVersion "TLSv1"
1335 #               Format "Command"
1336 #               StoreRates false
1337 #               BufferSize 4096
1338 #               LowSpeedLimit 0
1339 #               Timeout 0
1340 #       </Node>
1341 #</Plugin>
1342
1343 #<Plugin write_kafka>
1344 #  Property "metadata.broker.list" "localhost:9092"
1345 #  <Topic "collectd">
1346 #    Format JSON
1347 #  </Topic>
1348 #</Plugin>
1349
1350 #<Plugin write_mongodb>
1351 #       <Node "example">
1352 #               Host "localhost"
1353 #               Port "27017"
1354 #               Timeout 1000
1355 #               StoreRates false
1356 #               Database "auth_db"
1357 #               User "auth_user"
1358 #               Password "auth_passwd"
1359 #       </Node>
1360 #</Plugin>
1361
1362 #<Plugin write_redis>
1363 #       <Node "example">
1364 #               Host "localhost"
1365 #               Port "6379"
1366 #               Timeout 1000
1367 #       </Node>
1368 #</Plugin>
1369
1370 #<Plugin write_riemann>
1371 #       <Node "example">
1372 #               Host "localhost"
1373 #               Port 5555
1374 #               Protocol TCP
1375 #               Batch true
1376 #               BatchMaxSize 8192
1377 #               StoreRates true
1378 #               AlwaysAppendDS false
1379 #               TTLFactor 2.0
1380 #               Notifications true
1381 #               CheckThresholds false
1382 #               EventServicePrefix ""
1383 #       </Node>
1384 #       Tag "foobar"
1385 #       Attribute "foo" "bar"
1386 #</Plugin>
1387
1388 #<Plugin write_sensu>
1389 #       <Node "example">
1390 #               Host "localhost"
1391 #               Port 3030
1392 #               StoreRates true
1393 #               AlwaysAppendDS false
1394 #               Notifications true
1395 #               Metrics true
1396 #               EventServicePrefix ""
1397 #               MetricHandler "influx"
1398 #               MetricHandler "default"
1399 #               NotificationHandler "flapjack"
1400 #               NotificationHandler "howling_monkey"
1401 #       </Node>
1402 #       Tag "foobar"
1403 #       Attribute "foo" "bar"
1404 #</Plugin>
1405
1406 #<Plugin write_tsdb>
1407 #       <Node>
1408 #               Host "localhost"
1409 #               Port "4242"
1410 #               HostTags "status=production"
1411 #               StoreRates false
1412 #               AlwaysAppendDS false
1413 #       </Node>
1414 #</Plugin>
1415
1416 #<Plugin zookeeper>
1417 #    Host "localhost"
1418 #    Port "2181"
1419 #</Plugin>
1420
1421 ##############################################################################
1422 # Filter configuration                                                       #
1423 #----------------------------------------------------------------------------#
1424 # The following configures collectd's filtering mechanism. Before changing   #
1425 # anything in this section, please read the `FILTER CONFIGURATION' section   #
1426 # in the collectd.conf(5) manual page.                                       #
1427 ##############################################################################
1428
1429 # Load required matches:
1430 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1431 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1432 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1433 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1434 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1435
1436 # Load required targets:
1437 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1438 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1439 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1440 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1441 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1442
1443 #----------------------------------------------------------------------------#
1444 # The following block demonstrates the default behavior if no filtering is   #
1445 # configured at all: All values will be sent to all available write plugins. #
1446 #----------------------------------------------------------------------------#
1447
1448 #<Chain "PostCache">
1449 #  Target "write"
1450 #</Chain>
1451
1452 ##############################################################################
1453 # Threshold configuration                                                    #
1454 #----------------------------------------------------------------------------#
1455 # The following outlines how to configure collectd's threshold checking      #
1456 # plugin. The plugin and possible configuration options are documented in    #
1457 # the collectd-threshold(5) manual page.                                     #
1458 ##############################################################################
1459
1460 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1461 #<Plugin threshold>
1462 #  <Type "foo">
1463 #    WarningMin    0.00
1464 #    WarningMax 1000.00
1465 #    FailureMin    0.00
1466 #    FailureMax 1200.00
1467 #    Invert false
1468 #    Instance "bar"
1469 #  </Type>
1470 #
1471 #  <Plugin "interface">
1472 #    Instance "eth0"
1473 #    <Type "if_octets">
1474 #      FailureMax 10000000
1475 #      DataSource "rx"
1476 #    </Type>
1477 #  </Plugin>
1478 #
1479 #  <Host "hostname">
1480 #    <Type "cpu">
1481 #      Instance "idle"
1482 #      FailureMin 10
1483 #    </Type>
1484 #
1485 #    <Plugin "memory">
1486 #      <Type "memory">
1487 #        Instance "cached"
1488 #        WarningMin 100000000
1489 #      </Type>
1490 #    </Plugin>
1491 #
1492 #    <Type "load">
1493 #       DataSource "midterm"
1494 #       FailureMax 4
1495 #       Hits 3
1496 #       Hysteresis 3
1497 #    </Type>
1498 #  </Host>
1499 #</Plugin>