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