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