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