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