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