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