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