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