Code

a422f4079d63729e7aeae7ba5a32447fa2c71c93
[pkg-collectd.git] / debian / collectd.conf
1 # Config file for collectd(1).
2 #
3 # Some plugins need additional configuration and are disabled by default.
4 # Please read collectd.conf(5) for details.
5 #
6 # You should also read /usr/share/doc/collectd-core/README.Debian.plugins
7 # before enabling any more plugins.
9 ##############################################################################
10 # Global                                                                     #
11 #----------------------------------------------------------------------------#
12 # Global settings for the daemon.                                            #
13 ##############################################################################
15 #Hostname "localhost"
16 FQDNLookup true
17 #BaseDir "/var/lib/collectd"
18 #PluginDir "/usr/lib/collectd"
19 #TypesDB "/usr/share/collectd/types.db" "/etc/collectd/my_types.db"
21 #----------------------------------------------------------------------------#
22 # Interval at which to query values. This may be overwritten on a per-plugin #
23 # base by using the 'Interval' option of the LoadPlugin block:               #
24 #   <LoadPlugin foo>                                                         #
25 #       Interval 60                                                          #
26 #   </LoadPlugin>                                                            #
27 #----------------------------------------------------------------------------#
28 #Interval 10
30 #Timeout 2
31 #ReadThreads 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 #LoadPlugin logfile
42 LoadPlugin syslog
44 #<Plugin logfile>
45 #       LogLevel "info"
46 #       File STDOUT
47 #       Timestamp true
48 #       PrintSeverity false
49 #</Plugin>
51 <Plugin syslog>
52         LogLevel info
53 </Plugin>
55 ##############################################################################
56 # LoadPlugin section                                                         #
57 #----------------------------------------------------------------------------#
58 # Specify what features to activate.                                         #
59 ##############################################################################
61 #LoadPlugin aggregation
62 #LoadPlugin amqp
63 #LoadPlugin apache
64 #LoadPlugin apcups
65 #LoadPlugin ascent
66 LoadPlugin battery
67 #LoadPlugin bind
68 #LoadPlugin conntrack
69 #LoadPlugin contextswitch
70 LoadPlugin cpu
71 #LoadPlugin cpufreq
72 #LoadPlugin csv
73 #LoadPlugin curl
74 #LoadPlugin curl_json
75 #LoadPlugin curl_xml
76 #LoadPlugin dbi
77 LoadPlugin df
78 LoadPlugin disk
79 #LoadPlugin dns
80 #LoadPlugin email
81 LoadPlugin entropy
82 #LoadPlugin ethstat
83 #LoadPlugin exec
84 #LoadPlugin filecount
85 #LoadPlugin fscache
86 #LoadPlugin gmond
87 #LoadPlugin hddtemp
88 LoadPlugin interface
89 #LoadPlugin ipmi
90 #LoadPlugin iptables
91 #LoadPlugin ipvs
92 LoadPlugin irq
93 #LoadPlugin java
94 #LoadPlugin libvirt
95 LoadPlugin load
96 #LoadPlugin madwifi
97 #LoadPlugin mbmon
98 #LoadPlugin md
99 #LoadPlugin memcachec
100 #LoadPlugin memcached
101 LoadPlugin memory
102 #LoadPlugin modbus
103 #LoadPlugin multimeter
104 #LoadPlugin mysql
105 #LoadPlugin netlink
106 #LoadPlugin network
107 #LoadPlugin nfs
108 #LoadPlugin nginx
109 #LoadPlugin notify_desktop
110 #LoadPlugin notify_email
111 #LoadPlugin ntpd
112 #LoadPlugin numa
113 #LoadPlugin nut
114 #LoadPlugin olsrd
115 #LoadPlugin openvpn
116 #<LoadPlugin perl>
117 #       Globals true
118 #</LoadPlugin>
119 #LoadPlugin pinba
120 #LoadPlugin ping
121 #LoadPlugin postgresql
122 #LoadPlugin powerdns
123 LoadPlugin processes
124 #LoadPlugin protocols
125 #<LoadPlugin python>
126 #       Globals true
127 #</LoadPlugin>
128 #LoadPlugin rrdcached
129 LoadPlugin rrdtool
130 #LoadPlugin sensors
131 #LoadPlugin serial
132 #LoadPlugin snmp
133 LoadPlugin swap
134 #LoadPlugin table
135 #LoadPlugin tail
136 #LoadPlugin tcpconns
137 #LoadPlugin teamspeak2
138 #LoadPlugin ted
139 #LoadPlugin thermal
140 #LoadPlugin tokyotyrant
141 #LoadPlugin unixsock
142 #LoadPlugin uptime
143 LoadPlugin users
144 #LoadPlugin uuid
145 #LoadPlugin varnish
146 #LoadPlugin vmem
147 #LoadPlugin vserver
148 #LoadPlugin wireless
149 #LoadPlugin write_graphite
150 #LoadPlugin write_http
151 #LoadPlugin write_mongodb
153 ##############################################################################
154 # Plugin configuration                                                       #
155 #----------------------------------------------------------------------------#
156 # In this section configuration stubs for each plugin are provided. A desc-  #
157 # ription of those options is available in the collectd.conf(5) manual page. #
158 ##############################################################################
160 #<Plugin "aggregation">
161 #       <Aggregation>
162 #               #Host "unspecified"
163 #               Plugin "cpu"
164 #               #PluginInstance "unspecified"
165 #               Type "cpu"
166 #               #TypeInstance "unspecified"
168 #               GroupBy "Host"
169 #               GroupBy "TypeInstance"
171 #               CalculateNum false
172 #               CalculateSum false
173 #               CalculateAverage true
174 #               CalculateMinimum false
175 #               CalculateMaximum false
176 #               CalculateStddev false
177 #       </Aggregation>
178 #</Plugin>
180 #<Plugin amqp>
181 #       <Publish "name">
182 #               Host "localhost"
183 #               Port "5672"
184 #               VHost "/"
185 #               User "guest"
186 #               Password "guest"
187 #               Exchange "amq.fanout"
188 #               RoutingKey "collectd"
189 #               Persistent false
190 #               StoreRates false
191 #       </Publish>
192 #</Plugin>
194 #<Plugin apache>
195 #       <Instance "foo">
196 #               URL "http://localhost/server-status?auto"
197 #               User "www-user"
198 #               Password "secret"
199 #               VerifyPeer false
200 #               VerifyHost false
201 #               CACert "/etc/ssl/ca.crt"
202 #               Server "apache"
203 #       </Instance>
205 #       <Instance "bar">
206 #               URL "http://some.domain.tld/status?auto"
207 #               Host "some.domain.tld"
208 #               Server "lighttpd"
209 #       </Instance>
210 #</Plugin>
212 #<Plugin apcups>
213 #       Host "localhost"
214 #       Port "3551"
215 #</Plugin>
217 #<Plugin ascent>
218 #       URL "http://localhost/ascent/status/"
219 #       User "www-user"
220 #       Password "secret"
221 #       VerifyPeer false
222 #       VerifyHost false
223 #       CACert "/etc/ssl/ca.crt"
224 #</Plugin>
226 #<Plugin "bind">
227 #       URL "http://localhost:8053/"
229 #       ParseTime false
231 #       OpCodes true
232 #       QTypes true
233 #       ServerStats true
234 #       ZoneMaintStats true
235 #       ResolverStats false
236 #       MemoryStats true
238 #       <View "_default">
239 #               QTypes true
240 #               ResolverStats true
241 #               CacheRRSets true
243 #               Zone "127.in-addr.arpa/IN"
244 #       </View>
245 #</Plugin>
247 #<Plugin csv>
248 #       DataDir "/var/lib/collectd/csv"
249 #       StoreRates false
250 #</Plugin>
252 #<Plugin curl>
253 #       <Page "stock_quotes">
254 #               URL "http://finance.google.com/finance?q=NYSE%3AAMD"
255 #               User "foo"
256 #               Password "bar"
257 #               VerifyPeer false
258 #               VerifyHost false
259 #               CACert "/etc/ssl/ca.crt"
260 #               MeasureResponseTime false
261 #               <Match>
262 #                       Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
263 #                       DSType "GaugeAverage"
264 #                       Type "stock_value"
265 #                       Instance "AMD"
266 #               </Match>
267 #       </Page>
268 #</Plugin>
270 #<Plugin curl_json>
271 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
272 #  <URL "http://localhost:5984/_stats">
273 #    Instance "httpd"
274 #    <Key "httpd/requests/count">
275 #      Type "http_requests"
276 #    </Key>
278 #    <Key "httpd_request_methods/*/count">
279 #      Type "http_request_methods"
280 #    </Key>
282 #    <Key "httpd_status_codes/*/count">
283 #      Type "http_response_codes"
284 #    </Key>
285 #  </URL>
286 ## Database status metrics:
287 #  <URL "http://localhost:5984/_all_dbs">
288 #    Instance "dbs"
289 #    <Key "*/doc_count">
290 #      Type "gauge"
291 #    </Key>
292 #    <Key "*/doc_del_count">
293 #      Type "counter"
294 #    </Key>
295 #    <Key "*/disk_size">
296 #      Type "bytes"
297 #    </Key>
298 #  </URL>
299 #</Plugin>
301 #<Plugin "curl_xml">
302 #       <URL "http://localhost/stats.xml">
303 #               Host "my_host"
304 #               Instance "some_instance"
305 #               User "collectd"
306 #               Password "thaiNg0I"
307 #               VerifyPeer true
308 #               VerifyHost true
309 #               CACert "/path/to/ca.crt"
311 #               <XPath "table[@id=\"magic_level\"]/tr">
312 #                       Type "magic_level"
313 #                       InstancePrefix "prefix-"
314 #                       InstanceFrom "td[1]"
315 #                       ValuesFrom "td[2]/span[@class=\"level\"]"
316 #               </XPath>
317 #       </URL>
318 #</Plugin>
320 #<Plugin dbi>
321 #       <Query "num_of_customers">
322 #               Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value \
323 #                               FROM customers_tbl"
324 #               MinVersion 40102
325 #               MaxVersion 50042
326 #               <Result>
327 #                       Type "gauge"
328 #                       InstancePrefix "customer"
329 #                       InstancesFrom "c_key"
330 #                       ValuesFrom "c_value"
331 #               </Result>
332 #       </Query>
334 #       <Database "customers_db">
335 #               Driver "mysql"
336 #               DriverOption "host" "localhost"
337 #               DriverOption "username" "collectd"
338 #               DriverOption "password" "secret"
339 #               DriverOption "dbname" "custdb0"
340 #               SelectDB "custdb0"
341 #               Query "num_of_customers"
342 #               Query "..."
343 #       </Database>
344 #</Plugin>
346 <Plugin df>
347 #       Device "/dev/sda1"
348 #       Device "192.168.0.2:/mnt/nfs"
349 #       MountPoint "/home"
350 #       FSType "ext3"
352         # ignore rootfs; else, the root file-system would appear twice, causing
353         # one of the updates to fail and spam the log
354         FSType rootfs
355         # ignore the usual virtual / temporary file-systems
356         FSType sysfs
357         FSType proc
358         FSType devtmpfs
359         FSType devpts
360         FSType tmpfs
361         FSType fusectl
362         FSType cgroup
363         IgnoreSelected true
365 #       ReportByDevice false
366 #       ReportReserved false
367 #       ReportInodes false
368 </Plugin>
370 #<Plugin disk>
371 #       Disk "hda"
372 #       Disk "/sda[23]/"
373 #       IgnoreSelected false
374 #</Plugin>
376 #<Plugin dns>
377 #       Interface "eth0"
378 #       IgnoreSource "192.168.0.1"
379 #       SelectNumericQueryTypes false
380 #</Plugin>
382 #<Plugin email>
383 #       SocketFile "/var/run/collectd-email"
384 #       SocketGroup "collectd"
385 #       SocketPerms "0770"
386 #       MaxConns 5
387 #</Plugin>
389 #<Plugin ethstat>
390 #       Interface "eth0"
391 #       Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
392 #       Map "multicast" "if_multicast"
393 #       MappedOnly false
394 #</Plugin>
396 #<Plugin exec>
397 #       Exec user "/path/to/exec"
398 #       Exec "user:group" "/path/to/exec"
399 #       NotificationExec user "/path/to/exec"
400 #</Plugin>
402 #<Plugin filecount>
403 #       <Directory "/path/to/dir">
404 #               Instance "foodir"
405 #               Name "*.conf"
406 #               MTime "-5m"
407 #               Size "+10k"
408 #               Recursive true
409 #               IncludeHidden false
410 #       </Directory>
411 #</Plugin>
413 #<Plugin gmond>
414 #       MCReceiveFrom "239.2.11.71" "8649"
416 #       <Metric "swap_total">
417 #               Type "swap"
418 #               TypeInstance "total"
419 #               DataSource "value"
420 #       </Metric>
422 #       <Metric "swap_free">
423 #               Type "swap"
424 #               TypeInstance "free"
425 #               DataSource "value"
426 #       </Metric>
427 #</Plugin>
429 #<Plugin hddtemp>
430 #       Host "127.0.0.1"
431 #       Port 7634
432 #</Plugin>
434 #<Plugin interface>
435 #       Interface "eth0"
436 #       IgnoreSelected false
437 #</Plugin>
439 #<Plugin ipmi>
440 #       Sensor "some_sensor"
441 #       Sensor "another_one"
442 #       IgnoreSelected false
443 #       NotifySensorAdd false
444 #       NotifySensorRemove true
445 #       NotifySensorNotPresent false
446 #</Plugin>
448 #<Plugin iptables>
449 #       Chain "table" "chain"
450 #</Plugin>
452 #<Plugin irq>
453 #       Irq 7
454 #       Irq 8
455 #       Irq 9
456 #       IgnoreSelected true
457 #</Plugin>
459 #<Plugin java>
460 #       JVMArg "-verbose:jni"
461 #       JVMArg "-Djava.class.path=/usr/share/collectd/java/collectd-api.jar"
463 #       LoadPlugin "org.collectd.java.GenericJMX"
464 #       <Plugin "GenericJMX">
465 #               # See /usr/share/doc/collectd/examples/GenericJMX.conf
466 #               # for an example config.
467 #       </Plugin>
468 #</Plugin>
470 #<Plugin libvirt>
471 #       Connection "xen:///"
472 #       RefreshInterval 60
473 #       Domain "name"
474 #       BlockDevice "name:device"
475 #       InterfaceDevice "name:device"
476 #       IgnoreSelected false
477 #       HostnameFormat name
478 #       InterfaceFormat name
479 #</Plugin>
481 #<Plugin madwifi>
482 #       Interface "wlan0"
483 #       IgnoreSelected false
484 #       Source "SysFS"
485 #       WatchSet "None"
486 #       WatchAdd "node_octets"
487 #       WatchAdd "node_rssi"
488 #       WatchAdd "is_rx_acl"
489 #       WatchAdd "is_scan_active"
490 #</Plugin>
492 #<Plugin mbmon>
493 #       Host "127.0.0.1"
494 #       Port 411
495 #</Plugin>
497 #<Plugin md>
498 #       Device "/dev/md0"
499 #       IgnoreSelected false
500 #</Plugin>
502 #<Plugin memcachec>
503 #       <Page "plugin_instance">
504 #               Server "localhost"
505 #               Key "page_key"
506 #               <Match>
507 #                       Regex "(\\d+) bytes sent"
508 #                       ExcludeRegex "<lines to be excluded>"
509 #                       DSType CounterAdd
510 #                       Type "ipt_octets"
511 #                       Instance "type_instance"
512 #               </Match>
513 #       </Page>
514 #</Plugin>
516 #<Plugin memcached>
517 #       <Instance "local">
518 #               Socket "/var/run/memcached.sock"
519 # or:
520 #               Host "127.0.0.1"
521 #               Port "11211"
522 #       </Instance>
523 #</Plugin>
525 #<Plugin modbus>
526 #       <Data "data_name">
527 #               RegisterBase 1234
528 #               RegisterType float
529 #               Type gauge
530 #               Instance "..."
531 #       </Data>
533 #       <Host "name">
534 #               Address "addr"
535 #               Port "1234"
536 #               Interval 60
538 #               <Slave 1>
539 #                       Instance "foobar" # optional
540 #                       Collect "data_name"
541 #               </Slave>
542 #       </Host>
543 #</Plugin>
545 #<Plugin mysql>
546 #       <Database db_name>
547 #               Host "database.serv.er"
548 #               Port "3306"
549 #               User "db_user"
550 #               Password "secret"
551 #               Database "db_name"
552 #               MasterStats true
553 #       </Database>
555 #       <Database db_name2>
556 #               Host "localhost"
557 #               Socket "/var/run/mysql/mysqld.sock"
558 #               SlaveStats true
559 #               SlaveNotifications true
560 #       </Database>
561 #</Plugin>
563 #<Plugin netlink>
564 #       Interface "All"
565 #       VerboseInterface "All"
566 #       QDisc "eth0" "pfifo_fast-1:0"
567 #       Class "ppp0" "htb-1:10"
568 #       Filter "ppp0" "u32-1:0"
569 #       IgnoreSelected false
570 #</Plugin>
572 #<Plugin network>
573 #       # client setup:
574 #       Server "ff18::efc0:4a42" "25826"
575 #       <Server "239.192.74.66" "25826">
576 #               SecurityLevel Encrypt
577 #               Username "user"
578 #               Password "secret"
579 #               Interface "eth0"
580 #       </Server>
581 #       TimeToLive "128"
583 #       # server setup:
584 #       Listen "ff18::efc0:4a42" "25826"
585 #       <Listen "239.192.74.66" "25826">
586 #               SecurityLevel Sign
587 #               AuthFile "/etc/collectd/passwd"
588 #               Interface "eth0"
589 #       </Listen>
590 #       MaxPacketSize 1024
592 #       # proxy setup (client and server as above):
593 #       Forward true
595 #       # statistics about the network plugin itself
596 #       ReportStats false
598 #       # "garbage collection"
599 #       CacheFlush 1800
600 #</Plugin>
602 #<Plugin nginx>
603 #       URL "http://localhost/status?auto"
604 #       User "www-user"
605 #       Password "secret"
606 #       VerifyPeer false
607 #       VerifyHost false
608 #       CACert "/etc/ssl/ca.crt"
609 #</Plugin>
611 #<Plugin notify_desktop>
612 #       OkayTimeout 1000
613 #       WarningTimeout 5000
614 #       FailureTimeout 0
615 #</Plugin>
617 #<Plugin notify_email>
618 #       SMTPServer "localhost"
619 #       SMTPPort 25
620 #       SMTPUser "my-username"
621 #       SMTPPassword "my-password"
622 #       From "collectd@main0server.com"
623 #       # <WARNING/FAILURE/OK> on <hostname>.
624 #       # Beware! Do not use not more than two placeholders (%)!
625 #       Subject "[collectd] %s on %s!"
626 #       Recipient "email1@domain1.net"
627 #       Recipient "email2@domain2.com"
628 #</Plugin>
630 #<Plugin ntpd>
631 #       Host "localhost"
632 #       Port 123
633 #       ReverseLookups false
634 #       IncludeUnitID true
635 #</Plugin>
637 #<Plugin nut>
638 #       UPS "upsname@hostname:port"
639 #</Plugin>
641 #<Plugin olsrd>
642 #       Host "127.0.0.1"
643 #       Port "2006"
644 #       CollectLinks "Summary"
645 #       CollectRoutes "Summary"
646 #       CollectTopology "Summary"
647 #</Plugin>
649 #<Plugin openvpn>
650 #       StatusFile "/etc/openvpn/openvpn-status.log"
651 #       ImprovedNamingSchema false
652 #       CollectCompression true
653 #       CollectIndividualUsers true
654 #       CollectUserCount false
655 #</Plugin>
657 #<Plugin perl>
658 #       IncludeDir "/my/include/path"
659 #       BaseName "Collectd::Plugins"
660 #       EnableDebugger ""
661 #       LoadPlugin Monitorus
662 #       LoadPlugin OpenVZ
664 #       <Plugin foo>
665 #               Foo "Bar"
666 #               Qux "Baz"
667 #       </Plugin>
668 #</Plugin>
670 #<Plugin pinba>
671 #       Address "::0"
672 #       Port "30002"
673 #       <View "name">
674 #               Host "host name"
675 #               Server "server name"
676 #               Script "script name"
677 #       <View>
678 #</Plugin>
680 #<Plugin ping>
681 #       Host "host.foo.bar"
682 #       Host "host.baz.qux"
683 #       Interval 1.0
684 #       Timeout 0.9
685 #       TTL 255
686 #       SourceAddress "1.2.3.4"
687 #       Device "eth0"
688 #       MaxMissed -1
689 #</Plugin>
691 #<Plugin postgresql>
692 #       <Query magic>
693 #               Statement "SELECT magic FROM wizard WHERE host = $1;"
694 #               Param hostname
696 #               <Result>
697 #                       Type gauge
698 #                       InstancePrefix "magic"
699 #                       ValuesFrom "magic"
700 #               </Result>
701 #       </Query>
703 #       <Query rt36_tickets>
704 #               Statement "SELECT COUNT(type) AS count, type \
705 #                                 FROM (SELECT CASE \
706 #                                              WHEN resolved = 'epoch' THEN 'open' \
707 #                                              ELSE 'resolved' END AS type \
708 #                                              FROM tickets) type \
709 #                                 GROUP BY type;"
711 #               <Result>
712 #                       Type counter
713 #                       InstancePrefix "rt36_tickets"
714 #                       InstancesFrom "type"
715 #                       ValuesFrom "count"
716 #               </Result>
717 #       </Query>
719 #       <Writer sqlstore>
720 #               # See /usr/share/doc/collectd-core/examples/postgresql/collectd_insert.sql for details
721 #               Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
722 #               StoreRates true
723 #       </Writer>
725 #       <Database foo>
726 #               Host "hostname"
727 #               Port 5432
728 #               User "username"
729 #               Password "secret"
731 #               SSLMode "prefer"
732 #               KRBSrvName "kerberos_service_name"
734 #               Query magic
735 #       </Database>
737 #       <Database bar>
738 #               Interval 60
739 #               Service "service_name"
741 #               Query backend # predefined
742 #               Query rt36_tickets
743 #       </Database>
745 #       <Database qux>
746 #               Service "collectd_store"
747 #               Writer sqlstore
748 #               # see collectd.conf(5) for details
749 #               CommitInterval 30
750 #       </Database>
751 #</Plugin>
753 #<Plugin powerdns>
754 #       <Server "server_name">
755 #               Collect "latency"
756 #               Collect "udp-answers" "udp-queries"
757 #               Socket "/var/run/pdns.controlsocket"
758 #       </Server>
759 #       <Recursor "recursor_name">
760 #               Collect "questions"
761 #               Collect "cache-hits" "cache-misses"
762 #               Socket "/var/run/pdns_recursor.controlsocket"
763 #       </Recursor>
764 #       LocalSocket "/opt/collectd/var/run/collectd-powerdns"
765 #</Plugin>
767 #<Plugin processes>
768 #       Process "name"
769 #       ProcessMatch "foobar" "/usr/bin/perl foobar\\.pl.*"
770 #</Plugin>
772 #<Plugin protocols>
773 #       Value "/^Tcp:/"
774 #       IgnoreSelected false
775 #</Plugin>
777 #<Plugin python>
778 #       ModulePath "/path/to/your/python/modules"
779 #       LogTraces true
780 #       Interactive true
781 #       Import "spam"
783 #       <Module spam>
784 #               spam "wonderful" "lovely"
785 #       </Module>
786 #</Plugin>
788 #<Plugin rrdcached>
789 #       DaemonAddress "unix:/var/run/rrdcached.sock"
790 #       DataDir "/var/lib/rrdcached/db/collectd"
791 #       CreateFiles true
792 #       CollectStatistics true
794 # The following settings are rather advanced
795 # and should usually not be touched:
796 #       StepSize 10
797 #       HeartBeat 20
798 #       RRARows 1200
799 #       RRATimespan 158112000
800 #       XFF 0.1
801 #</Plugin>
803 <Plugin rrdtool>
804         DataDir "/var/lib/collectd/rrd"
805 #       CacheTimeout 120
806 #       CacheFlush 900
807 #       WritesPerSecond 30
808 #       RandomTimeout 0
810 # The following settings are rather advanced
811 # and should usually not be touched:
812 #       StepSize 10
813 #       HeartBeat 20
814 #       RRARows 1200
815 #       RRATimespan 158112000
816 #       XFF 0.1
817 </Plugin>
819 #<Plugin sensors>
820 #       SensorConfigFile "/etc/sensors3.conf"
821 #       Sensor "it8712-isa-0290/temperature-temp1"
822 #       Sensor "it8712-isa-0290/fanspeed-fan3"
823 #       Sensor "it8712-isa-0290/voltage-in8"
824 #       IgnoreSelected false
825 #</Plugin>
827 # See /usr/share/doc/collectd/examples/snmp-data.conf.gz for a
828 # comprehensive sample configuration.
829 #<Plugin snmp>
830 #       <Data "powerplus_voltge_input">
831 #               Type "voltage"
832 #               Table false
833 #               Instance "input_line1"
834 #               Scale 0.1
835 #               Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
836 #       </Data>
837 #       <Data "hr_users">
838 #               Type "users"
839 #               Table false
840 #               Instance ""
841 #               Shift -1
842 #               Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
843 #       </Data>
844 #       <Data "std_traffic">
845 #               Type "if_octets"
846 #               Table true
847 #               InstancePrefix "traffic"
848 #               Instance "IF-MIB::ifDescr"
849 #               Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
850 #       </Data>
852 #       <Host "some.switch.mydomain.org">
853 #               Address "192.168.0.2"
854 #               Version 1
855 #               Community "community_string"
856 #               Collect "std_traffic"
857 #               Inverval 120
858 #       </Host>
859 #       <Host "some.server.mydomain.org">
860 #               Address "192.168.0.42"
861 #               Version 2
862 #               Community "another_string"
863 #               Collect "std_traffic" "hr_users"
864 #       </Host>
865 #       <Host "some.ups.mydomain.org">
866 #               Address "192.168.0.3"
867 #               Version 1
868 #               Community "more_communities"
869 #               Collect "powerplus_voltge_input"
870 #               Interval 300
871 #       </Host>
872 #</Plugin>
874 #<Plugin swap>
875 #       ReportByDevice false
876 #       ReportBytes true
877 #</Plugin>
879 #<Plugin table>
880 #       <Table "/proc/slabinfo">
881 #               Instance "slabinfo"
882 #               Separator " "
883 #               <Result>
884 #                       Type gauge
885 #                       InstancePrefix "active_objs"
886 #                       InstancesFrom 0
887 #                       ValuesFrom 1
888 #               </Result>
889 #               <Result>
890 #                       Type gauge
891 #                       InstancePrefix "objperslab"
892 #                       InstancesFrom 0
893 #                       ValuesFrom 4
894 #               </Result>
895 #       </Table>
896 #</Plugin>
898 #<Plugin "tail">
899 #       <File "/var/log/exim4/mainlog">
900 #               Instance "exim"
901 #               <Match>
902 #                       Regex "S=([1-9][0-9]*)"
903 #                       DSType "CounterAdd"
904 #                       Type "ipt_bytes"
905 #                       Instance "total"
906 #               </Match>
907 #               <Match>
908 #                       Regex "\\<R=local_user\\>"
909 #                       ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
910 #                       DSType "CounterInc"
911 #                       Type "counter"
912 #                       Instance "local_user"
913 #               </Match>
914 #       </File>
915 #</Plugin>
917 #<Plugin tcpconns>
918 #       ListeningPorts false
919 #       LocalPort "25"
920 #       RemotePort "25"
921 #</Plugin>
923 #<Plugin teamspeak2>
924 #       Host "127.0.0.1"
925 #       Port "51234"
926 #       Server "8767"
927 #</Plugin>
929 #<Plugin ted>
930 #       Device "/dev/ttyUSB0"
931 #       Retries 0
932 #</Plugin>
934 #<Plugin thermal>
935 #       ForceUseProcfs false
936 #       Device "THRM"
937 #       IgnoreSelected false
938 #</Plugin>
940 #<Plugin tokyotyrant>
941 #       Host "localhost"
942 #       Port "1978"
943 #</Plugin>
945 #<Plugin unixsock>
946 #       SocketFile "/var/run/collectd-unixsock"
947 #       SocketGroup "collectd"
948 #       SocketPerms "0660"
949 #       DeleteSocket false
950 #</Plugin>
952 #<Plugin uuid>
953 #       UUIDFile "/etc/uuid"
954 #</Plugin>
956 #<Plugin varnish>
957 #       <Instance>
958 #               CollectCache true
959 #               CollectBackend true
960 #               CollectConnections true
961 #               CollectSHM true
962 #               CollectESI false
963 #               CollectFetch false
964 #               CollectHCB false
965 #               CollectSMA false
966 #               CollectSMS false
967 #               CollectSM false
968 #               CollectTotals false
969 #               CollectWorkers false
970 #       </Instance>
972 #       <Instance "myinstance">
973 #               CollectCache true
974 #       </Instance>
975 #</Plugin>
977 #<Plugin vmem>
978 #       Verbose false
979 #</Plugin>
981 #<Plugin write_graphite>
982 #       <Carbon>
983 #               Host "localhost"
984 #               Port "2003"
985 #               Prefix "collectd"
986 #               Postfix "collectd"
987 #               StoreRates false
988 #               AlwaysAppendDS false
989 #               EscapeCharacter "_"
990 #       </Carbon>
991 #</Plugin>
993 #<Plugin write_http>
994 #       <URL "http://example.com/collectd-post">
995 #               User "collectd"
996 #               Password "secret"
997 #               VerifyPeer true
998 #               VerifyHost true
999 #               CACert "/etc/ssl/ca.crt"
1000 #               Format "Command"
1001 #               StoreRates false
1002 #       </URL>
1003 #</Plugin>
1005 #<Plugin write_mongodb>
1006 #       <Node "example">
1007 #               Host "localhost"
1008 #               Port "27017"
1009 #               Timeout 1000
1010 #               StoreRates false
1011 #       <Node>
1012 #</Plugin>
1014 Include "/etc/collectd/filters.conf"
1015 Include "/etc/collectd/thresholds.conf"