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