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