1 #
2 # Config file for collectd(1).
3 # Please read collectd.conf(5) for a list of options.
4 # http://collectd.org/
5 #
7 ##############################################################################
8 # Global #
9 #----------------------------------------------------------------------------#
10 # Global settings for the daemon. #
11 ##############################################################################
13 #Hostname "localhost"
14 FQDNLookup true
15 #BaseDir "@prefix@/var/lib/@PACKAGE_NAME@"
16 #PIDFile "@prefix@/var/run/@PACKAGE_NAME@.pid"
17 #PluginDir "@prefix@/lib/@PACKAGE_NAME@"
18 #TypesDB "@prefix@/share/@PACKAGE_NAME@/types.db"
19 #Interval 10
20 #ReadThreads 5
22 ##############################################################################
23 # Logging #
24 #----------------------------------------------------------------------------#
25 # Plugins which provide logging functions should be loaded first, so log #
26 # messages generated when loading or configuring other plugins can be #
27 # accessed. #
28 ##############################################################################
30 @LOAD_PLUGIN_SYSLOG@LoadPlugin syslog
31 @LOAD_PLUGIN_LOGFILE@LoadPlugin logfile
33 #<Plugin logfile>
34 # LogLevel @DEFAULT_LOG_LEVEL@
35 # File STDOUT
36 # Timestamp true
37 #</Plugin>
39 #<Plugin syslog>
40 # LogLevel @DEFAULT_LOG_LEVEL@
41 #</Plugin>
43 ##############################################################################
44 # LoadPlugin section #
45 #----------------------------------------------------------------------------#
46 # Lines beginning with a single `#' belong to plugins which have been built #
47 # but are disabled by default. #
48 # #
49 # Lines begnning with `##' belong to plugins which have not been built due #
50 # to missing dependencies or because they have been deactivated explicitly. #
51 ##############################################################################
53 #@BUILD_PLUGIN_APACHE_TRUE@LoadPlugin apache
54 #@BUILD_PLUGIN_APCUPS_TRUE@LoadPlugin apcups
55 #@BUILD_PLUGIN_APPLE_SENSORS_TRUE@LoadPlugin apple_sensors
56 #@BUILD_PLUGIN_ASCENT_TRUE@LoadPlugin ascent
57 #@BUILD_PLUGIN_BATTERY_TRUE@LoadPlugin battery
58 #@BUILD_PLUGIN_BIND_TRUE@LoadPlugin bind
59 #@BUILD_PLUGIN_CONNTRACK_TRUE@LoadPlugin conntrack
60 #@BUILD_PLUGIN_CONTEXTSWITCH_TRUE@LoadPlugin contextswitch
61 @BUILD_PLUGIN_CPU_TRUE@@BUILD_PLUGIN_CPU_TRUE@LoadPlugin cpu
62 #@BUILD_PLUGIN_CPUFREQ_TRUE@LoadPlugin cpufreq
63 @LOAD_PLUGIN_CSV@LoadPlugin csv
64 #@BUILD_PLUGIN_CURL_TRUE@LoadPlugin curl
65 #@BUILD_PLUGIN_CURL_JSON_TRUE@LoadPlugin curl_json
66 #@BUILD_PLUGIN_DBI_TRUE@LoadPlugin dbi
67 #@BUILD_PLUGIN_DF_TRUE@LoadPlugin df
68 #@BUILD_PLUGIN_DISK_TRUE@LoadPlugin disk
69 #@BUILD_PLUGIN_DNS_TRUE@LoadPlugin dns
70 #@BUILD_PLUGIN_EMAIL_TRUE@LoadPlugin email
71 #@BUILD_PLUGIN_ENTROPY_TRUE@LoadPlugin entropy
72 #@BUILD_PLUGIN_EXEC_TRUE@LoadPlugin exec
73 #@BUILD_PLUGIN_FILECOUNT_TRUE@LoadPlugin filecount
74 #@BUILD_PLUGIN_FSCACHE_TRUE@LoadPlugin fscache
75 #@BUILD_PLUGIN_GMOND_TRUE@LoadPlugin gmond
76 #@BUILD_PLUGIN_HDDTEMP_TRUE@LoadPlugin hddtemp
77 @BUILD_PLUGIN_INTERFACE_TRUE@@BUILD_PLUGIN_INTERFACE_TRUE@LoadPlugin interface
78 #@BUILD_PLUGIN_IPTABLES_TRUE@LoadPlugin iptables
79 #@BUILD_PLUGIN_IPMI_TRUE@LoadPlugin ipmi
80 #@BUILD_PLUGIN_IPVS_TRUE@LoadPlugin ipvs
81 #@BUILD_PLUGIN_IRQ_TRUE@LoadPlugin irq
82 #@BUILD_PLUGIN_JAVA_TRUE@LoadPlugin java
83 #@BUILD_PLUGIN_LIBVIRT_TRUE@LoadPlugin libvirt
84 @BUILD_PLUGIN_LOAD_TRUE@@BUILD_PLUGIN_LOAD_TRUE@LoadPlugin load
85 #@BUILD_PLUGIN_MADWIFI_TRUE@LoadPlugin madwifi
86 #@BUILD_PLUGIN_MBMON_TRUE@LoadPlugin mbmon
87 #@BUILD_PLUGIN_MEMCACHEC_TRUE@LoadPlugin memcachec
88 #@BUILD_PLUGIN_MEMCACHED_TRUE@LoadPlugin memcached
89 @BUILD_PLUGIN_MEMORY_TRUE@@BUILD_PLUGIN_MEMORY_TRUE@LoadPlugin memory
90 #@BUILD_PLUGIN_MULTIMETER_TRUE@LoadPlugin multimeter
91 #@BUILD_PLUGIN_MYSQL_TRUE@LoadPlugin mysql
92 #@BUILD_PLUGIN_NETAPP_TRUE@LoadPlugin netapp
93 #@BUILD_PLUGIN_NETLINK_TRUE@LoadPlugin netlink
94 @LOAD_PLUGIN_NETWORK@LoadPlugin network
95 #@BUILD_PLUGIN_NFS_TRUE@LoadPlugin nfs
96 #@BUILD_PLUGIN_NGINX_TRUE@LoadPlugin nginx
97 #@BUILD_PLUGIN_NOTIFY_DESKTOP_TRUE@LoadPlugin notify_desktop
98 #@BUILD_PLUGIN_NOTIFY_EMAIL_TRUE@LoadPlugin notify_email
99 #@BUILD_PLUGIN_NTPD_TRUE@LoadPlugin ntpd
100 #@BUILD_PLUGIN_NUT_TRUE@LoadPlugin nut
101 #@BUILD_PLUGIN_OLSRD_TRUE@LoadPlugin olsrd
102 #@BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire
103 #@BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn
104 #@BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle
105 #@BUILD_PLUGIN_PERL_TRUE@LoadPlugin perl
106 #@BUILD_PLUGIN_PING_TRUE@LoadPlugin ping
107 #@BUILD_PLUGIN_POSTGRESQL_TRUE@LoadPlugin postgresql
108 #@BUILD_PLUGIN_POWERDNS_TRUE@LoadPlugin powerdns
109 #@BUILD_PLUGIN_PROCESSES_TRUE@LoadPlugin processes
110 #@BUILD_PLUGIN_PROTOCOLS_TRUE@LoadPlugin protocols
111 #@BUILD_PLUGIN_PYTHON_TRUE@LoadPlugin python
112 #@BUILD_PLUGIN_ROUTEROS_TRUE@LoadPlugin routeros
113 #@BUILD_PLUGIN_RRDCACHED_TRUE@LoadPlugin rrdcached
114 @LOAD_PLUGIN_RRDTOOL@LoadPlugin rrdtool
115 #@BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors
116 #@BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial
117 #@BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
118 #@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap
119 #@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table
120 #@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail
121 #@BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape
122 #@BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns
123 #@BUILD_PLUGIN_TEAMSPEAK2_TRUE@LoadPlugin teamspeak2
124 #@BUILD_PLUGIN_TED_TRUE@LoadPlugin ted
125 #@BUILD_PLUGIN_THERMAL_TRUE@LoadPlugin thermal
126 #@BUILD_PLUGIN_TOKYOTYRANT_TRUE@LoadPlugin tokyotyrant
127 #@BUILD_PLUGIN_UNIXSOCK_TRUE@LoadPlugin unixsock
128 #@BUILD_PLUGIN_UPTIME_TRUE@LoadPlugin uptime
129 #@BUILD_PLUGIN_USERS_TRUE@LoadPlugin users
130 #@BUILD_PLUGIN_UUID_TRUE@LoadPlugin uuid
131 #@BUILD_PLUGIN_VMEM_TRUE@LoadPlugin vmem
132 #@BUILD_PLUGIN_VSERVER_TRUE@LoadPlugin vserver
133 #@BUILD_PLUGIN_WIRELESS_TRUE@LoadPlugin wireless
134 #@BUILD_PLUGIN_WRITE_HTTP_TRUE@LoadPlugin write_http
135 #@BUILD_PLUGIN_XMMS_TRUE@LoadPlugin xmms
136 #@BUILD_PLUGIN_ZFS_ARC_TRUE@LoadPlugin zfs_arc
138 ##############################################################################
139 # Plugin configuration #
140 #----------------------------------------------------------------------------#
141 # In this section configuration stubs for each plugin are provided. A desc- #
142 # ription of those options is available in the collectd.conf(5) manual page. #
143 ##############################################################################
145 #<Plugin apache>
146 # URL "http://localhost/status?auto"
147 # User "www-user"
148 # Password "secret"
149 # CACert "/etc/ssl/ca.crt"
150 #</Plugin>
152 #<Plugin apcups>
153 # Host "localhost"
154 # Port "3551"
155 #</Plugin>
157 #<Plugin ascent>
158 # URL "http://localhost/ascent/status/"
159 # User "www-user"
160 # Password "secret"
161 # CACert "/etc/ssl/ca.crt"
162 #</Plugin>
164 #<Plugin "bind">
165 # URL "http://localhost:8053/"
166 # OpCodes true
167 # QTypes true
168 #
169 # ServerStats true
170 # ZoneMaintStats true
171 # ResolverStats false
172 # MemoryStats true
173 #
174 # <View "_default">
175 # QTypes true
176 # ResolverStats true
177 # CacheRRSets true
178 #
179 # Zone "127.in-addr.arpa/IN"
180 # </View>
181 #</Plugin>
183 #<Plugin csv>
184 # DataDir "@prefix@/var/lib/@PACKAGE_NAME@/csv"
185 # StoreRates false
186 #</Plugin>
188 #<Plugin curl>
189 # <Page "stock_quotes">
190 # URL "http://finance.google.com/finance?q=NYSE%3AAMD"
191 # User "foo"
192 # Password "bar"
193 # <Match>
194 # Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
195 # DSType "GaugeAverage"
196 # Type "stock_value"
197 # Instance "AMD"
198 # </Match>
199 # </Page>
200 #</Plugin>
202 #<Plugin curl_json>
203 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
204 # <URL "http://localhost:5984/_stats">
205 # Instance "httpd"
206 # <Key "httpd/requests/count">
207 # Type "http_requests"
208 # </Key>
209 #
210 # <Key "httpd_request_methods/*/count">
211 # Type "http_request_methods"
212 # </Key>
213 #
214 # <Key "httpd_status_codes/*/count">
215 # Type "http_response_codes"
216 # </Key>
217 # </URL>
218 ## Database status metrics:
219 # <URL "http://localhost:5984/_all_dbs">
220 # Instance "dbs"
221 # <Key "*/doc_count">
222 # Type "gauge"
223 # </Key>
224 # <Key "*/doc_del_count">
225 # Type "counter"
226 # </Key>
227 # <Key "*/disk_size">
228 # Type "bytes"
229 # </Key>
230 # </URL>
231 #</Plugin>
233 #<Plugin dbi>
234 # <Query "num_of_customers">
235 # Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
236 # <Result>
237 # Type "gauge"
238 # InstancesFrom "c_key"
239 # ValuesFrom "c_value"
240 # </Result>
241 # </Query>
242 # <Database "customers_db">
243 # Driver "mysql"
244 # DriverOption "host" "localhost"
245 # DriverOption "username" "collectd"
246 # DriverOption "password" "AeXohy0O"
247 # DriverOption "dbname" "custdb0"
248 # #SelectDB "custdb0"
249 # Query "num_of_customers"
250 # #Query "..."
251 # </Database>
252 #</Plugin>
254 #<Plugin df>
255 # Device "/dev/hda1"
256 # Device "192.168.0.2:/mnt/nfs"
257 # MountPoint "/home"
258 # FSType "ext3"
259 # IgnoreSelected false
260 # ReportByDevice false
261 # ReportReserved false
262 # ReportInodes false
263 #</Plugin>
265 #<Plugin disk>
266 # Disk "/^[hs]d[a-f][0-9]?$/"
267 # IgnoreSelected false
268 #</Plugin>
270 #<Plugin dns>
271 # Interface "eth0"
272 # IgnoreSource "192.168.0.1"
273 # SelectNumericQueryTypes true
274 #</Plugin>
276 #<Plugin email>
277 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-email"
278 # SocketGroup "collectd"
279 # SocketPerms "0770"
280 # MaxConns 5
281 #</Plugin>
283 #<Plugin exec>
284 # Exec "user:group" "/path/to/exec"
285 # NotificationExec "user:group" "/path/to/exec"
286 #</Plugin>
288 #<Plugin filecount>
289 # <Directory "/path/to/dir">
290 # Instance "foodir"
291 # Name "*.conf"
292 # MTime "-5m"
293 # Size "+10k"
294 # Recursive true
295 # </Directory>
296 #</Plugin>
298 #<Plugin "gmond">
299 # MCReceiveFrom "239.2.11.71" "8649"
300 # <Metric "swap_total">
301 # Type "swap"
302 # TypeInstance "total"
303 # DataSource "value"
304 # </Metric>
305 # <Metric "swap_free">
306 # Type "swap"
307 # TypeInstance "free"
308 # DataSource "value"
309 # </Metric>
310 #</Plugin>
312 #<Plugin hddtemp>
313 # Host "127.0.0.1"
314 # Port "7634"
315 #
316 # #----------------------------------------------------------------#
317 # # `TranslateDevicename' enables backwards compatibility behavior #
318 # # and is enabled by default. Setting this option to `false' is #
319 # # highly recommended. #
320 # #----------------------------------------------------------------#
321 # TranslateDevicename false
322 #</Plugin>
324 #<Plugin interface>
325 # Interface "eth0"
326 # IgnoreSelected false
327 #</Plugin>
329 #<Plugin ipmi>
330 # Sensor "some_sensor"
331 # Sensor "another_one"
332 # IgnoreSelected false
333 # NotifySensorAdd false
334 # NotifySensorRemove true
335 # NotifySensorNotPresent false
336 #</Plugin>
338 #<Plugin iptables>
339 # Chain table chain
340 #</Plugin>
342 #<Plugin irq>
343 # Irq 7
344 # Irq 8
345 # Irq 9
346 # IgnoreSelected true
347 #</Plugin>
349 #<Plugin "java">
350 # JVMArg "-verbose:jni"
351 # JVMArg "-Djava.class.path=@prefix@/share/collectd/java"
352 #
353 # LoadPlugin "org.collectd.java.Foobar"
354 # <Plugin "org.collectd.java.Foobar">
355 # # To be parsed by the plugin
356 # </Plugin>
357 #</Plugin>
359 #<Plugin libvirt>
360 # Connection "xen:///"
361 # RefreshInterval 60
362 # Domain "name"
363 # BlockDevice "name:device"
364 # InterfaceDevice "name:device"
365 # IgnoreSelected false
366 # HostnameFormat name
367 #</Plugin>
369 #<Plugin madwifi>
370 # Interface "wlan0"
371 # IgnoreSelected false
372 # Source "SysFS"
373 # WatchSet "None"
374 # WatchAdd "node_octets"
375 # WatchAdd "node_rssi"
376 # WatchAdd "is_rx_acl"
377 # WatchAdd "is_scan_active"
378 #</Plugin>
380 #<Plugin mbmon>
381 # Host "127.0.0.1"
382 # Port "411"
383 #</Plugin>
385 #<Plugin memcachec>
386 # <Page "plugin_instance">
387 # Server "localhost"
388 # Key "page_key"
389 # <Match>
390 # Regex "(\\d+) bytes sent"
391 # DSType CounterAdd
392 # Type "ipt_octets"
393 # Instance "type_instance"
394 # </Match>
395 # </Page>
396 #</Plugin>
398 #<Plugin memcached>
399 # Host "127.0.0.1"
400 # Port "11211"
401 #</Plugin>
403 #<Plugin mysql>
404 # <Database db_name>
405 # Host "database.serv.er"
406 # User "db_user"
407 # Password "secret"
408 # Database "db_name"
409 # MasterStats true
410 # </Database>
411 #
412 # <Database db_name2>
413 # Host "localhost"
414 # Socket "/var/run/mysql/mysqld.sock"
415 # SlaveStats true
416 # SlaveNotifications true
417 # </Database>
418 #</Plugin>
420 #<Plugin netapp>
421 # <Host "netapp1.example.com">
422 # Protocol "https"
423 # Address "10.0.0.1"
424 # Port 443
425 # User "username"
426 # Password "aef4Aebe"
427 # Interval 30
428 #
429 # <WAFL>
430 # Interval 30
431 # GetNameCache true
432 # GetDirCache true
433 # GetBufferCache true
434 # GetInodeCache true
435 # </WAFL>
436 #
437 # <Disks>
438 # Interval 30
439 # GetBusy true
440 # </Disks>
441 #
442 # <VolumePerf>
443 # Interval 30
444 # GetIO "volume0"
445 # IgnoreSelectedIO false
446 # GetOps "volume0"
447 # IgnoreSelectedOps false
448 # GetLatency "volume0"
449 # IgnoreSelectedLatency false
450 # </VolumePerf>
451 #
452 # <VolumeUsage>
453 # Interval 30
454 # GetCapacity "vol0"
455 # GetCapacity "vol1"
456 # IgnoreSelectedCapacity false
457 # GetSnapshot "vol1"
458 # GetSnapshot "vol3"
459 # IgnoreSelectedSnapshot false
460 # </VolumeUsage>
461 #
462 # <System>
463 # Interval 30
464 # GetCPULoad true
465 # GetInterfaces true
466 # GetDiskOps true
467 # GetDiskIO true
468 # </System>
469 # </Host>
470 #</Plugin>
472 #<Plugin netlink>
473 # Interface "All"
474 # VerboseInterface "All"
475 # QDisc "eth0" "pfifo_fast-1:0"
476 # Class "ppp0" "htb-1:10"
477 # Filter "ppp0" "u32-1:0"
478 # IgnoreSelected false
479 #</Plugin>
481 @LOAD_PLUGIN_NETWORK@<Plugin network>
482 @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826"
483 @LOAD_PLUGIN_NETWORK@ Server "239.192.74.66" "25826"
484 # Listen "ff18::efc0:4a42" "25826"
485 # Listen "239.192.74.66" "25826"
486 # TimeToLive "128"
487 # Forward false
488 # CacheFlush 1800
489 # ReportStats false
490 @LOAD_PLUGIN_NETWORK@</Plugin>
492 #<Plugin nginx>
493 # URL "http://localhost/status?auto"
494 # User "www-user"
495 # Password "secret"
496 # CACert "/etc/ssl/ca.crt"
497 #</Plugin>
499 #<Plugin notify_desktop>
500 # OkayTimeout 1000
501 # WarningTimeout 5000
502 # FailureTimeout 0
503 #</Plugin>
505 #<Plugin notify_email>
506 # SMTPServer "localhost"
507 # SMTPPort 25
508 # SMTPUser "my-username"
509 # SMTPPassword "my-password"
510 # From "collectd@main0server.com"
511 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
512 # Subject "Aaaaaa!! %s on %s!!!!!"
513 # Recipient "email1@domain1.net"
514 # Recipient "email2@domain2.com"
515 #</Plugin>
517 #<Plugin ntpd>
518 # Host "localhost"
519 # Port 123
520 # ReverseLookups false
521 #</Plugin>
523 #<Plugin nut>
524 # UPS "upsname@hostname:port"
525 #</Plugin>
527 #<Plugin olsrd>
528 # Host "127.0.0.1"
529 # Port "2006"
530 # CollectLinks "Summary"
531 # CollectRoutes "Summary"
532 # CollectTopology "Summary"
533 #</Plugin>
535 #<Plugin onewire>
536 # Device "-s localhost:4304"
537 # Sensor "F10FCA000800"
538 # IgnoreSelected false
539 #</Plugin>
541 #<Plugin openvpn>
542 # StatusFile "/etc/openvpn/openvpn-status.log"
543 #</Plugin>
545 #<Plugin oracle>
546 # <Query "out_of_stock">
547 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
548 # <Result>
549 # Type "gauge"
550 # InstancesFrom "category"
551 # ValuesFrom "value"
552 # </Result>
553 # </Query>
554 # <Database "product_information">
555 # ConnectID "db01"
556 # Username "oracle"
557 # Password "secret"
558 # Query "out_of_stock"
559 # </Database>
560 #</Plugin>
562 #<Plugin perl>
563 # IncludeDir "/my/include/path"
564 # BaseName "Collectd::Plugin"
565 # EnableDebugger ""
566 # LoadPlugin Monitorus
567 # LoadPlugin OpenVZ
568 #
569 # <Plugin foo>
570 # Foo "Bar"
571 # Qux "Baz"
572 # </Plugin>
573 #</Plugin>
575 #<Plugin ping>
576 # Host "host.foo.bar"
577 # TTL 255
578 #</Plugin>
580 #<Plugin postgresql>
581 # <Query magic>
582 # Statement "SELECT magic FROM wizard WHERE host = $1;"
583 # Param hostname
584 # <Result>
585 # Type gauge
586 # InstancePrefix "magic"
587 # ValuesFrom magic
588 # </Result>
589 # </Query>
590 # <Query rt36_tickets>
591 # Statement "SELECT COUNT(type) AS count, type \
592 # FROM (SELECT CASE \
593 # WHEN resolved = 'epoch' THEN 'open' \
594 # ELSE 'resolved' END AS type \
595 # FROM tickets) type \
596 # GROUP BY type;"
597 # <Result>
598 # Type counter
599 # InstancePrefix "rt36_tickets"
600 # InstancesFrom "type"
601 # ValuesFrom "count"
602 # </Result>
603 # </Query>
604 # <Database foo>
605 # Host "hostname"
606 # Port "5432"
607 # User "username"
608 # Password "secret"
609 # SSLMode "prefer"
610 # KRBSrvName "kerberos_service_name"
611 # Query magic
612 # </Database>
613 # <Database bar>
614 # Service "service_name"
615 # Query backend # predefined
616 # Query rt36_tickets
617 # </Database>
618 #</Plugin>
620 #<Plugin powerdns>
621 # <Server "server_name">
622 # Collect "latency"
623 # Collect "udp-answers" "udp-queries"
624 # Socket "/var/run/pdns.controlsocket"
625 # </Server>
626 # <Recursor "recursor_name">
627 # Collect "questions"
628 # Collect "cache-hits" "cache-misses"
629 # Socket "/var/run/pdns_recursor.controlsocket"
630 # </Recursor>
631 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
632 #</Plugin>
634 #<Plugin processes>
635 # Process "name"
636 #</Plugin>
638 #<Plugin protocols>
639 # Value "/^Tcp:/"
640 # IgnoreSelected false
641 #</Plugin>
643 #<Plugin python>
644 # ModulePath "/path/to/your/python/modules"
645 # LogTraces true
646 # Interactive true
647 # Import "spam"
648 #
649 # <Module spam>
650 # spam "wonderful" "lovely"
651 # </Module>
652 #</Plugin>
654 #<Plugin routeros>
655 # <Router>
656 # Host "router.example.com"
657 # Port "8728"
658 # User "admin"
659 # Password "dozaiTh4"
660 # CollectInterface true
661 # CollectRegistrationTable true
662 # </Router>
663 #</Plugin>
665 #<Plugin rrdcached>
666 # DaemonAddress "unix:/tmp/rrdcached.sock"
667 # DataDir "@prefix@/var/lib/@PACKAGE_NAME@/rrd"
668 # CreateFiles true
669 # CollectStatistics true
670 #</Plugin>
672 #<Plugin rrdtool>
673 # DataDir "@prefix@/var/lib/@PACKAGE_NAME@/rrd"
674 # CacheTimeout 120
675 # CacheFlush 900
676 #</Plugin>
678 #<Plugin sensors>
679 # Sensor "it8712-isa-0290/temperature-temp1"
680 # Sensor "it8712-isa-0290/fanspeed-fan3"
681 # Sensor "it8712-isa-0290/voltage-in8"
682 # IgnoreSelected false
683 #</Plugin>
685 #<Plugin snmp>
686 # <Data "powerplus_voltge_input">
687 # Type "voltage"
688 # Table false
689 # Instance "input_line1"
690 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
691 # </Data>
692 # <Data "hr_users">
693 # Type "users"
694 # Table false
695 # Instance ""
696 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
697 # </Data>
698 # <Data "std_traffic">
699 # Type "if_octets"
700 # Table true
701 # Instance "IF-MIB::ifDescr"
702 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
703 # </Data>
704 #
705 # <Host "some.switch.mydomain.org">
706 # Address "192.168.0.2"
707 # Version 1
708 # Community "community_string"
709 # Collect "std_traffic"
710 # Interval 120
711 # </Host>
712 # <Host "some.server.mydomain.org">
713 # Address "192.168.0.42"
714 # Version 2
715 # Community "another_string"
716 # Collect "std_traffic" "hr_users"
717 # </Host>
718 # <Host "some.ups.mydomain.org">
719 # Address "192.168.0.3"
720 # Version 1
721 # Community "more_communities"
722 # Collect "powerplus_voltge_input"
723 # Interval 300
724 # </Host>
725 #</Plugin>
727 #<Plugin "table">
728 # <Table "/proc/slabinfo">
729 # Instance "slabinfo"
730 # Separator " "
731 # <Result>
732 # Type gauge
733 # InstancePrefix "active_objs"
734 # InstancesFrom 0
735 # ValuesFrom 1
736 # </Result>
737 # <Result>
738 # Type gauge
739 # InstancePrefix "objperslab"
740 # InstancesFrom 0
741 # ValuesFrom 4
742 # </Result>
743 # </Table>
744 #</Plugin>
746 #<Plugin "tail">
747 # <File "/var/log/exim4/mainlog">
748 # Instance "exim"
749 # <Match>
750 # Regex "S=([1-9][0-9]*)"
751 # DSType "CounterAdd"
752 # Type "ipt_bytes"
753 # Instance "total"
754 # </Match>
755 # <Match>
756 # Regex "\\<R=local_user\\>"
757 # DSType "CounterInc"
758 # Type "counter"
759 # Instance "local_user"
760 # </Match>
761 # </File>
762 #</Plugin>
764 #<Plugin tcpconns>
765 # ListeningPorts false
766 # LocalPort "25"
767 # RemotePort "25"
768 #</Plugin>
770 #<Plugin teamspeak2>
771 # Host "127.0.0.1"
772 # Port "51234"
773 # Server "8767"
774 #</Plugin>
776 #<Plugin ted>
777 # Device "/dev/ttyUSB0"
778 # Retries 0
779 #</Plugin>
781 #<Plugin thermal>
782 # ForceUseProcfs false
783 # Device "THRM"
784 # IgnoreSelected false
785 #</Plugin>
787 #<Plugin tokyotyrant>
788 # Host "localhost"
789 # Port "1978"
790 #</Plugin>
792 #<Plugin unixsock>
793 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
794 # SocketGroup "collectd"
795 # SocketPerms "0660"
796 #</Plugin>
798 #<Plugin uuid>
799 # UUIDFile "/etc/uuid"
800 #</Plugin>
802 #<Plugin vmem>
803 # Verbose false
804 #</Plugin>
806 #<Plugin write_http>
807 # <URL "http://example.com/collectd-post">
808 # User "collectd"
809 # Password "weCh3ik0"
810 # </URL>
811 #</Plugin>
813 ##############################################################################
814 # Filter configuration #
815 #----------------------------------------------------------------------------#
816 # The following configures collectd's filtering mechanism. Before changing #
817 # anything in this section, please read the `FILTER CONFIGURATION' section #
818 # in the collectd.conf(5) manual page. #
819 ##############################################################################
821 # Load required matches:
822 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
823 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
824 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
825 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
827 # Load required targets:
828 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
829 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
830 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
832 #----------------------------------------------------------------------------#
833 # The following block demonstrates the default behavior if no filtering is #
834 # configured at all: All values will be sent to all available write plugins. #
835 #----------------------------------------------------------------------------#
837 #<Chain "PostCache">
838 # Target "write"
839 #</Chain>