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