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"
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 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>
203 #
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/"
227 #
228 # ParseTime false
229 #
230 # OpCodes true
231 # QTypes true
232 # ServerStats true
233 # ZoneMaintStats true
234 # ResolverStats false
235 # MemoryStats true
236 #
237 # <View "_default">
238 # QTypes true
239 # ResolverStats true
240 # CacheRRSets true
241 #
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>
276 #
277 # <Key "httpd_request_methods/*/count">
278 # Type "http_request_methods"
279 # </Key>
280 #
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"
309 #
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>
332 #
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"
351 # ignore rootfs; else, the root file-system would appear twice, causing
352 # one of the updates to fail and spam the log
353 FSType rootfs
354 # ignore the usual virtual / temporary file-systems
355 FSType sysfs
356 FSType proc
357 FSType devtmpfs
358 FSType devpts
359 FSType tmpfs
360 FSType fusectl
361 FSType cgroup
362 IgnoreSelected true
364 # ReportByDevice false
365 # ReportReserved false
366 # ReportInodes false
367 </Plugin>
369 #<Plugin disk>
370 # Disk "hda"
371 # Disk "/sda[23]/"
372 # IgnoreSelected false
373 #</Plugin>
375 #<Plugin dns>
376 # Interface "eth0"
377 # IgnoreSource "192.168.0.1"
378 # SelectNumericQueryTypes false
379 #</Plugin>
381 #<Plugin email>
382 # SocketFile "/var/run/collectd-email"
383 # SocketGroup "collectd"
384 # SocketPerms "0770"
385 # MaxConns 5
386 #</Plugin>
388 #<Plugin ethstat>
389 # Interface "eth0"
390 # Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
391 # Map "multicast" "if_multicast"
392 # MappedOnly false
393 #</Plugin>
395 #<Plugin exec>
396 # Exec user "/path/to/exec"
397 # Exec "user:group" "/path/to/exec"
398 # NotificationExec user "/path/to/exec"
399 #</Plugin>
401 #<Plugin filecount>
402 # <Directory "/path/to/dir">
403 # Instance "foodir"
404 # Name "*.conf"
405 # MTime "-5m"
406 # Size "+10k"
407 # Recursive true
408 # IncludeHidden false
409 # </Directory>
410 #</Plugin>
412 #<Plugin gmond>
413 # MCReceiveFrom "239.2.11.71" "8649"
414 #
415 # <Metric "swap_total">
416 # Type "swap"
417 # TypeInstance "total"
418 # DataSource "value"
419 # </Metric>
420 #
421 # <Metric "swap_free">
422 # Type "swap"
423 # TypeInstance "free"
424 # DataSource "value"
425 # </Metric>
426 #</Plugin>
428 #<Plugin hddtemp>
429 # Host "127.0.0.1"
430 # Port 7634
431 #</Plugin>
433 #<Plugin interface>
434 # Interface "eth0"
435 # IgnoreSelected false
436 #</Plugin>
438 #<Plugin ipmi>
439 # Sensor "some_sensor"
440 # Sensor "another_one"
441 # IgnoreSelected false
442 # NotifySensorAdd false
443 # NotifySensorRemove true
444 # NotifySensorNotPresent false
445 #</Plugin>
447 #<Plugin iptables>
448 # Chain "table" "chain"
449 #</Plugin>
451 #<Plugin irq>
452 # Irq 7
453 # Irq 8
454 # Irq 9
455 # IgnoreSelected true
456 #</Plugin>
458 #<Plugin java>
459 # JVMArg "-verbose:jni"
460 # JVMArg "-Djava.class.path=/usr/share/collectd/java/collectd-api.jar"
461 #
462 # LoadPlugin "org.collectd.java.GenericJMX"
463 # <Plugin "GenericJMX">
464 # # See /usr/share/doc/collectd/examples/GenericJMX.conf
465 # # for an example config.
466 # </Plugin>
467 #</Plugin>
469 #<Plugin libvirt>
470 # Connection "xen:///"
471 # RefreshInterval 60
472 # Domain "name"
473 # BlockDevice "name:device"
474 # InterfaceDevice "name:device"
475 # IgnoreSelected false
476 # HostnameFormat name
477 # InterfaceFormat name
478 #</Plugin>
480 #<Plugin madwifi>
481 # Interface "wlan0"
482 # IgnoreSelected false
483 # Source "SysFS"
484 # WatchSet "None"
485 # WatchAdd "node_octets"
486 # WatchAdd "node_rssi"
487 # WatchAdd "is_rx_acl"
488 # WatchAdd "is_scan_active"
489 #</Plugin>
491 #<Plugin mbmon>
492 # Host "127.0.0.1"
493 # Port 411
494 #</Plugin>
496 #<Plugin md>
497 # Device "/dev/md0"
498 # IgnoreSelected false
499 #</Plugin>
501 #<Plugin memcachec>
502 # <Page "plugin_instance">
503 # Server "localhost"
504 # Key "page_key"
505 # <Match>
506 # Regex "(\\d+) bytes sent"
507 # ExcludeRegex "<lines to be excluded>"
508 # DSType CounterAdd
509 # Type "ipt_octets"
510 # Instance "type_instance"
511 # </Match>
512 # </Page>
513 #</Plugin>
515 #<Plugin memcached>
516 # <Instance "local">
517 # Socket "/var/run/memcached.sock"
518 # or:
519 # Host "127.0.0.1"
520 # Port "11211"
521 # </Instance>
522 #</Plugin>
524 #<Plugin mysql>
525 # <Database db_name>
526 # Host "database.serv.er"
527 # Port "3306"
528 # User "db_user"
529 # Password "secret"
530 # Database "db_name"
531 # MasterStats true
532 # </Database>
533 #
534 # <Database db_name2>
535 # Host "localhost"
536 # Socket "/var/run/mysql/mysqld.sock"
537 # SlaveStats true
538 # SlaveNotifications true
539 # </Database>
540 #</Plugin>
542 #<Plugin netlink>
543 # Interface "All"
544 # VerboseInterface "All"
545 # QDisc "eth0" "pfifo_fast-1:0"
546 # Class "ppp0" "htb-1:10"
547 # Filter "ppp0" "u32-1:0"
548 # IgnoreSelected false
549 #</Plugin>
551 #<Plugin network>
552 # # client setup:
553 # Server "ff18::efc0:4a42" "25826"
554 # <Server "239.192.74.66" "25826">
555 # SecurityLevel Encrypt
556 # Username "user"
557 # Password "secret"
558 # Interface "eth0"
559 # </Server>
560 # TimeToLive "128"
561 #
562 # # server setup:
563 # Listen "ff18::efc0:4a42" "25826"
564 # <Listen "239.192.74.66" "25826">
565 # SecurityLevel Sign
566 # AuthFile "/etc/collectd/passwd"
567 # Interface "eth0"
568 # </Listen>
569 # MaxPacketSize 1024
570 #
571 # # proxy setup (client and server as above):
572 # Forward true
573 #
574 # # statistics about the network plugin itself
575 # ReportStats false
576 #
577 # # "garbage collection"
578 # CacheFlush 1800
579 #</Plugin>
581 #<Plugin nginx>
582 # URL "http://localhost/status?auto"
583 # User "www-user"
584 # Password "secret"
585 # VerifyPeer false
586 # VerifyHost false
587 # CACert "/etc/ssl/ca.crt"
588 #</Plugin>
590 #<Plugin notify_desktop>
591 # OkayTimeout 1000
592 # WarningTimeout 5000
593 # FailureTimeout 0
594 #</Plugin>
596 #<Plugin notify_email>
597 # SMTPServer "localhost"
598 # SMTPPort 25
599 # SMTPUser "my-username"
600 # SMTPPassword "my-password"
601 # From "collectd@main0server.com"
602 # # <WARNING/FAILURE/OK> on <hostname>.
603 # # Beware! Do not use not more than two placeholders (%)!
604 # Subject "[collectd] %s on %s!"
605 # Recipient "email1@domain1.net"
606 # Recipient "email2@domain2.com"
607 #</Plugin>
609 #<Plugin ntpd>
610 # Host "localhost"
611 # Port 123
612 # ReverseLookups false
613 # IncludeUnitID true
614 #</Plugin>
616 #<Plugin nut>
617 # UPS "upsname@hostname:port"
618 #</Plugin>
620 #<Plugin olsrd>
621 # Host "127.0.0.1"
622 # Port "2006"
623 # CollectLinks "Summary"
624 # CollectRoutes "Summary"
625 # CollectTopology "Summary"
626 #</Plugin>
628 #<Plugin openvpn>
629 # StatusFile "/etc/openvpn/openvpn-status.log"
630 # ImprovedNamingSchema false
631 # CollectCompression true
632 # CollectIndividualUsers true
633 # CollectUserCount false
634 #</Plugin>
636 #<Plugin perl>
637 # IncludeDir "/my/include/path"
638 # BaseName "Collectd::Plugins"
639 # EnableDebugger ""
640 # LoadPlugin Monitorus
641 # LoadPlugin OpenVZ
642 #
643 # <Plugin foo>
644 # Foo "Bar"
645 # Qux "Baz"
646 # </Plugin>
647 #</Plugin>
649 #<Plugin pinba>
650 # Address "::0"
651 # Port "30002"
652 # <View "name">
653 # Host "host name"
654 # Server "server name"
655 # Script "script name"
656 # <View>
657 #</Plugin>
659 #<Plugin ping>
660 # Host "host.foo.bar"
661 # Host "host.baz.qux"
662 # Interval 1.0
663 # Timeout 0.9
664 # TTL 255
665 # SourceAddress "1.2.3.4"
666 # Device "eth0"
667 # MaxMissed -1
668 #</Plugin>
670 #<Plugin postgresql>
671 # <Query magic>
672 # Statement "SELECT magic FROM wizard WHERE host = $1;"
673 # Param hostname
674 #
675 # <Result>
676 # Type gauge
677 # InstancePrefix "magic"
678 # ValuesFrom "magic"
679 # </Result>
680 # </Query>
681 #
682 # <Query rt36_tickets>
683 # Statement "SELECT COUNT(type) AS count, type \
684 # FROM (SELECT CASE \
685 # WHEN resolved = 'epoch' THEN 'open' \
686 # ELSE 'resolved' END AS type \
687 # FROM tickets) type \
688 # GROUP BY type;"
689 #
690 # <Result>
691 # Type counter
692 # InstancePrefix "rt36_tickets"
693 # InstancesFrom "type"
694 # ValuesFrom "count"
695 # </Result>
696 # </Query>
697 #
698 # <Writer sqlstore>
699 # # See /usr/share/doc/collectd-core/examples/postgresql/collectd_insert.sql for details
700 # Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
701 # StoreRates true
702 # </Writer>
703 #
704 # <Database foo>
705 # Host "hostname"
706 # Port 5432
707 # User "username"
708 # Password "secret"
709 #
710 # SSLMode "prefer"
711 # KRBSrvName "kerberos_service_name"
712 #
713 # Query magic
714 # </Database>
715 #
716 # <Database bar>
717 # Interval 60
718 # Service "service_name"
719 #
720 # Query backend # predefined
721 # Query rt36_tickets
722 # </Database>
723 #
724 # <Database qux>
725 # Service "collectd_store"
726 # Writer sqlstore
727 # # see collectd.conf(5) for details
728 # CommitInterval 30
729 # </Database>
730 #</Plugin>
732 #<Plugin powerdns>
733 # <Server "server_name">
734 # Collect "latency"
735 # Collect "udp-answers" "udp-queries"
736 # Socket "/var/run/pdns.controlsocket"
737 # </Server>
738 # <Recursor "recursor_name">
739 # Collect "questions"
740 # Collect "cache-hits" "cache-misses"
741 # Socket "/var/run/pdns_recursor.controlsocket"
742 # </Recursor>
743 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
744 #</Plugin>
746 #<Plugin processes>
747 # Process "name"
748 # ProcessMatch "foobar" "/usr/bin/perl foobar\\.pl.*"
749 #</Plugin>
751 #<Plugin protocols>
752 # Value "/^Tcp:/"
753 # IgnoreSelected false
754 #</Plugin>
756 #<Plugin python>
757 # ModulePath "/path/to/your/python/modules"
758 # LogTraces true
759 # Interactive true
760 # Import "spam"
761 #
762 # <Module spam>
763 # spam "wonderful" "lovely"
764 # </Module>
765 #</Plugin>
767 #<Plugin rrdcached>
768 # DaemonAddress "unix:/var/run/rrdcached.sock"
769 # DataDir "/var/lib/rrdcached/db/collectd"
770 # CreateFiles true
771 # CollectStatistics true
772 #
773 # The following settings are rather advanced
774 # and should usually not be touched:
775 # StepSize 10
776 # HeartBeat 20
777 # RRARows 1200
778 # RRATimespan 158112000
779 # XFF 0.1
780 #</Plugin>
782 <Plugin rrdtool>
783 DataDir "/var/lib/collectd/rrd"
784 # CacheTimeout 120
785 # CacheFlush 900
786 # WritesPerSecond 30
787 # RandomTimeout 0
788 #
789 # The following settings are rather advanced
790 # and should usually not be touched:
791 # StepSize 10
792 # HeartBeat 20
793 # RRARows 1200
794 # RRATimespan 158112000
795 # XFF 0.1
796 </Plugin>
798 #<Plugin sensors>
799 # SensorConfigFile "/etc/sensors3.conf"
800 # Sensor "it8712-isa-0290/temperature-temp1"
801 # Sensor "it8712-isa-0290/fanspeed-fan3"
802 # Sensor "it8712-isa-0290/voltage-in8"
803 # IgnoreSelected false
804 #</Plugin>
806 # See /usr/share/doc/collectd/examples/snmp-data.conf.gz for a
807 # comprehensive sample configuration.
808 #<Plugin snmp>
809 # <Data "powerplus_voltge_input">
810 # Type "voltage"
811 # Table false
812 # Instance "input_line1"
813 # Scale 0.1
814 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
815 # </Data>
816 # <Data "hr_users">
817 # Type "users"
818 # Table false
819 # Instance ""
820 # Shift -1
821 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
822 # </Data>
823 # <Data "std_traffic">
824 # Type "if_octets"
825 # Table true
826 # InstancePrefix "traffic"
827 # Instance "IF-MIB::ifDescr"
828 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
829 # </Data>
830 #
831 # <Host "some.switch.mydomain.org">
832 # Address "192.168.0.2"
833 # Version 1
834 # Community "community_string"
835 # Collect "std_traffic"
836 # Inverval 120
837 # </Host>
838 # <Host "some.server.mydomain.org">
839 # Address "192.168.0.42"
840 # Version 2
841 # Community "another_string"
842 # Collect "std_traffic" "hr_users"
843 # </Host>
844 # <Host "some.ups.mydomain.org">
845 # Address "192.168.0.3"
846 # Version 1
847 # Community "more_communities"
848 # Collect "powerplus_voltge_input"
849 # Interval 300
850 # </Host>
851 #</Plugin>
853 #<Plugin swap>
854 # ReportByDevice false
855 # ReportBytes true
856 #</Plugin>
858 #<Plugin table>
859 # <Table "/proc/slabinfo">
860 # Instance "slabinfo"
861 # Separator " "
862 # <Result>
863 # Type gauge
864 # InstancePrefix "active_objs"
865 # InstancesFrom 0
866 # ValuesFrom 1
867 # </Result>
868 # <Result>
869 # Type gauge
870 # InstancePrefix "objperslab"
871 # InstancesFrom 0
872 # ValuesFrom 4
873 # </Result>
874 # </Table>
875 #</Plugin>
877 #<Plugin "tail">
878 # <File "/var/log/exim4/mainlog">
879 # Instance "exim"
880 # <Match>
881 # Regex "S=([1-9][0-9]*)"
882 # DSType "CounterAdd"
883 # Type "ipt_bytes"
884 # Instance "total"
885 # </Match>
886 # <Match>
887 # Regex "\\<R=local_user\\>"
888 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
889 # DSType "CounterInc"
890 # Type "counter"
891 # Instance "local_user"
892 # </Match>
893 # </File>
894 #</Plugin>
896 #<Plugin tcpconns>
897 # ListeningPorts false
898 # LocalPort "25"
899 # RemotePort "25"
900 #</Plugin>
902 #<Plugin teamspeak2>
903 # Host "127.0.0.1"
904 # Port "51234"
905 # Server "8767"
906 #</Plugin>
908 #<Plugin ted>
909 # Device "/dev/ttyUSB0"
910 # Retries 0
911 #</Plugin>
913 #<Plugin thermal>
914 # ForceUseProcfs false
915 # Device "THRM"
916 # IgnoreSelected false
917 #</Plugin>
919 #<Plugin tokyotyrant>
920 # Host "localhost"
921 # Port "1978"
922 #</Plugin>
924 #<Plugin unixsock>
925 # SocketFile "/var/run/collectd-unixsock"
926 # SocketGroup "collectd"
927 # SocketPerms "0660"
928 # DeleteSocket false
929 #</Plugin>
931 #<Plugin uuid>
932 # UUIDFile "/etc/uuid"
933 #</Plugin>
935 #<Plugin varnish>
936 # <Instance>
937 # CollectCache true
938 # CollectBackend true
939 # CollectConnections true
940 # CollectSHM true
941 # CollectESI false
942 # CollectFetch false
943 # CollectHCB false
944 # CollectSMA false
945 # CollectSMS false
946 # CollectSM false
947 # CollectTotals false
948 # CollectWorkers false
949 # </Instance>
950 #
951 # <Instance "myinstance">
952 # CollectCache true
953 # </Instance>
954 #</Plugin>
956 #<Plugin vmem>
957 # Verbose false
958 #</Plugin>
960 #<Plugin write_graphite>
961 # <Carbon>
962 # Host "localhost"
963 # Port "2003"
964 # Prefix "collectd"
965 # Postfix "collectd"
966 # StoreRates false
967 # AlwaysAppendDS false
968 # EscapeCharacter "_"
969 # </Carbon>
970 #</Plugin>
972 #<Plugin write_http>
973 # <URL "http://example.com/collectd-post">
974 # User "collectd"
975 # Password "secret"
976 # VerifyPeer true
977 # VerifyHost true
978 # CACert "/etc/ssl/ca.crt"
979 # Format "Command"
980 # StoreRates false
981 # </URL>
982 #</Plugin>
984 #<Plugin write_mongodb>
985 # <Node "example">
986 # Host "localhost"
987 # Port "27017"
988 # Timeout 1000
989 # StoreRates false
990 # <Node>
991 #</Plugin>
993 Include "/etc/collectd/filters.conf"
994 Include "/etc/collectd/thresholds.conf"