Code

8130154c96651fa6e366875538c500e26521bdac
[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 multimeter
103 #LoadPlugin mysql
104 #LoadPlugin netlink
105 #LoadPlugin network
106 #LoadPlugin nfs
107 #LoadPlugin nginx
108 #LoadPlugin notify_desktop
109 #LoadPlugin notify_email
110 #LoadPlugin ntpd
111 #LoadPlugin numa
112 #LoadPlugin nut
113 #LoadPlugin olsrd
114 #LoadPlugin openvpn
115 #<LoadPlugin perl>
116 #       Globals true
117 #</LoadPlugin>
118 #LoadPlugin pinba
119 #LoadPlugin ping
120 #LoadPlugin postgresql
121 #LoadPlugin powerdns
122 LoadPlugin processes
123 #LoadPlugin protocols
124 #<LoadPlugin python>
125 #       Globals true
126 #</LoadPlugin>
127 #LoadPlugin rrdcached
128 LoadPlugin rrdtool
129 #LoadPlugin sensors
130 #LoadPlugin serial
131 #LoadPlugin snmp
132 LoadPlugin swap
133 #LoadPlugin table
134 #LoadPlugin tail
135 #LoadPlugin tcpconns
136 #LoadPlugin teamspeak2
137 #LoadPlugin ted
138 #LoadPlugin thermal
139 #LoadPlugin tokyotyrant
140 #LoadPlugin unixsock
141 #LoadPlugin uptime
142 LoadPlugin users
143 #LoadPlugin uuid
144 #LoadPlugin varnish
145 #LoadPlugin vmem
146 #LoadPlugin vserver
147 #LoadPlugin wireless
148 #LoadPlugin write_graphite
149 #LoadPlugin write_http
150 #LoadPlugin write_mongodb
152 ##############################################################################
153 # Plugin configuration                                                       #
154 #----------------------------------------------------------------------------#
155 # In this section configuration stubs for each plugin are provided. A desc-  #
156 # ription of those options is available in the collectd.conf(5) manual page. #
157 ##############################################################################
159 #<Plugin "aggregation">
160 #       <Aggregation>
161 #               #Host "unspecified"
162 #               Plugin "cpu"
163 #               #PluginInstance "unspecified"
164 #               Type "cpu"
165 #               #TypeInstance "unspecified"
167 #               GroupBy "Host"
168 #               GroupBy "TypeInstance"
170 #               CalculateNum false
171 #               CalculateSum false
172 #               CalculateAverage true
173 #               CalculateMinimum false
174 #               CalculateMaximum false
175 #               CalculateStddev false
176 #       </Aggregation>
177 #</Plugin>
179 #<Plugin amqp>
180 #       <Publish "name">
181 #               Host "localhost"
182 #               Port "5672"
183 #               VHost "/"
184 #               User "guest"
185 #               Password "guest"
186 #               Exchange "amq.fanout"
187 #               RoutingKey "collectd"
188 #               Persistent false
189 #               StoreRates false
190 #       </Publish>
191 #</Plugin>
193 #<Plugin apache>
194 #       <Instance "foo">
195 #               URL "http://localhost/server-status?auto"
196 #               User "www-user"
197 #               Password "secret"
198 #               VerifyPeer false
199 #               VerifyHost false
200 #               CACert "/etc/ssl/ca.crt"
201 #               Server "apache"
202 #       </Instance>
204 #       <Instance "bar">
205 #               URL "http://some.domain.tld/status?auto"
206 #               Host "some.domain.tld"
207 #               Server "lighttpd"
208 #       </Instance>
209 #</Plugin>
211 #<Plugin apcups>
212 #       Host "localhost"
213 #       Port "3551"
214 #</Plugin>
216 #<Plugin ascent>
217 #       URL "http://localhost/ascent/status/"
218 #       User "www-user"
219 #       Password "secret"
220 #       VerifyPeer false
221 #       VerifyHost false
222 #       CACert "/etc/ssl/ca.crt"
223 #</Plugin>
225 #<Plugin "bind">
226 #       URL "http://localhost:8053/"
228 #       ParseTime false
230 #       OpCodes true
231 #       QTypes true
232 #       ServerStats true
233 #       ZoneMaintStats true
234 #       ResolverStats false
235 #       MemoryStats true
237 #       <View "_default">
238 #               QTypes true
239 #               ResolverStats true
240 #               CacheRRSets true
242 #               Zone "127.in-addr.arpa/IN"
243 #       </View>
244 #</Plugin>
246 #<Plugin csv>
247 #       DataDir "/var/lib/collectd/csv"
248 #       StoreRates false
249 #</Plugin>
251 #<Plugin curl>
252 #       <Page "stock_quotes">
253 #               URL "http://finance.google.com/finance?q=NYSE%3AAMD"
254 #               User "foo"
255 #               Password "bar"
256 #               VerifyPeer false
257 #               VerifyHost false
258 #               CACert "/etc/ssl/ca.crt"
259 #               MeasureResponseTime false
260 #               <Match>
261 #                       Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
262 #                       DSType "GaugeAverage"
263 #                       Type "stock_value"
264 #                       Instance "AMD"
265 #               </Match>
266 #       </Page>
267 #</Plugin>
269 #<Plugin curl_json>
270 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
271 #  <URL "http://localhost:5984/_stats">
272 #    Instance "httpd"
273 #    <Key "httpd/requests/count">
274 #      Type "http_requests"
275 #    </Key>
277 #    <Key "httpd_request_methods/*/count">
278 #      Type "http_request_methods"
279 #    </Key>
281 #    <Key "httpd_status_codes/*/count">
282 #      Type "http_response_codes"
283 #    </Key>
284 #  </URL>
285 ## Database status metrics:
286 #  <URL "http://localhost:5984/_all_dbs">
287 #    Instance "dbs"
288 #    <Key "*/doc_count">
289 #      Type "gauge"
290 #    </Key>
291 #    <Key "*/doc_del_count">
292 #      Type "counter"
293 #    </Key>
294 #    <Key "*/disk_size">
295 #      Type "bytes"
296 #    </Key>
297 #  </URL>
298 #</Plugin>
300 #<Plugin "curl_xml">
301 #       <URL "http://localhost/stats.xml">
302 #               Host "my_host"
303 #               Instance "some_instance"
304 #               User "collectd"
305 #               Password "thaiNg0I"
306 #               VerifyPeer true
307 #               VerifyHost true
308 #               CACert "/path/to/ca.crt"
310 #               <XPath "table[@id=\"magic_level\"]/tr">
311 #                       Type "magic_level"
312 #                       InstancePrefix "prefix-"
313 #                       InstanceFrom "td[1]"
314 #                       ValuesFrom "td[2]/span[@class=\"level\"]"
315 #               </XPath>
316 #       </URL>
317 #</Plugin>
319 #<Plugin dbi>
320 #       <Query "num_of_customers">
321 #               Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value \
322 #                               FROM customers_tbl"
323 #               MinVersion 40102
324 #               MaxVersion 50042
325 #               <Result>
326 #                       Type "gauge"
327 #                       InstancePrefix "customer"
328 #                       InstancesFrom "c_key"
329 #                       ValuesFrom "c_value"
330 #               </Result>
331 #       </Query>
333 #       <Database "customers_db">
334 #               Driver "mysql"
335 #               DriverOption "host" "localhost"
336 #               DriverOption "username" "collectd"
337 #               DriverOption "password" "secret"
338 #               DriverOption "dbname" "custdb0"
339 #               SelectDB "custdb0"
340 #               Query "num_of_customers"
341 #               Query "..."
342 #       </Database>
343 #</Plugin>
345 #<Plugin df>
346 #       Device "/dev/sda1"
347 #       Device "192.168.0.2:/mnt/nfs"
348 #       MountPoint "/home"
349 #       FSType "ext3"
350 #       IgnoreSelected false
351 #       ReportByDevice false
352 #       ReportReserved false
353 #       ReportInodes false
354 #</Plugin>
356 #<Plugin disk>
357 #       Disk "hda"
358 #       Disk "/sda[23]/"
359 #       IgnoreSelected false
360 #</Plugin>
362 #<Plugin dns>
363 #       Interface "eth0"
364 #       IgnoreSource "192.168.0.1"
365 #       SelectNumericQueryTypes false
366 #</Plugin>
368 #<Plugin email>
369 #       SocketFile "/var/run/collectd-email"
370 #       SocketGroup "collectd"
371 #       SocketPerms "0770"
372 #       MaxConns 5
373 #</Plugin>
375 #<Plugin ethstat>
376 #       Interface "eth0"
377 #       Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
378 #       Map "multicast" "if_multicast"
379 #       MappedOnly false
380 #</Plugin>
382 #<Plugin exec>
383 #       Exec user "/path/to/exec"
384 #       Exec "user:group" "/path/to/exec"
385 #       NotificationExec user "/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"
402 #       <Metric "swap_total">
403 #               Type "swap"
404 #               TypeInstance "total"
405 #               DataSource "value"
406 #       </Metric>
408 #       <Metric "swap_free">
409 #               Type "swap"
410 #               TypeInstance "free"
411 #               DataSource "value"
412 #       </Metric>
413 #</Plugin>
415 #<Plugin hddtemp>
416 #       Host "127.0.0.1"
417 #       Port 7634
418 #</Plugin>
420 #<Plugin interface>
421 #       Interface "eth0"
422 #       IgnoreSelected false
423 #</Plugin>
425 #<Plugin ipmi>
426 #       Sensor "some_sensor"
427 #       Sensor "another_one"
428 #       IgnoreSelected false
429 #       NotifySensorAdd false
430 #       NotifySensorRemove true
431 #       NotifySensorNotPresent false
432 #</Plugin>
434 #<Plugin iptables>
435 #       Chain "table" "chain"
436 #</Plugin>
438 #<Plugin irq>
439 #       Irq 7
440 #       Irq 8
441 #       Irq 9
442 #       IgnoreSelected true
443 #</Plugin>
445 #<Plugin java>
446 #       JVMArg "-verbose:jni"
447 #       JVMArg "-Djava.class.path=/usr/share/collectd/java/collectd-api.jar"
449 #       LoadPlugin "org.collectd.java.GenericJMX"
450 #       <Plugin "GenericJMX">
451 #               # See /usr/share/doc/collectd/examples/GenericJMX.conf
452 #               # for an example config.
453 #       </Plugin>
454 #</Plugin>
456 #<Plugin libvirt>
457 #       Connection "xen:///"
458 #       RefreshInterval 60
459 #       Domain "name"
460 #       BlockDevice "name:device"
461 #       InterfaceDevice "name:device"
462 #       IgnoreSelected false
463 #       HostnameFormat name
464 #       InterfaceFormat name
465 #</Plugin>
467 #<Plugin madwifi>
468 #       Interface "wlan0"
469 #       IgnoreSelected false
470 #       Source "SysFS"
471 #       WatchSet "None"
472 #       WatchAdd "node_octets"
473 #       WatchAdd "node_rssi"
474 #       WatchAdd "is_rx_acl"
475 #       WatchAdd "is_scan_active"
476 #</Plugin>
478 #<Plugin mbmon>
479 #       Host "127.0.0.1"
480 #       Port 411
481 #</Plugin>
483 #<Plugin md>
484 #       Device "/dev/md0"
485 #       IgnoreSelected false
486 #</Plugin>
488 #<Plugin memcachec>
489 #       <Page "plugin_instance">
490 #               Server "localhost"
491 #               Key "page_key"
492 #               <Match>
493 #                       Regex "(\\d+) bytes sent"
494 #                       ExcludeRegex "<lines to be excluded>"
495 #                       DSType CounterAdd
496 #                       Type "ipt_octets"
497 #                       Instance "type_instance"
498 #               </Match>
499 #       </Page>
500 #</Plugin>
502 #<Plugin memcached>
503 #       <Instance "local">
504 #               Socket "/var/run/memcached.sock"
505 # or:
506 #               Host "127.0.0.1"
507 #               Port "11211"
508 #       </Instance>
509 #</Plugin>
511 #<Plugin mysql>
512 #       <Database db_name>
513 #               Host "database.serv.er"
514 #               Port "3306"
515 #               User "db_user"
516 #               Password "secret"
517 #               Database "db_name"
518 #               MasterStats true
519 #       </Database>
521 #       <Database db_name2>
522 #               Host "localhost"
523 #               Socket "/var/run/mysql/mysqld.sock"
524 #               SlaveStats true
525 #               SlaveNotifications true
526 #       </Database>
527 #</Plugin>
529 #<Plugin netlink>
530 #       Interface "All"
531 #       VerboseInterface "All"
532 #       QDisc "eth0" "pfifo_fast-1:0"
533 #       Class "ppp0" "htb-1:10"
534 #       Filter "ppp0" "u32-1:0"
535 #       IgnoreSelected false
536 #</Plugin>
538 #<Plugin network>
539 #       # client setup:
540 #       Server "ff18::efc0:4a42" "25826"
541 #       <Server "239.192.74.66" "25826">
542 #               SecurityLevel Encrypt
543 #               Username "user"
544 #               Password "secret"
545 #               Interface "eth0"
546 #       </Server>
547 #       TimeToLive "128"
549 #       # server setup:
550 #       Listen "ff18::efc0:4a42" "25826"
551 #       <Listen "239.192.74.66" "25826">
552 #               SecurityLevel Sign
553 #               AuthFile "/etc/collectd/passwd"
554 #               Interface "eth0"
555 #       </Listen>
556 #       MaxPacketSize 1024
558 #       # proxy setup (client and server as above):
559 #       Forward true
561 #       # statistics about the network plugin itself
562 #       ReportStats false
564 #       # "garbage collection"
565 #       CacheFlush 1800
566 #</Plugin>
568 #<Plugin nginx>
569 #       URL "http://localhost/status?auto"
570 #       User "www-user"
571 #       Password "secret"
572 #       VerifyPeer false
573 #       VerifyHost false
574 #       CACert "/etc/ssl/ca.crt"
575 #</Plugin>
577 #<Plugin notify_desktop>
578 #       OkayTimeout 1000
579 #       WarningTimeout 5000
580 #       FailureTimeout 0
581 #</Plugin>
583 #<Plugin notify_email>
584 #       SMTPServer "localhost"
585 #       SMTPPort 25
586 #       SMTPUser "my-username"
587 #       SMTPPassword "my-password"
588 #       From "collectd@main0server.com"
589 #       # <WARNING/FAILURE/OK> on <hostname>.
590 #       # Beware! Do not use not more than two placeholders (%)!
591 #       Subject "[collectd] %s on %s!"
592 #       Recipient "email1@domain1.net"
593 #       Recipient "email2@domain2.com"
594 #</Plugin>
596 #<Plugin ntpd>
597 #       Host "localhost"
598 #       Port 123
599 #       ReverseLookups false
600 #       IncludeUnitID true
601 #</Plugin>
603 #<Plugin nut>
604 #       UPS "upsname@hostname:port"
605 #</Plugin>
607 #<Plugin olsrd>
608 #       Host "127.0.0.1"
609 #       Port "2006"
610 #       CollectLinks "Summary"
611 #       CollectRoutes "Summary"
612 #       CollectTopology "Summary"
613 #</Plugin>
615 #<Plugin openvpn>
616 #       StatusFile "/etc/openvpn/openvpn-status.log"
617 #       ImprovedNamingSchema false
618 #       CollectCompression true
619 #       CollectIndividualUsers true
620 #       CollectUserCount false
621 #</Plugin>
623 #<Plugin perl>
624 #       IncludeDir "/my/include/path"
625 #       BaseName "Collectd::Plugins"
626 #       EnableDebugger ""
627 #       LoadPlugin Monitorus
628 #       LoadPlugin OpenVZ
630 #       <Plugin foo>
631 #               Foo "Bar"
632 #               Qux "Baz"
633 #       </Plugin>
634 #</Plugin>
636 #<Plugin pinba>
637 #       Address "::0"
638 #       Port "30002"
639 #       <View "name">
640 #               Host "host name"
641 #               Server "server name"
642 #               Script "script name"
643 #       <View>
644 #</Plugin>
646 #<Plugin ping>
647 #       Host "host.foo.bar"
648 #       Host "host.baz.qux"
649 #       Interval 1.0
650 #       Timeout 0.9
651 #       TTL 255
652 #       SourceAddress "1.2.3.4"
653 #       Device "eth0"
654 #       MaxMissed -1
655 #</Plugin>
657 #<Plugin postgresql>
658 #       <Query magic>
659 #               Statement "SELECT magic FROM wizard WHERE host = $1;"
660 #               Param hostname
662 #               <Result>
663 #                       Type gauge
664 #                       InstancePrefix "magic"
665 #                       ValuesFrom "magic"
666 #               </Result>
667 #       </Query>
669 #       <Query rt36_tickets>
670 #               Statement "SELECT COUNT(type) AS count, type \
671 #                                 FROM (SELECT CASE \
672 #                                              WHEN resolved = 'epoch' THEN 'open' \
673 #                                              ELSE 'resolved' END AS type \
674 #                                              FROM tickets) type \
675 #                                 GROUP BY type;"
677 #               <Result>
678 #                       Type counter
679 #                       InstancePrefix "rt36_tickets"
680 #                       InstancesFrom "type"
681 #                       ValuesFrom "count"
682 #               </Result>
683 #       </Query>
685 #       <Writer sqlstore>
686 #               # See /usr/share/doc/collectd-core/examples/postgresql/collectd_insert.sql for details
687 #               Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
688 #               StoreRates true
689 #       </Writer>
691 #       <Database foo>
692 #               Host "hostname"
693 #               Port 5432
694 #               User "username"
695 #               Password "secret"
697 #               SSLMode "prefer"
698 #               KRBSrvName "kerberos_service_name"
700 #               Query magic
701 #       </Database>
703 #       <Database bar>
704 #               Interval 60
705 #               Service "service_name"
707 #               Query backend # predefined
708 #               Query rt36_tickets
709 #       </Database>
711 #       <Database qux>
712 #               Service "collectd_store"
713 #               Writer sqlstore
714 #               # see collectd.conf(5) for details
715 #               CommitInterval 30
716 #       </Database>
717 #</Plugin>
719 #<Plugin powerdns>
720 #       <Server "server_name">
721 #               Collect "latency"
722 #               Collect "udp-answers" "udp-queries"
723 #               Socket "/var/run/pdns.controlsocket"
724 #       </Server>
725 #       <Recursor "recursor_name">
726 #               Collect "questions"
727 #               Collect "cache-hits" "cache-misses"
728 #               Socket "/var/run/pdns_recursor.controlsocket"
729 #       </Recursor>
730 #       LocalSocket "/opt/collectd/var/run/collectd-powerdns"
731 #</Plugin>
733 #<Plugin processes>
734 #       Process "name"
735 #       ProcessMatch "foobar" "/usr/bin/perl foobar\\.pl.*"
736 #</Plugin>
738 #<Plugin protocols>
739 #       Value "/^Tcp:/"
740 #       IgnoreSelected false
741 #</Plugin>
743 #<Plugin python>
744 #       ModulePath "/path/to/your/python/modules"
745 #       LogTraces true
746 #       Interactive true
747 #       Import "spam"
749 #       <Module spam>
750 #               spam "wonderful" "lovely"
751 #       </Module>
752 #</Plugin>
754 #<Plugin rrdcached>
755 #       DaemonAddress "unix:/var/run/rrdcached.sock"
756 #       DataDir "/var/lib/rrdcached/db/collectd"
757 #       CreateFiles true
758 #       CollectStatistics true
760 # The following settings are rather advanced
761 # and should usually not be touched:
762 #       StepSize 10
763 #       HeartBeat 20
764 #       RRARows 1200
765 #       RRATimespan 158112000
766 #       XFF 0.1
767 #</Plugin>
769 <Plugin rrdtool>
770         DataDir "/var/lib/collectd/rrd"
771 #       CacheTimeout 120
772 #       CacheFlush 900
773 #       WritesPerSecond 30
774 #       RandomTimeout 0
776 # The following settings are rather advanced
777 # and should usually not be touched:
778 #       StepSize 10
779 #       HeartBeat 20
780 #       RRARows 1200
781 #       RRATimespan 158112000
782 #       XFF 0.1
783 </Plugin>
785 #<Plugin sensors>
786 #       SensorConfigFile "/etc/sensors3.conf"
787 #       Sensor "it8712-isa-0290/temperature-temp1"
788 #       Sensor "it8712-isa-0290/fanspeed-fan3"
789 #       Sensor "it8712-isa-0290/voltage-in8"
790 #       IgnoreSelected false
791 #</Plugin>
793 # See /usr/share/doc/collectd/examples/snmp-data.conf.gz for a
794 # comprehensive sample configuration.
795 #<Plugin snmp>
796 #       <Data "powerplus_voltge_input">
797 #               Type "voltage"
798 #               Table false
799 #               Instance "input_line1"
800 #               Scale 0.1
801 #               Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
802 #       </Data>
803 #       <Data "hr_users">
804 #               Type "users"
805 #               Table false
806 #               Instance ""
807 #               Shift -1
808 #               Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
809 #       </Data>
810 #       <Data "std_traffic">
811 #               Type "if_octets"
812 #               Table true
813 #               InstancePrefix "traffic"
814 #               Instance "IF-MIB::ifDescr"
815 #               Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
816 #       </Data>
818 #       <Host "some.switch.mydomain.org">
819 #               Address "192.168.0.2"
820 #               Version 1
821 #               Community "community_string"
822 #               Collect "std_traffic"
823 #               Inverval 120
824 #       </Host>
825 #       <Host "some.server.mydomain.org">
826 #               Address "192.168.0.42"
827 #               Version 2
828 #               Community "another_string"
829 #               Collect "std_traffic" "hr_users"
830 #       </Host>
831 #       <Host "some.ups.mydomain.org">
832 #               Address "192.168.0.3"
833 #               Version 1
834 #               Community "more_communities"
835 #               Collect "powerplus_voltge_input"
836 #               Interval 300
837 #       </Host>
838 #</Plugin>
840 #<Plugin swap>
841 #       ReportByDevice false
842 #       ReportBytes true
843 #</Plugin>
845 #<Plugin table>
846 #       <Table "/proc/slabinfo">
847 #               Instance "slabinfo"
848 #               Separator " "
849 #               <Result>
850 #                       Type gauge
851 #                       InstancePrefix "active_objs"
852 #                       InstancesFrom 0
853 #                       ValuesFrom 1
854 #               </Result>
855 #               <Result>
856 #                       Type gauge
857 #                       InstancePrefix "objperslab"
858 #                       InstancesFrom 0
859 #                       ValuesFrom 4
860 #               </Result>
861 #       </Table>
862 #</Plugin>
864 #<Plugin "tail">
865 #       <File "/var/log/exim4/mainlog">
866 #               Instance "exim"
867 #               <Match>
868 #                       Regex "S=([1-9][0-9]*)"
869 #                       DSType "CounterAdd"
870 #                       Type "ipt_bytes"
871 #                       Instance "total"
872 #               </Match>
873 #               <Match>
874 #                       Regex "\\<R=local_user\\>"
875 #                       ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
876 #                       DSType "CounterInc"
877 #                       Type "counter"
878 #                       Instance "local_user"
879 #               </Match>
880 #       </File>
881 #</Plugin>
883 #<Plugin tcpconns>
884 #       ListeningPorts false
885 #       LocalPort "25"
886 #       RemotePort "25"
887 #</Plugin>
889 #<Plugin teamspeak2>
890 #       Host "127.0.0.1"
891 #       Port "51234"
892 #       Server "8767"
893 #</Plugin>
895 #<Plugin ted>
896 #       Device "/dev/ttyUSB0"
897 #       Retries 0
898 #</Plugin>
900 #<Plugin thermal>
901 #       ForceUseProcfs false
902 #       Device "THRM"
903 #       IgnoreSelected false
904 #</Plugin>
906 #<Plugin tokyotyrant>
907 #       Host "localhost"
908 #       Port "1978"
909 #</Plugin>
911 #<Plugin unixsock>
912 #       SocketFile "/var/run/collectd-unixsock"
913 #       SocketGroup "collectd"
914 #       SocketPerms "0660"
915 #       DeleteSocket false
916 #</Plugin>
918 #<Plugin uuid>
919 #       UUIDFile "/etc/uuid"
920 #</Plugin>
922 #<Plugin varnish>
923 #       <Instance>
924 #               CollectCache true
925 #               CollectBackend true
926 #               CollectConnections true
927 #               CollectSHM true
928 #               CollectESI false
929 #               CollectFetch false
930 #               CollectHCB false
931 #               CollectSMA false
932 #               CollectSMS false
933 #               CollectSM false
934 #               CollectTotals false
935 #               CollectWorkers false
936 #       </Instance>
938 #       <Instance "myinstance">
939 #               CollectCache true
940 #       </Instance>
941 #</Plugin>
943 #<Plugin vmem>
944 #       Verbose false
945 #</Plugin>
947 #<Plugin write_graphite>
948 #       <Carbon>
949 #               Host "localhost"
950 #               Port "2003"
951 #               Prefix "collectd"
952 #               Postfix "collectd"
953 #               StoreRates false
954 #               AlwaysAppendDS false
955 #               EscapeCharacter "_"
956 #       </Carbon>
957 #</Plugin>
959 #<Plugin write_http>
960 #       <URL "http://example.com/collectd-post">
961 #               User "collectd"
962 #               Password "secret"
963 #               VerifyPeer true
964 #               VerifyHost true
965 #               CACert "/etc/ssl/ca.crt"
966 #               Format "Command"
967 #               StoreRates false
968 #       </URL>
969 #</Plugin>
971 #<Plugin write_mongodb>
972 #       <Node "example">
973 #               Host "localhost"
974 #               Port "27017"
975 #               Timeout 1000
976 #               StoreRates false
977 #       <Node>
978 #</Plugin>
980 Include "/etc/collectd/filters.conf"
981 Include "/etc/collectd/thresholds.conf"