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