Code

43a76fa819dbd56f3885345cdef99d95ef5bebb6
[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 apache
63 #LoadPlugin apcups
64 #LoadPlugin ascent
65 LoadPlugin battery
66 #LoadPlugin bind
67 #LoadPlugin conntrack
68 #LoadPlugin contextswitch
69 LoadPlugin cpu
70 #LoadPlugin cpufreq
71 #LoadPlugin csv
72 #LoadPlugin curl
73 #LoadPlugin curl_json
74 #LoadPlugin curl_xml
75 #LoadPlugin dbi
76 LoadPlugin df
77 LoadPlugin disk
78 #LoadPlugin dns
79 #LoadPlugin email
80 LoadPlugin entropy
81 #LoadPlugin ethstat
82 #LoadPlugin exec
83 #LoadPlugin filecount
84 #LoadPlugin fscache
85 #LoadPlugin gmond
86 #LoadPlugin hddtemp
87 LoadPlugin interface
88 #LoadPlugin ipmi
89 #LoadPlugin iptables
90 #LoadPlugin ipvs
91 LoadPlugin irq
92 #LoadPlugin java
93 #LoadPlugin libvirt
94 LoadPlugin load
95 #LoadPlugin madwifi
96 #LoadPlugin mbmon
97 #LoadPlugin md
98 #LoadPlugin memcachec
99 #LoadPlugin memcached
100 LoadPlugin memory
101 #LoadPlugin multimeter
102 #LoadPlugin mysql
103 #LoadPlugin netlink
104 #LoadPlugin network
105 #LoadPlugin nfs
106 #LoadPlugin nginx
107 #LoadPlugin notify_desktop
108 #LoadPlugin notify_email
109 #LoadPlugin ntpd
110 #LoadPlugin numa
111 #LoadPlugin nut
112 #LoadPlugin olsrd
113 #LoadPlugin openvpn
114 #<LoadPlugin perl>
115 #       Globals true
116 #</LoadPlugin>
117 #LoadPlugin pinba
118 #LoadPlugin ping
119 #LoadPlugin postgresql
120 #LoadPlugin powerdns
121 LoadPlugin processes
122 #LoadPlugin protocols
123 #<LoadPlugin python>
124 #       Globals true
125 #</LoadPlugin>
126 #LoadPlugin rrdcached
127 LoadPlugin rrdtool
128 #LoadPlugin sensors
129 #LoadPlugin serial
130 #LoadPlugin snmp
131 LoadPlugin swap
132 #LoadPlugin table
133 #LoadPlugin tail
134 #LoadPlugin tcpconns
135 #LoadPlugin teamspeak2
136 #LoadPlugin ted
137 #LoadPlugin thermal
138 #LoadPlugin tokyotyrant
139 #LoadPlugin unixsock
140 #LoadPlugin uptime
141 LoadPlugin users
142 #LoadPlugin uuid
143 #LoadPlugin varnish
144 #LoadPlugin vmem
145 #LoadPlugin vserver
146 #LoadPlugin wireless
147 #LoadPlugin write_graphite
148 #LoadPlugin write_http
149 #LoadPlugin write_mongodb
151 ##############################################################################
152 # Plugin configuration                                                       #
153 #----------------------------------------------------------------------------#
154 # In this section configuration stubs for each plugin are provided. A desc-  #
155 # ription of those options is available in the collectd.conf(5) manual page. #
156 ##############################################################################
158 #<Plugin "aggregation">
159 #       <Aggregation>
160 #               #Host "unspecified"
161 #               Plugin "cpu"
162 #               #PluginInstance "unspecified"
163 #               Type "cpu"
164 #               #TypeInstance "unspecified"
166 #               GroupBy "Host"
167 #               GroupBy "TypeInstance"
169 #               CalculateNum false
170 #               CalculateSum false
171 #               CalculateAverage true
172 #               CalculateMinimum false
173 #               CalculateMaximum false
174 #               CalculateStddev false
175 #       </Aggregation>
176 #</Plugin>
178 #<Plugin apache>
179 #       <Instance "foo">
180 #               URL "http://localhost/server-status?auto"
181 #               User "www-user"
182 #               Password "secret"
183 #               VerifyPeer false
184 #               VerifyHost false
185 #               CACert "/etc/ssl/ca.crt"
186 #               Server "apache"
187 #       </Instance>
189 #       <Instance "bar">
190 #               URL "http://some.domain.tld/status?auto"
191 #               Host "some.domain.tld"
192 #               Server "lighttpd"
193 #       </Instance>
194 #</Plugin>
196 #<Plugin apcups>
197 #       Host "localhost"
198 #       Port "3551"
199 #</Plugin>
201 #<Plugin ascent>
202 #       URL "http://localhost/ascent/status/"
203 #       User "www-user"
204 #       Password "secret"
205 #       VerifyPeer false
206 #       VerifyHost false
207 #       CACert "/etc/ssl/ca.crt"
208 #</Plugin>
210 #<Plugin "bind">
211 #       URL "http://localhost:8053/"
213 #       ParseTime false
215 #       OpCodes true
216 #       QTypes true
217 #       ServerStats true
218 #       ZoneMaintStats true
219 #       ResolverStats false
220 #       MemoryStats true
222 #       <View "_default">
223 #               QTypes true
224 #               ResolverStats true
225 #               CacheRRSets true
227 #               Zone "127.in-addr.arpa/IN"
228 #       </View>
229 #</Plugin>
231 #<Plugin csv>
232 #       DataDir "/var/lib/collectd/csv"
233 #       StoreRates false
234 #</Plugin>
236 #<Plugin curl>
237 #       <Page "stock_quotes">
238 #               URL "http://finance.google.com/finance?q=NYSE%3AAMD"
239 #               User "foo"
240 #               Password "bar"
241 #               VerifyPeer false
242 #               VerifyHost false
243 #               CACert "/etc/ssl/ca.crt"
244 #               MeasureResponseTime false
245 #               <Match>
246 #                       Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
247 #                       DSType "GaugeAverage"
248 #                       Type "stock_value"
249 #                       Instance "AMD"
250 #               </Match>
251 #       </Page>
252 #</Plugin>
254 #<Plugin curl_json>
255 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
256 #  <URL "http://localhost:5984/_stats">
257 #    Instance "httpd"
258 #    <Key "httpd/requests/count">
259 #      Type "http_requests"
260 #    </Key>
262 #    <Key "httpd_request_methods/*/count">
263 #      Type "http_request_methods"
264 #    </Key>
266 #    <Key "httpd_status_codes/*/count">
267 #      Type "http_response_codes"
268 #    </Key>
269 #  </URL>
270 ## Database status metrics:
271 #  <URL "http://localhost:5984/_all_dbs">
272 #    Instance "dbs"
273 #    <Key "*/doc_count">
274 #      Type "gauge"
275 #    </Key>
276 #    <Key "*/doc_del_count">
277 #      Type "counter"
278 #    </Key>
279 #    <Key "*/disk_size">
280 #      Type "bytes"
281 #    </Key>
282 #  </URL>
283 #</Plugin>
285 #<Plugin "curl_xml">
286 #       <URL "http://localhost/stats.xml">
287 #               Host "my_host"
288 #               Instance "some_instance"
289 #               User "collectd"
290 #               Password "thaiNg0I"
291 #               VerifyPeer true
292 #               VerifyHost true
293 #               CACert "/path/to/ca.crt"
295 #               <XPath "table[@id=\"magic_level\"]/tr">
296 #                       Type "magic_level"
297 #                       InstancePrefix "prefix-"
298 #                       InstanceFrom "td[1]"
299 #                       ValuesFrom "td[2]/span[@class=\"level\"]"
300 #               </XPath>
301 #       </URL>
302 #</Plugin>
304 #<Plugin dbi>
305 #       <Query "num_of_customers">
306 #               Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value \
307 #                               FROM customers_tbl"
308 #               MinVersion 40102
309 #               MaxVersion 50042
310 #               <Result>
311 #                       Type "gauge"
312 #                       InstancePrefix "customer"
313 #                       InstancesFrom "c_key"
314 #                       ValuesFrom "c_value"
315 #               </Result>
316 #       </Query>
318 #       <Database "customers_db">
319 #               Driver "mysql"
320 #               DriverOption "host" "localhost"
321 #               DriverOption "username" "collectd"
322 #               DriverOption "password" "secret"
323 #               DriverOption "dbname" "custdb0"
324 #               SelectDB "custdb0"
325 #               Query "num_of_customers"
326 #               Query "..."
327 #       </Database>
328 #</Plugin>
330 <Plugin df>
331 #       Device "/dev/sda1"
332 #       Device "192.168.0.2:/mnt/nfs"
333 #       MountPoint "/home"
334 #       FSType "ext3"
336         # ignore rootfs; else, the root file-system would appear twice, causing
337         # one of the updates to fail and spam the log
338         FSType rootfs
339         # ignore the usual virtual / temporary file-systems
340         FSType sysfs
341         FSType proc
342         FSType devtmpfs
343         FSType devpts
344         FSType tmpfs
345         FSType fusectl
346         FSType cgroup
347         IgnoreSelected true
349 #       ReportByDevice false
350 #       ReportReserved false
351 #       ReportInodes false
352 </Plugin>
354 #<Plugin disk>
355 #       Disk "hda"
356 #       Disk "/sda[23]/"
357 #       IgnoreSelected false
358 #</Plugin>
360 #<Plugin dns>
361 #       Interface "eth0"
362 #       IgnoreSource "192.168.0.1"
363 #       SelectNumericQueryTypes false
364 #</Plugin>
366 #<Plugin email>
367 #       SocketFile "/var/run/collectd-email"
368 #       SocketGroup "collectd"
369 #       SocketPerms "0770"
370 #       MaxConns 5
371 #</Plugin>
373 #<Plugin ethstat>
374 #       Interface "eth0"
375 #       Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
376 #       Map "multicast" "if_multicast"
377 #       MappedOnly false
378 #</Plugin>
380 #<Plugin exec>
381 #       Exec user "/path/to/exec"
382 #       Exec "user:group" "/path/to/exec"
383 #       NotificationExec user "/path/to/exec"
384 #</Plugin>
386 #<Plugin filecount>
387 #       <Directory "/path/to/dir">
388 #               Instance "foodir"
389 #               Name "*.conf"
390 #               MTime "-5m"
391 #               Size "+10k"
392 #               Recursive true
393 #               IncludeHidden false
394 #       </Directory>
395 #</Plugin>
397 #<Plugin gmond>
398 #       MCReceiveFrom "239.2.11.71" "8649"
400 #       <Metric "swap_total">
401 #               Type "swap"
402 #               TypeInstance "total"
403 #               DataSource "value"
404 #       </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=/usr/share/collectd/java/collectd-api.jar"
447 #       LoadPlugin "org.collectd.java.GenericJMX"
448 #       <Plugin "GenericJMX">
449 #               # See /usr/share/doc/collectd/examples/GenericJMX.conf
450 #               # for an example config.
451 #       </Plugin>
452 #</Plugin>
454 #<Plugin libvirt>
455 #       Connection "xen:///"
456 #       RefreshInterval 60
457 #       Domain "name"
458 #       BlockDevice "name:device"
459 #       InterfaceDevice "name:device"
460 #       IgnoreSelected false
461 #       HostnameFormat name
462 #       InterfaceFormat name
463 #</Plugin>
465 #<Plugin madwifi>
466 #       Interface "wlan0"
467 #       IgnoreSelected false
468 #       Source "SysFS"
469 #       WatchSet "None"
470 #       WatchAdd "node_octets"
471 #       WatchAdd "node_rssi"
472 #       WatchAdd "is_rx_acl"
473 #       WatchAdd "is_scan_active"
474 #</Plugin>
476 #<Plugin mbmon>
477 #       Host "127.0.0.1"
478 #       Port 411
479 #</Plugin>
481 #<Plugin md>
482 #       Device "/dev/md0"
483 #       IgnoreSelected false
484 #</Plugin>
486 #<Plugin memcachec>
487 #       <Page "plugin_instance">
488 #               Server "localhost"
489 #               Key "page_key"
490 #               <Match>
491 #                       Regex "(\\d+) bytes sent"
492 #                       ExcludeRegex "<lines to be excluded>"
493 #                       DSType CounterAdd
494 #                       Type "ipt_octets"
495 #                       Instance "type_instance"
496 #               </Match>
497 #       </Page>
498 #</Plugin>
500 #<Plugin memcached>
501 #       <Instance "local">
502 #               Socket "/var/run/memcached.sock"
503 # or:
504 #               Host "127.0.0.1"
505 #               Port "11211"
506 #       </Instance>
507 #</Plugin>
509 #<Plugin mysql>
510 #       <Database db_name>
511 #               Host "database.serv.er"
512 #               Port "3306"
513 #               User "db_user"
514 #               Password "secret"
515 #               Database "db_name"
516 #               MasterStats true
517 #       </Database>
519 #       <Database db_name2>
520 #               Host "localhost"
521 #               Socket "/var/run/mysql/mysqld.sock"
522 #               SlaveStats true
523 #               SlaveNotifications true
524 #       </Database>
525 #</Plugin>
527 #<Plugin netlink>
528 #       Interface "All"
529 #       VerboseInterface "All"
530 #       QDisc "eth0" "pfifo_fast-1:0"
531 #       Class "ppp0" "htb-1:10"
532 #       Filter "ppp0" "u32-1:0"
533 #       IgnoreSelected false
534 #</Plugin>
536 #<Plugin network>
537 #       # client setup:
538 #       Server "ff18::efc0:4a42" "25826"
539 #       <Server "239.192.74.66" "25826">
540 #               SecurityLevel Encrypt
541 #               Username "user"
542 #               Password "secret"
543 #               Interface "eth0"
544 #       </Server>
545 #       TimeToLive "128"
547 #       # server setup:
548 #       Listen "ff18::efc0:4a42" "25826"
549 #       <Listen "239.192.74.66" "25826">
550 #               SecurityLevel Sign
551 #               AuthFile "/etc/collectd/passwd"
552 #               Interface "eth0"
553 #       </Listen>
554 #       MaxPacketSize 1024
556 #       # proxy setup (client and server as above):
557 #       Forward true
559 #       # statistics about the network plugin itself
560 #       ReportStats false
562 #       # "garbage collection"
563 #       CacheFlush 1800
564 #</Plugin>
566 #<Plugin nginx>
567 #       URL "http://localhost/status?auto"
568 #       User "www-user"
569 #       Password "secret"
570 #       VerifyPeer false
571 #       VerifyHost false
572 #       CACert "/etc/ssl/ca.crt"
573 #</Plugin>
575 #<Plugin notify_desktop>
576 #       OkayTimeout 1000
577 #       WarningTimeout 5000
578 #       FailureTimeout 0
579 #</Plugin>
581 #<Plugin notify_email>
582 #       SMTPServer "localhost"
583 #       SMTPPort 25
584 #       SMTPUser "my-username"
585 #       SMTPPassword "my-password"
586 #       From "collectd@main0server.com"
587 #       # <WARNING/FAILURE/OK> on <hostname>.
588 #       # Beware! Do not use not more than two placeholders (%)!
589 #       Subject "[collectd] %s on %s!"
590 #       Recipient "email1@domain1.net"
591 #       Recipient "email2@domain2.com"
592 #</Plugin>
594 #<Plugin ntpd>
595 #       Host "localhost"
596 #       Port 123
597 #       ReverseLookups false
598 #       IncludeUnitID true
599 #</Plugin>
601 #<Plugin nut>
602 #       UPS "upsname@hostname:port"
603 #</Plugin>
605 #<Plugin olsrd>
606 #       Host "127.0.0.1"
607 #       Port "2006"
608 #       CollectLinks "Summary"
609 #       CollectRoutes "Summary"
610 #       CollectTopology "Summary"
611 #</Plugin>
613 #<Plugin openvpn>
614 #       StatusFile "/etc/openvpn/openvpn-status.log"
615 #       ImprovedNamingSchema false
616 #       CollectCompression true
617 #       CollectIndividualUsers true
618 #       CollectUserCount false
619 #</Plugin>
621 #<Plugin perl>
622 #       IncludeDir "/my/include/path"
623 #       BaseName "Collectd::Plugins"
624 #       EnableDebugger ""
625 #       LoadPlugin Monitorus
626 #       LoadPlugin OpenVZ
628 #       <Plugin foo>
629 #               Foo "Bar"
630 #               Qux "Baz"
631 #       </Plugin>
632 #</Plugin>
634 #<Plugin pinba>
635 #       Address "::0"
636 #       Port "30002"
637 #       <View "name">
638 #               Host "host name"
639 #               Server "server name"
640 #               Script "script name"
641 #       <View>
642 #</Plugin>
644 #<Plugin ping>
645 #       Host "host.foo.bar"
646 #       Host "host.baz.qux"
647 #       Interval 1.0
648 #       Timeout 0.9
649 #       TTL 255
650 #       SourceAddress "1.2.3.4"
651 #       Device "eth0"
652 #       MaxMissed -1
653 #</Plugin>
655 #<Plugin postgresql>
656 #       <Query magic>
657 #               Statement "SELECT magic FROM wizard WHERE host = $1;"
658 #               Param hostname
660 #               <Result>
661 #                       Type gauge
662 #                       InstancePrefix "magic"
663 #                       ValuesFrom "magic"
664 #               </Result>
665 #       </Query>
667 #       <Query rt36_tickets>
668 #               Statement "SELECT COUNT(type) AS count, type \
669 #                                 FROM (SELECT CASE \
670 #                                              WHEN resolved = 'epoch' THEN 'open' \
671 #                                              ELSE 'resolved' END AS type \
672 #                                              FROM tickets) type \
673 #                                 GROUP BY type;"
675 #               <Result>
676 #                       Type counter
677 #                       InstancePrefix "rt36_tickets"
678 #                       InstancesFrom "type"
679 #                       ValuesFrom "count"
680 #               </Result>
681 #       </Query>
683 #       <Writer sqlstore>
684 #               # See /usr/share/doc/collectd-core/examples/postgresql/collectd_insert.sql for details
685 #               Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
686 #               StoreRates true
687 #       </Writer>
689 #       <Database foo>
690 #               Host "hostname"
691 #               Port 5432
692 #               User "username"
693 #               Password "secret"
695 #               SSLMode "prefer"
696 #               KRBSrvName "kerberos_service_name"
698 #               Query magic
699 #       </Database>
701 #       <Database bar>
702 #               Interval 60
703 #               Service "service_name"
705 #               Query backend # predefined
706 #               Query rt36_tickets
707 #       </Database>
709 #       <Database qux>
710 #               Service "collectd_store"
711 #               Writer sqlstore
712 #               # see collectd.conf(5) for details
713 #               CommitInterval 30
714 #       </Database>
715 #</Plugin>
717 #<Plugin powerdns>
718 #       <Server "server_name">
719 #               Collect "latency"
720 #               Collect "udp-answers" "udp-queries"
721 #               Socket "/var/run/pdns.controlsocket"
722 #       </Server>
723 #       <Recursor "recursor_name">
724 #               Collect "questions"
725 #               Collect "cache-hits" "cache-misses"
726 #               Socket "/var/run/pdns_recursor.controlsocket"
727 #       </Recursor>
728 #       LocalSocket "/opt/collectd/var/run/collectd-powerdns"
729 #</Plugin>
731 #<Plugin processes>
732 #       Process "name"
733 #       ProcessMatch "foobar" "/usr/bin/perl foobar\\.pl.*"
734 #</Plugin>
736 #<Plugin protocols>
737 #       Value "/^Tcp:/"
738 #       IgnoreSelected false
739 #</Plugin>
741 #<Plugin python>
742 #       ModulePath "/path/to/your/python/modules"
743 #       LogTraces true
744 #       Interactive true
745 #       Import "spam"
747 #       <Module spam>
748 #               spam "wonderful" "lovely"
749 #       </Module>
750 #</Plugin>
752 #<Plugin rrdcached>
753 #       DaemonAddress "unix:/var/run/rrdcached.sock"
754 #       DataDir "/var/lib/rrdcached/db/collectd"
755 #       CreateFiles true
756 #       CollectStatistics true
758 # The following settings are rather advanced
759 # and should usually not be touched:
760 #       StepSize 10
761 #       HeartBeat 20
762 #       RRARows 1200
763 #       RRATimespan 158112000
764 #       XFF 0.1
765 #</Plugin>
767 <Plugin rrdtool>
768         DataDir "/var/lib/collectd/rrd"
769 #       CacheTimeout 120
770 #       CacheFlush 900
771 #       WritesPerSecond 30
772 #       RandomTimeout 0
774 # The following settings are rather advanced
775 # and should usually not be touched:
776 #       StepSize 10
777 #       HeartBeat 20
778 #       RRARows 1200
779 #       RRATimespan 158112000
780 #       XFF 0.1
781 </Plugin>
783 #<Plugin sensors>
784 #       SensorConfigFile "/etc/sensors3.conf"
785 #       Sensor "it8712-isa-0290/temperature-temp1"
786 #       Sensor "it8712-isa-0290/fanspeed-fan3"
787 #       Sensor "it8712-isa-0290/voltage-in8"
788 #       IgnoreSelected false
789 #</Plugin>
791 # See /usr/share/doc/collectd/examples/snmp-data.conf.gz for a
792 # comprehensive sample configuration.
793 #<Plugin snmp>
794 #       <Data "powerplus_voltge_input">
795 #               Type "voltage"
796 #               Table false
797 #               Instance "input_line1"
798 #               Scale 0.1
799 #               Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
800 #       </Data>
801 #       <Data "hr_users">
802 #               Type "users"
803 #               Table false
804 #               Instance ""
805 #               Shift -1
806 #               Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
807 #       </Data>
808 #       <Data "std_traffic">
809 #               Type "if_octets"
810 #               Table true
811 #               InstancePrefix "traffic"
812 #               Instance "IF-MIB::ifDescr"
813 #               Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
814 #       </Data>
816 #       <Host "some.switch.mydomain.org">
817 #               Address "192.168.0.2"
818 #               Version 1
819 #               Community "community_string"
820 #               Collect "std_traffic"
821 #               Inverval 120
822 #       </Host>
823 #       <Host "some.server.mydomain.org">
824 #               Address "192.168.0.42"
825 #               Version 2
826 #               Community "another_string"
827 #               Collect "std_traffic" "hr_users"
828 #       </Host>
829 #       <Host "some.ups.mydomain.org">
830 #               Address "192.168.0.3"
831 #               Version 1
832 #               Community "more_communities"
833 #               Collect "powerplus_voltge_input"
834 #               Interval 300
835 #       </Host>
836 #</Plugin>
838 #<Plugin swap>
839 #       ReportByDevice false
840 #       ReportBytes true
841 #</Plugin>
843 #<Plugin table>
844 #       <Table "/proc/slabinfo">
845 #               Instance "slabinfo"
846 #               Separator " "
847 #               <Result>
848 #                       Type gauge
849 #                       InstancePrefix "active_objs"
850 #                       InstancesFrom 0
851 #                       ValuesFrom 1
852 #               </Result>
853 #               <Result>
854 #                       Type gauge
855 #                       InstancePrefix "objperslab"
856 #                       InstancesFrom 0
857 #                       ValuesFrom 4
858 #               </Result>
859 #       </Table>
860 #</Plugin>
862 #<Plugin "tail">
863 #       <File "/var/log/exim4/mainlog">
864 #               Instance "exim"
865 #               <Match>
866 #                       Regex "S=([1-9][0-9]*)"
867 #                       DSType "CounterAdd"
868 #                       Type "ipt_bytes"
869 #                       Instance "total"
870 #               </Match>
871 #               <Match>
872 #                       Regex "\\<R=local_user\\>"
873 #                       ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
874 #                       DSType "CounterInc"
875 #                       Type "counter"
876 #                       Instance "local_user"
877 #               </Match>
878 #       </File>
879 #</Plugin>
881 #<Plugin tcpconns>
882 #       ListeningPorts false
883 #       LocalPort "25"
884 #       RemotePort "25"
885 #</Plugin>
887 #<Plugin teamspeak2>
888 #       Host "127.0.0.1"
889 #       Port "51234"
890 #       Server "8767"
891 #</Plugin>
893 #<Plugin ted>
894 #       Device "/dev/ttyUSB0"
895 #       Retries 0
896 #</Plugin>
898 #<Plugin thermal>
899 #       ForceUseProcfs false
900 #       Device "THRM"
901 #       IgnoreSelected false
902 #</Plugin>
904 #<Plugin tokyotyrant>
905 #       Host "localhost"
906 #       Port "1978"
907 #</Plugin>
909 #<Plugin unixsock>
910 #       SocketFile "/var/run/collectd-unixsock"
911 #       SocketGroup "collectd"
912 #       SocketPerms "0660"
913 #       DeleteSocket false
914 #</Plugin>
916 #<Plugin uuid>
917 #       UUIDFile "/etc/uuid"
918 #</Plugin>
920 #<Plugin varnish>
921 #       <Instance>
922 #               CollectCache true
923 #               CollectBackend true
924 #               CollectConnections true
925 #               CollectSHM true
926 #               CollectESI false
927 #               CollectFetch false
928 #               CollectHCB false
929 #               CollectSMA false
930 #               CollectSMS false
931 #               CollectSM false
932 #               CollectTotals false
933 #               CollectWorkers false
934 #       </Instance>
936 #       <Instance "myinstance">
937 #               CollectCache true
938 #       </Instance>
939 #</Plugin>
941 #<Plugin vmem>
942 #       Verbose false
943 #</Plugin>
945 #<Plugin write_graphite>
946 #       <Carbon>
947 #               Host "localhost"
948 #               Port "2003"
949 #               Prefix "collectd"
950 #               Postfix "collectd"
951 #               StoreRates false
952 #               AlwaysAppendDS false
953 #               EscapeCharacter "_"
954 #       </Carbon>
955 #</Plugin>
957 #<Plugin write_http>
958 #       <URL "http://example.com/collectd-post">
959 #               User "collectd"
960 #               Password "secret"
961 #               VerifyPeer true
962 #               VerifyHost true
963 #               CACert "/etc/ssl/ca.crt"
964 #               Format "Command"
965 #               StoreRates false
966 #       </URL>
967 #</Plugin>
969 #<Plugin write_mongodb>
970 #       <Node "example">
971 #               Host "localhost"
972 #               Port "27017"
973 #               Timeout 1000
974 #               StoreRates false
975 #       <Node>
976 #</Plugin>
978 Include "/etc/collectd/filters.conf"
979 Include "/etc/collectd/thresholds.conf"