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 # When enabled, internal statistics are collected, using "collectd" as the #
30 # plugin name. #
31 # Disabled by default. #
32 #----------------------------------------------------------------------------#
33 #CollectInternalStats false
35 #----------------------------------------------------------------------------#
36 # Interval at which to query values. This may be overwritten on a per-plugin #
37 # base by using the 'Interval' option of the LoadPlugin block: #
38 # <LoadPlugin foo> #
39 # Interval 60 #
40 # </LoadPlugin> #
41 #----------------------------------------------------------------------------#
42 #Interval 10
44 #MaxReadInterval 86400
45 #Timeout 2
46 #ReadThreads 5
47 #WriteThreads 5
49 # Limit the size of the write queue. Default is no limit. Setting up a limit
50 # is recommended for servers handling a high volume of traffic.
51 #WriteQueueLimitHigh 1000000
52 #WriteQueueLimitLow 800000
54 ##############################################################################
55 # Logging #
56 #----------------------------------------------------------------------------#
57 # Plugins which provide logging functions should be loaded first, so log #
58 # messages generated when loading or configuring other plugins can be #
59 # accessed. #
60 ##############################################################################
62 #LoadPlugin logfile
63 LoadPlugin syslog
64 #LoadPlugin log_logstash
66 #<Plugin logfile>
67 # LogLevel "info"
68 # File STDOUT
69 # Timestamp true
70 # PrintSeverity false
71 #</Plugin>
73 <Plugin syslog>
74 LogLevel info
75 </Plugin>
77 #<Plugin log_logstash>
78 # LogLevel info
79 # File "/var/log/collectd.json.log"
80 #</Plugin>
82 ##############################################################################
83 # LoadPlugin section #
84 #----------------------------------------------------------------------------#
85 # Specify what features to activate. #
86 ##############################################################################
88 #LoadPlugin aggregation
89 #LoadPlugin amqp
90 #LoadPlugin apache
91 #LoadPlugin apcups
92 #LoadPlugin ascent
93 #LoadPlugin barometer
94 LoadPlugin battery
95 #LoadPlugin bind
96 #LoadPlugin ceph
97 #LoadPlugin cgroups
98 #LoadPlugin conntrack
99 #LoadPlugin contextswitch
100 LoadPlugin cpu
101 #LoadPlugin cpufreq
102 #LoadPlugin csv
103 #LoadPlugin curl
104 #LoadPlugin curl_json
105 #LoadPlugin curl_xml
106 #LoadPlugin dbi
107 LoadPlugin df
108 LoadPlugin disk
109 #LoadPlugin dns
110 #LoadPlugin drbd
111 #LoadPlugin email
112 LoadPlugin entropy
113 #LoadPlugin ethstat
114 #LoadPlugin exec
115 #LoadPlugin fhcount
116 #LoadPlugin filecount
117 #LoadPlugin fscache
118 #LoadPlugin hddtemp
119 LoadPlugin interface
120 #LoadPlugin ipc
121 #LoadPlugin ipmi
122 #LoadPlugin iptables
123 #LoadPlugin ipvs
124 LoadPlugin irq
125 #LoadPlugin java
126 LoadPlugin load
127 #LoadPlugin lvm
128 #LoadPlugin madwifi
129 #LoadPlugin mbmon
130 #LoadPlugin md
131 #LoadPlugin memcachec
132 #LoadPlugin memcached
133 LoadPlugin memory
134 #LoadPlugin modbus
135 #LoadPlugin multimeter
136 #LoadPlugin mysql
137 #LoadPlugin netlink
138 #LoadPlugin network
139 #LoadPlugin nfs
140 #LoadPlugin nginx
141 #LoadPlugin notify_desktop
142 #LoadPlugin notify_email
143 #LoadPlugin ntpd
144 #LoadPlugin numa
145 #LoadPlugin nut
146 #LoadPlugin olsrd
147 #LoadPlugin openldap
148 #LoadPlugin openvpn
149 #LoadPlugin perl
150 #LoadPlugin pinba
151 #LoadPlugin ping
152 #LoadPlugin postgresql
153 #LoadPlugin powerdns
154 LoadPlugin processes
155 #LoadPlugin protocols
156 #LoadPlugin python
157 #LoadPlugin redis
158 #LoadPlugin rrdcached
159 LoadPlugin rrdtool
160 #LoadPlugin sensors
161 #LoadPlugin serial
162 #LoadPlugin sigrok
163 #LoadPlugin smart
164 #LoadPlugin snmp
165 #LoadPlugin statsd
166 LoadPlugin swap
167 #LoadPlugin table
168 #LoadPlugin tail
169 #LoadPlugin tail_csv
170 #LoadPlugin tcpconns
171 #LoadPlugin teamspeak2
172 #LoadPlugin ted
173 #LoadPlugin thermal
174 #LoadPlugin tokyotyrant
175 #LoadPlugin turbostat
176 #LoadPlugin unixsock
177 #LoadPlugin uptime
178 LoadPlugin users
179 #LoadPlugin uuid
180 #LoadPlugin varnish
181 #LoadPlugin virt
182 #LoadPlugin vmem
183 #LoadPlugin vserver
184 #LoadPlugin wireless
185 #LoadPlugin write_graphite
186 #LoadPlugin write_http
187 #LoadPlugin write_kafka
188 #LoadPlugin write_log
189 #LoadPlugin write_redis
190 #LoadPlugin write_riemann
191 #LoadPlugin write_sensu
192 #LoadPlugin write_tsdb
193 #LoadPlugin zfs_arc
194 #LoadPlugin zookeeper
196 ##############################################################################
197 # Plugin configuration #
198 #----------------------------------------------------------------------------#
199 # In this section configuration stubs for each plugin are provided. A desc- #
200 # ription of those options is available in the collectd.conf(5) manual page. #
201 ##############################################################################
203 #<Plugin aggregation>
204 # <Aggregation>
205 # #Host "unspecified"
206 # Plugin "cpu"
207 # PluginInstance "/[0,2,4,6,8]$/"
208 # Type "cpu"
209 # #TypeInstance "unspecified"
210 #
211 # SetPlugin "cpu"
212 # SetPluginInstance "even-%{aggregation}"
213 #
214 # GroupBy "Host"
215 # GroupBy "TypeInstance"
216 #
217 # CalculateNum false
218 # CalculateSum false
219 # CalculateAverage true
220 # CalculateMinimum false
221 # CalculateMaximum false
222 # CalculateStddev false
223 # </Aggregation>
224 #</Plugin>
226 #<Plugin amqp>
227 # <Publish "name">
228 # Host "localhost"
229 # Port "5672"
230 # VHost "/"
231 # User "guest"
232 # Password "guest"
233 # Exchange "amq.fanout"
234 # RoutingKey "collectd"
235 # Persistent false
236 # StoreRates false
237 # ConnectionRetryDelay 0
238 # </Publish>
239 #</Plugin>
241 #<Plugin apache>
242 # <Instance "foo">
243 # URL "http://localhost/server-status?auto"
244 # User "www-user"
245 # Password "secret"
246 # VerifyPeer false
247 # VerifyHost false
248 # CACert "/etc/ssl/ca.crt"
249 # Server "apache"
250 # </Instance>
251 #
252 # <Instance "bar">
253 # URL "http://some.domain.tld/status?auto"
254 # Host "some.domain.tld"
255 # Server "lighttpd"
256 # </Instance>
257 #</Plugin>
259 #<Plugin apcups>
260 # Host "localhost"
261 # Port "3551"
262 # ReportSeconds true
263 #</Plugin>
265 #<Plugin ascent>
266 # URL "http://localhost/ascent/status/"
267 # User "www-user"
268 # Password "secret"
269 # VerifyPeer false
270 # VerifyHost false
271 # CACert "/etc/ssl/ca.crt"
272 #</Plugin>
274 #<Plugin barometer>
275 # Device "/dev/i2c-0";
276 # Oversampling 512
277 # PressureOffset 0.0
278 # TemperatureOffset 0.0
279 # Normalization 2
280 # Altitude 238.0
281 # TemperatureSensor "myserver/onewire-F10FCA000800/temperature"
282 #</Plugin>
284 #<Plugin battery>
285 # ValuesPercentage false
286 # ReportDegraded false
287 #</Plugin>
289 #<Plugin bind>
290 # URL "http://localhost:8053/"
291 #
292 # ParseTime false
293 #
294 # OpCodes true
295 # QTypes true
296 # ServerStats true
297 # ZoneMaintStats true
298 # ResolverStats false
299 # MemoryStats true
300 #
301 # <View "_default">
302 # QTypes true
303 # ResolverStats true
304 # CacheRRSets true
305 #
306 # Zone "127.in-addr.arpa/IN"
307 # </View>
308 #</Plugin>
310 #<Plugin ceph>
311 # LongRunAvgLatency false
312 # ConvertSpecialMetricTypes true
313 # <Daemon "osd.0">
314 # SocketPath "/var/run/ceph/ceph-osd.0.asok"
315 # </Daemon>
316 # <Daemon "osd.1">
317 # SocketPath "/var/run/ceph/ceph-osd.1.asok"
318 # </Daemon>
319 # <Daemon "mon.a">
320 # SocketPath "/var/run/ceph/ceph-mon.ceph1.asok"
321 # </Daemon>
322 # <Daemon "mds.a">
323 # SocketPath "/var/run/ceph/ceph-mds.ceph1.asok"
324 # </Daemon>
325 #</Plugin>
327 #<Plugin cgroups>
328 # CGroup "libvirt"
329 # IgnoreSelected false
330 #</Plugin>
332 #<Plugin cpu>
333 # ReportByCpu true
334 # ReportByState true
335 # ValuesPercentage false
336 #</Plugin>
338 #<Plugin csv>
339 # DataDir "/var/lib/collectd/csv"
340 # StoreRates false
341 #</Plugin>
343 #<Plugin curl>
344 # <Page "stock_quotes">
345 # URL "http://finance.google.com/finance?q=NYSE%3AAMD"
346 # User "foo"
347 # Password "bar"
348 # Digest false
349 # VerifyPeer true
350 # VerifyHost true
351 # CACert "/path/to/ca.crt"
352 # Header "X-Custom-Header: foobar"
353 # Post "foo=bar"
354 #
355 # MeasureResponseTime false
356 # MeasureResponseCode false
357 # <Match>
358 # Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
359 # DSType "GaugeAverage"
360 # Type "stock_value"
361 # Instance "AMD"
362 # </Match>
363 # </Page>
364 #</Plugin>
366 #<Plugin curl_json>
367 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
368 # <URL "http://localhost:5984/_stats">
369 # Instance "httpd"
370 # <Key "httpd/requests/count">
371 # Type "http_requests"
372 # </Key>
373 #
374 # <Key "httpd_request_methods/*/count">
375 # Type "http_request_methods"
376 # </Key>
377 #
378 # <Key "httpd_status_codes/*/count">
379 # Type "http_response_codes"
380 # </Key>
381 # </URL>
382 ## Database status metrics:
383 # <URL "http://localhost:5984/_all_dbs">
384 # Instance "dbs"
385 # <Key "*/doc_count">
386 # Type "gauge"
387 # </Key>
388 # <Key "*/doc_del_count">
389 # Type "counter"
390 # </Key>
391 # <Key "*/disk_size">
392 # Type "bytes"
393 # </Key>
394 # </URL>
395 #</Plugin>
397 #<Plugin curl_xml>
398 # <URL "http://localhost/stats.xml">
399 # Host "my_host"
400 # Instance "some_instance"
401 # User "collectd"
402 # Password "thaiNg0I"
403 # Digest false
404 # VerifyPeer true
405 # VerifyHost true
406 # CACert "/path/to/ca.crt"
407 # Header "X-Custom-Header: foobar"
408 # Post "foo=bar"
409 #
410 # <XPath "table[@id=\"magic_level\"]/tr">
411 # Type "magic_level"
412 # InstancePrefix "prefix-"
413 # InstanceFrom "td[1]"
414 # ValuesFrom "td[2]/span[@class=\"level\"]"
415 # </XPath>
416 # </URL>
417 #</Plugin>
419 #<Plugin dbi>
420 # <Query "num_of_customers">
421 # Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value \
422 # FROM customers_tbl"
423 # MinVersion 40102
424 # MaxVersion 50042
425 # <Result>
426 # Type "gauge"
427 # InstancePrefix "customer"
428 # InstancesFrom "c_key"
429 # ValuesFrom "c_value"
430 # </Result>
431 # </Query>
432 #
433 # <Database "customers_db">
434 # Driver "mysql"
435 # DriverOption "host" "localhost"
436 # DriverOption "username" "collectd"
437 # DriverOption "password" "secret"
438 # DriverOption "dbname" "custdb0"
439 # SelectDB "custdb0"
440 # Query "num_of_customers"
441 # Query "..."
442 # Host "..."
443 # </Database>
444 #</Plugin>
446 <Plugin df>
447 # Device "/dev/sda1"
448 # Device "192.168.0.2:/mnt/nfs"
449 # MountPoint "/home"
450 # FSType "ext3"
452 # ignore rootfs; else, the root file-system would appear twice, causing
453 # one of the updates to fail and spam the log
454 FSType rootfs
455 # ignore the usual virtual / temporary file-systems
456 FSType sysfs
457 FSType proc
458 FSType devtmpfs
459 FSType devpts
460 FSType tmpfs
461 FSType fusectl
462 FSType cgroup
463 IgnoreSelected true
465 # ReportByDevice false
466 # ReportInodes false
468 # ValuesAbsolute true
469 # ValuesPercentage false
470 </Plugin>
472 #<Plugin disk>
473 # Disk "hda"
474 # Disk "/sda[23]/"
475 # IgnoreSelected false
476 # UseBSDName false
477 # UdevNameAttr "DEVNAME"
478 #</Plugin>
480 #<Plugin dns>
481 # Interface "eth0"
482 # IgnoreSource "192.168.0.1"
483 # SelectNumericQueryTypes false
484 #</Plugin>
486 #<Plugin email>
487 # SocketFile "/var/run/collectd-email"
488 # SocketGroup "collectd"
489 # SocketPerms "0770"
490 # MaxConns 5
491 #</Plugin>
493 #<Plugin ethstat>
494 # Interface "eth0"
495 # Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
496 # Map "multicast" "if_multicast"
497 # MappedOnly false
498 #</Plugin>
500 #<Plugin exec>
501 # Exec user "/path/to/exec"
502 # Exec "user:group" "/path/to/exec"
503 # NotificationExec user "/path/to/exec"
504 #</Plugin>
506 #<Plugin fhcount>
507 # ValuesAbsolute true
508 # ValuesPercentage false
509 #</Plugin>
511 #<Plugin filecount>
512 # <Directory "/path/to/dir">
513 # Instance "foodir"
514 # Name "*.conf"
515 # MTime "-5m"
516 # Size "+10k"
517 # Recursive true
518 # IncludeHidden false
519 # </Directory>
520 #</Plugin>
522 #<Plugin hddtemp>
523 # Host "127.0.0.1"
524 # Port 7634
525 #</Plugin>
527 #<Plugin interface>
528 # Interface "eth0"
529 # IgnoreSelected false
530 #</Plugin>
532 #<Plugin ipmi>
533 # Sensor "some_sensor"
534 # Sensor "another_one"
535 # IgnoreSelected false
536 # NotifySensorAdd false
537 # NotifySensorRemove true
538 # NotifySensorNotPresent false
539 #</Plugin>
541 #<Plugin iptables>
542 # Chain "table" "chain"
543 # Chain6 "table" "chain"
544 #</Plugin>
546 #<Plugin irq>
547 # Irq 7
548 # Irq 8
549 # Irq 9
550 # IgnoreSelected true
551 #</Plugin>
553 #<Plugin java>
554 # JVMArg "-verbose:jni"
555 # JVMArg "-Djava.class.path=/usr/share/collectd/java/collectd-api.jar"
556 #
557 # LoadPlugin "org.collectd.java.GenericJMX"
558 # <Plugin "GenericJMX">
559 # # See /usr/share/doc/collectd/examples/GenericJMX.conf
560 # # for an example config.
561 # </Plugin>
562 #</Plugin>
564 #<Plugin load>
565 # ReportRelative true
566 #</Plugin>
568 #<Plugin madwifi>
569 # Interface "wlan0"
570 # IgnoreSelected false
571 # Source "SysFS"
572 # WatchSet "None"
573 # WatchAdd "node_octets"
574 # WatchAdd "node_rssi"
575 # WatchAdd "is_rx_acl"
576 # WatchAdd "is_scan_active"
577 #</Plugin>
579 #<Plugin mbmon>
580 # Host "127.0.0.1"
581 # Port 411
582 #</Plugin>
584 #<Plugin md>
585 # Device "/dev/md0"
586 # IgnoreSelected false
587 #</Plugin>
589 #<Plugin memcachec>
590 # <Page "plugin_instance">
591 # Server "localhost"
592 # Key "page_key"
593 # <Match>
594 # Regex "(\\d+) bytes sent"
595 # ExcludeRegex "<lines to be excluded>"
596 # DSType CounterAdd
597 # Type "ipt_octets"
598 # Instance "type_instance"
599 # </Match>
600 # </Page>
601 #</Plugin>
603 #<Plugin memcached>
604 # <Instance "local">
605 # Socket "/var/run/memcached.sock"
606 # or:
607 # Host "127.0.0.1"
608 # Port "11211"
609 # </Instance>
610 #</Plugin>
612 #<Plugin memory>
613 # ValuesAbsolute true
614 # ValuesPercentage false
615 #</Plugin>
617 #<Plugin modbus>
618 # <Data "data_name">
619 # RegisterBase 1234
620 # RegisterCmd ReadHolding
621 # RegisterType float
622 # Type gauge
623 # Instance "..."
624 # </Data>
625 #
626 # <Host "name">
627 # Address "addr"
628 # Port "1234"
629 # Interval 60
630 #
631 # <Slave 1>
632 # Instance "foobar" # optional
633 # Collect "data_name"
634 # </Slave>
635 # </Host>
636 #</Plugin>
638 #<Plugin mysql>
639 # <Database db_name>
640 # Host "database.serv.er"
641 # Port "3306"
642 # User "db_user"
643 # Password "secret"
644 # Database "db_name"
645 # MasterStats true
646 # ConnectTimeout 10
647 # InnodbStats true
648 # </Database>
649 #
650 # <Database db_name2>
651 # Alias "squeeze"
652 # Host "localhost"
653 # Socket "/var/run/mysql/mysqld.sock"
654 # SlaveStats true
655 # SlaveNotifications true
656 # </Database>
657 #</Plugin>
659 #<Plugin netlink>
660 # Interface "All"
661 # VerboseInterface "All"
662 # QDisc "eth0" "pfifo_fast-1:0"
663 # Class "ppp0" "htb-1:10"
664 # Filter "ppp0" "u32-1:0"
665 # IgnoreSelected false
666 #</Plugin>
668 #<Plugin network>
669 # # client setup:
670 # Server "ff18::efc0:4a42" "25826"
671 # <Server "239.192.74.66" "25826">
672 # SecurityLevel Encrypt
673 # Username "user"
674 # Password "secret"
675 # Interface "eth0"
676 # ResolveInterval 14400
677 # </Server>
678 # TimeToLive 128
679 #
680 # # server setup:
681 # Listen "ff18::efc0:4a42" "25826"
682 # <Listen "239.192.74.66" "25826">
683 # SecurityLevel Sign
684 # AuthFile "/etc/collectd/passwd"
685 # Interface "eth0"
686 # </Listen>
687 # MaxPacketSize 1452
688 #
689 # # proxy setup (client and server as above):
690 # Forward true
691 #
692 # # statistics about the network plugin itself
693 # ReportStats false
694 #
695 # # "garbage collection"
696 # CacheFlush 1800
697 #</Plugin>
699 #<Plugin nginx>
700 # URL "http://localhost/status?auto"
701 # User "www-user"
702 # Password "secret"
703 # VerifyPeer false
704 # VerifyHost false
705 # CACert "/etc/ssl/ca.crt"
706 #</Plugin>
708 #<Plugin notify_desktop>
709 # OkayTimeout 1000
710 # WarningTimeout 5000
711 # FailureTimeout 0
712 #</Plugin>
714 #<Plugin notify_email>
715 # SMTPServer "localhost"
716 # SMTPPort 25
717 # SMTPUser "my-username"
718 # SMTPPassword "my-password"
719 # From "collectd@main0server.com"
720 # # <WARNING/FAILURE/OK> on <hostname>.
721 # # Beware! Do not use not more than two placeholders (%)!
722 # Subject "[collectd] %s on %s!"
723 # Recipient "email1@domain1.net"
724 # Recipient "email2@domain2.com"
725 #</Plugin>
727 #<Plugin ntpd>
728 # Host "localhost"
729 # Port 123
730 # ReverseLookups false
731 # IncludeUnitID true
732 #</Plugin>
734 #<Plugin nut>
735 # UPS "upsname@hostname:port"
736 #</Plugin>
738 #<Plugin olsrd>
739 # Host "127.0.0.1"
740 # Port "2006"
741 # CollectLinks "Summary"
742 # CollectRoutes "Summary"
743 # CollectTopology "Summary"
744 #</Plugin>
746 #<Plugin openldap>
747 # <Instance "localhost">
748 # URL "ldap://localhost:389"
749 # StartTLS false
750 # VerifyHost true
751 # CACert "/path/to/ca.crt"
752 # Timeout -1
753 # Version 3
754 # </Instance>
755 #</Plugin>
757 #<Plugin openvpn>
758 # StatusFile "/etc/openvpn/openvpn-status.log"
759 # ImprovedNamingSchema false
760 # CollectCompression true
761 # CollectIndividualUsers true
762 # CollectUserCount false
763 #</Plugin>
765 #<Plugin perl>
766 # IncludeDir "/my/include/path"
767 # BaseName "Collectd::Plugins"
768 # EnableDebugger ""
769 # LoadPlugin Monitorus
770 # LoadPlugin OpenVZ
771 #
772 # <Plugin foo>
773 # Foo "Bar"
774 # Qux "Baz"
775 # </Plugin>
776 #</Plugin>
778 #<Plugin pinba>
779 # Address "::0"
780 # Port "30002"
781 # <View "name">
782 # Host "host name"
783 # Server "server name"
784 # Script "script name"
785 # <View>
786 #</Plugin>
788 #<Plugin ping>
789 # Host "host.foo.bar"
790 # Host "host.baz.qux"
791 # Interval 1.0
792 # Timeout 0.9
793 # TTL 255
794 # SourceAddress "1.2.3.4"
795 # Device "eth0"
796 # MaxMissed -1
797 #</Plugin>
799 #<Plugin postgresql>
800 # <Query magic>
801 # Statement "SELECT magic FROM wizard WHERE host = $1;"
802 # Param hostname
803 #
804 # <Result>
805 # Type gauge
806 # InstancePrefix "magic"
807 # ValuesFrom "magic"
808 # </Result>
809 # </Query>
810 #
811 # <Query rt36_tickets>
812 # Statement "SELECT COUNT(type) AS count, type \
813 # FROM (SELECT CASE \
814 # WHEN resolved = 'epoch' THEN 'open' \
815 # ELSE 'resolved' END AS type \
816 # FROM tickets) type \
817 # GROUP BY type;"
818 #
819 # <Result>
820 # Type counter
821 # InstancePrefix "rt36_tickets"
822 # InstancesFrom "type"
823 # ValuesFrom "count"
824 # </Result>
825 # </Query>
826 #
827 # <Writer sqlstore>
828 # # See /usr/share/doc/collectd-core/examples/postgresql/collectd_insert.sql for details
829 # Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
830 # StoreRates true
831 # </Writer>
832 #
833 # <Database foo>
834 # Host "hostname"
835 # Port 5432
836 # User "username"
837 # Password "secret"
838 #
839 # SSLMode "prefer"
840 # KRBSrvName "kerberos_service_name"
841 #
842 # Query magic
843 # </Database>
844 #
845 # <Database bar>
846 # Interval 60
847 # Service "service_name"
848 #
849 # Query backend # predefined
850 # Query rt36_tickets
851 # </Database>
852 #
853 # <Database qux>
854 # Service "collectd_store"
855 # Writer sqlstore
856 # # see collectd.conf(5) for details
857 # CommitInterval 30
858 # </Database>
859 #</Plugin>
861 #<Plugin powerdns>
862 # <Server "server_name">
863 # Collect "latency"
864 # Collect "udp-answers" "udp-queries"
865 # Socket "/var/run/pdns.controlsocket"
866 # </Server>
867 # <Recursor "recursor_name">
868 # Collect "questions"
869 # Collect "cache-hits" "cache-misses"
870 # Socket "/var/run/pdns_recursor.controlsocket"
871 # </Recursor>
872 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
873 #</Plugin>
875 #<Plugin processes>
876 # Process "name"
877 # ProcessMatch "foobar" "/usr/bin/perl foobar\\.pl.*"
878 #</Plugin>
880 #<Plugin protocols>
881 # Value "/^Tcp:/"
882 # IgnoreSelected false
883 #</Plugin>
885 #<Plugin python>
886 # ModulePath "/path/to/your/python/modules"
887 # LogTraces true
888 # Interactive true
889 # Import "spam"
890 #
891 # <Module spam>
892 # spam "wonderful" "lovely"
893 # </Module>
894 #</Plugin>
896 #<Plugin redis>
897 # <Node example>
898 # Host "redis.example.com"
899 # Port "6379"
900 # Timeout 2000
901 # </Node>
902 #</Plugin>
904 #<Plugin rrdcached>
905 # DaemonAddress "unix:/var/run/rrdcached.sock"
906 # DataDir "/var/lib/rrdcached/db/collectd"
907 # CreateFiles true
908 # CreateFilesAsync false
909 # CollectStatistics true
910 #
911 # The following settings are rather advanced
912 # and should usually not be touched:
913 # StepSize 10
914 # HeartBeat 20
915 # RRARows 1200
916 # RRATimespan 158112000
917 # XFF 0.1
918 #</Plugin>
920 <Plugin rrdtool>
921 DataDir "/var/lib/collectd/rrd"
922 # CacheTimeout 120
923 # CacheFlush 900
924 # WritesPerSecond 30
925 # CreateFilesAsync false
926 # RandomTimeout 0
927 #
928 # The following settings are rather advanced
929 # and should usually not be touched:
930 # StepSize 10
931 # HeartBeat 20
932 # RRARows 1200
933 # RRATimespan 158112000
934 # XFF 0.1
935 </Plugin>
937 #<Plugin sensors>
938 # SensorConfigFile "/etc/sensors3.conf"
939 # Sensor "it8712-isa-0290/temperature-temp1"
940 # Sensor "it8712-isa-0290/fanspeed-fan3"
941 # Sensor "it8712-isa-0290/voltage-in8"
942 # IgnoreSelected false
943 #</Plugin>
945 #<Plugin sigrok>
946 # LogLevel 3
947 # <Device "AC Voltage">
948 # Driver "fluke-dmm"
949 # MinimumInterval 10
950 # Conn "/dev/ttyUSB2"
951 # </Device>
952 # <Device "Sound Level">
953 # Driver "cem-dt-885x"
954 # Conn "/dev/ttyUSB1"
955 # </Device>
956 #</Plugin>
958 #<Plugin smart>
959 # Disk "/^[hs]d[a-f][0-9]?$/"
960 # IgnoreSelected false
961 #</Plugin>
963 # See /usr/share/doc/collectd/examples/snmp-data.conf.gz for a
964 # comprehensive sample configuration.
965 #<Plugin snmp>
966 # <Data "powerplus_voltge_input">
967 # Type "voltage"
968 # Table false
969 # Instance "input_line1"
970 # Scale 0.1
971 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
972 # </Data>
973 # <Data "hr_users">
974 # Type "users"
975 # Table false
976 # Instance ""
977 # Shift -1
978 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
979 # </Data>
980 # <Data "std_traffic">
981 # Type "if_octets"
982 # Table true
983 # InstancePrefix "traffic"
984 # Instance "IF-MIB::ifDescr"
985 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
986 # </Data>
987 #
988 # <Host "some.switch.mydomain.org">
989 # Address "192.168.0.2"
990 # Version 1
991 # Community "community_string"
992 # Collect "std_traffic"
993 # Inverval 120
994 # </Host>
995 # <Host "some.server.mydomain.org">
996 # Address "192.168.0.42"
997 # Version 2
998 # Community "another_string"
999 # Collect "std_traffic" "hr_users"
1000 # </Host>
1001 # <Host "some.ups.mydomain.org">
1002 # Address "192.168.0.3"
1003 # Version 1
1004 # Community "more_communities"
1005 # Collect "powerplus_voltge_input"
1006 # Interval 300
1007 # </Host>
1008 #</Plugin>
1010 #<Plugin statsd>
1011 # Host "::"
1012 # Port "8125"
1013 # DeleteCounters false
1014 # DeleteTimers false
1015 # DeleteGauges false
1016 # DeleteSets false
1017 # TimerPercentile 90.0
1018 # TimerPercentile 95.0
1019 # TimerPercentile 99.0
1020 # TimerLower false
1021 # TimerUpper false
1022 # TimerSum false
1023 # TimerCount false
1024 #</Plugin>
1026 #<Plugin swap>
1027 # ReportByDevice false
1028 # ReportBytes true
1029 #</Plugin>
1031 #<Plugin table>
1032 # <Table "/proc/slabinfo">
1033 # Instance "slabinfo"
1034 # Separator " "
1035 # <Result>
1036 # Type gauge
1037 # InstancePrefix "active_objs"
1038 # InstancesFrom 0
1039 # ValuesFrom 1
1040 # </Result>
1041 # <Result>
1042 # Type gauge
1043 # InstancePrefix "objperslab"
1044 # InstancesFrom 0
1045 # ValuesFrom 4
1046 # </Result>
1047 # </Table>
1048 #</Plugin>
1050 #<Plugin tail>
1051 # <File "/var/log/exim4/mainlog">
1052 # Instance "exim"
1053 # Interval 60
1054 # <Match>
1055 # Regex "S=([1-9][0-9]*)"
1056 # DSType "CounterAdd"
1057 # Type "ipt_bytes"
1058 # Instance "total"
1059 # </Match>
1060 # <Match>
1061 # Regex "\\<R=local_user\\>"
1062 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1063 # DSType "CounterInc"
1064 # Type "counter"
1065 # Instance "local_user"
1066 # </Match>
1067 # </File>
1068 #</Plugin>
1070 #<Plugin tail_csv>
1071 # <Metric "dropped">
1072 # Type "percent"
1073 # Instance "dropped"
1074 # ValueFrom 1
1075 # </Metric>
1076 # <Metric "mbps">
1077 # Type "bytes"
1078 # Instance "wire-realtime"
1079 # ValueFrom 2
1080 # </Metric>
1081 # <Metric "alerts">
1082 # Type "alerts_per_second"
1083 # ValueFrom 3
1084 # </Metric>
1085 # <Metric "kpps">
1086 # Type "kpackets_wire_per_sec.realtime"
1087 # ValueFrom 4
1088 # </Metric>
1089 # <File "/var/log/snort/snort.stats">
1090 # Instance "snort-eth0"
1091 # Interval 600
1092 # Collect "dropped" "mbps" "alerts" "kpps"
1093 # TimeFrom 0
1094 # </File>
1095 #</Plugin>
1097 #<Plugin tcpconns>
1098 # ListeningPorts false
1099 # AllPortsSummary false
1100 # LocalPort "25"
1101 # RemotePort "25"
1102 #</Plugin>
1104 #<Plugin teamspeak2>
1105 # Host "127.0.0.1"
1106 # Port "51234"
1107 # Server "8767"
1108 #</Plugin>
1110 #<Plugin ted>
1111 # Device "/dev/ttyUSB0"
1112 # Retries 0
1113 #</Plugin>
1115 #<Plugin thermal>
1116 # ForceUseProcfs false
1117 # Device "THRM"
1118 # IgnoreSelected false
1119 #</Plugin>
1121 #<Plugin tokyotyrant>
1122 # Host "localhost"
1123 # Port "1978"
1124 #</Plugin>
1126 #<Plugin turbostat>
1127 ## None of the following option should be set manually
1128 ## This plugin automatically detect most optimal options
1129 ## Only set values here if:
1130 ## - The module ask you to
1131 ## - You want to disable the collection of some data
1132 ## - Your (intel) CPU is not supported (yet) by the module
1133 ## - The module generate a lot of errors 'MSR offset 0x... read failed'
1134 ## In the last two cases, please open a bug request
1135 #
1136 # TCCActivationTemp "100"
1137 # CoreCstates "392"
1138 # PackageCstates "396"
1139 # SystemManagementInterrupt true
1140 # DigitalTemperatureSensor true
1141 # PackageThermalManagement true
1142 # RunningAveragePowerLimit "7"
1143 #</Plugin>
1145 #<Plugin unixsock>
1146 # SocketFile "/var/run/collectd-unixsock"
1147 # SocketGroup "collectd"
1148 # SocketPerms "0660"
1149 # DeleteSocket false
1150 #</Plugin>
1152 #<Plugin uuid>
1153 # UUIDFile "/etc/uuid"
1154 #</Plugin>
1156 #<Plugin varnish>
1157 # <Instance>
1158 # CollectBackend true
1159 # CollectBan false # Varnish 3 and above
1160 # CollectCache true
1161 # CollectConnections true
1162 # CollectDirectorDNS false # Varnish 3 only
1163 # CollectESI false
1164 # CollectFetch false
1165 # CollectHCB false
1166 # CollectObjects false
1167 # CollectPurge false # Varnish 2 only
1168 # CollectSession false
1169 # CollectSHM true
1170 # CollectSMA false # Varnish 2 only
1171 # CollectSMS false
1172 # CollectSM false # Varnish 2 only
1173 # CollectStruct false
1174 # CollectTotals false
1175 # CollectUptime false # Varnish 3 and above
1176 # CollectdVCL false
1177 # CollectVSM false # Varnish 4 only
1178 # CollectWorkers false
1179 # </Instance>
1180 #
1181 # <Instance "myinstance">
1182 # CollectCache true
1183 # </Instance>
1184 #</Plugin>
1186 #<Plugin virt>
1187 # Connection "xen:///"
1188 # RefreshInterval 60
1189 # Domain "name"
1190 # BlockDevice "name:device"
1191 # InterfaceDevice "name:device"
1192 # IgnoreSelected false
1193 # HostnameFormat name
1194 # InterfaceFormat name
1195 # PluginInstanceFormat name
1196 #</Plugin>
1198 #<Plugin vmem>
1199 # Verbose false
1200 #</Plugin>
1202 #<Plugin write_graphite>
1203 # <Node "example">
1204 # Host "localhost"
1205 # Port "2003"
1206 # Protocol "tcp"
1207 # LogSendErrors true
1208 # Prefix "collectd"
1209 # Postfix "collectd"
1210 # StoreRates true
1211 # AlwaysAppendDS false
1212 # EscapeCharacter "_"
1213 # </Node>
1214 #</Plugin>
1216 #<Plugin write_http>
1217 # <Node "example">
1218 # URL "http://example.com/collectd-post"
1219 # User "collectd"
1220 # Password "secret"
1221 # VerifyPeer true
1222 # VerifyHost true
1223 # CACert "/etc/ssl/ca.crt"
1224 # CAPath "/etc/ssl/certs/"
1225 # ClientKey "/etc/ssl/client.pem"
1226 # ClientCert "/etc/ssl/client.crt"
1227 # ClientKeyPass "secret"
1228 # SSLVersion "TLSv1"
1229 # Format "Command"
1230 # StoreRates false
1231 # BufferSize 4096
1232 # LowSpeedLimit 0
1233 # Timeout 0
1234 # </Node>
1235 #</Plugin>
1237 #<Plugin write_kafka>
1238 # Property "metadata.broker.list" "localhost:9092"
1239 # <Topic "collectd">
1240 # Format JSON
1241 # </Topic>
1242 #</Plugin>
1244 #<Plugin write_riemann>
1245 # <Node "example">
1246 # Host "localhost"
1247 # Port 5555
1248 # Protocol TCP
1249 # Batch true
1250 # BatchMaxSize 8192
1251 # StoreRates true
1252 # AlwaysAppendDS false
1253 # TTLFactor 2.0
1254 # Notifications true
1255 # CheckThresholds false
1256 # EventServicePrefix ""
1257 # </Node>
1258 # Tag "foobar"
1259 # Attribute "foo" "bar"
1260 #</Plugin>
1262 #<Plugin write_sensu>
1263 # <Node "example">
1264 # Host "localhost"
1265 # Port 3030
1266 # StoreRates true
1267 # AlwaysAppendDS false
1268 # Notifications true
1269 # Metrics true
1270 # EventServicePrefix ""
1271 # MetricHandler "influx"
1272 # MetricHandler "default"
1273 # NotificationHandler "flapjack"
1274 # NotificationHandler "howling_monkey"
1275 # </Node>
1276 # Tag "foobar"
1277 # Attribute "foo" "bar"
1278 #</Plugin>
1280 #<Plugin write_tsdb>
1281 # <Node>
1282 # Host "localhost"
1283 # Port "4242"
1284 # HostTags "status=production"
1285 # StoreRates false
1286 # AlwaysAppendDS false
1287 # </Node>
1288 #</Plugin>
1290 #<Plugin zookeeper>
1291 # Host "localhost"
1292 # Port "2181"
1293 #</Plugin>
1295 <Include "/etc/collectd/collectd.conf.d">
1296 Filter "*.conf"
1297 </Include>