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