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