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