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