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