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