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