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