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