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