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