Code

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