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