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