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