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