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