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