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 #Timeout 2
21 #ReadThreads 5
23 ##############################################################################
24 # Logging #
25 #----------------------------------------------------------------------------#
26 # Plugins which provide logging functions should be loaded first, so log #
27 # messages generated when loading or configuring other plugins can be #
28 # accessed. #
29 ##############################################################################
31 @LOAD_PLUGIN_SYSLOG@LoadPlugin syslog
32 @LOAD_PLUGIN_LOGFILE@LoadPlugin logfile
34 #<Plugin logfile>
35 # LogLevel @DEFAULT_LOG_LEVEL@
36 # File STDOUT
37 # Timestamp true
38 # PrintSeverity false
39 #</Plugin>
41 #<Plugin syslog>
42 # LogLevel @DEFAULT_LOG_LEVEL@
43 #</Plugin>
45 ##############################################################################
46 # LoadPlugin section #
47 #----------------------------------------------------------------------------#
48 # Lines beginning with a single `#' belong to plugins which have been built #
49 # but are disabled by default. #
50 # #
51 # Lines begnning with `##' belong to plugins which have not been built due #
52 # to missing dependencies or because they have been deactivated explicitly. #
53 ##############################################################################
55 #@BUILD_PLUGIN_APACHE_TRUE@LoadPlugin apache
56 #@BUILD_PLUGIN_APCUPS_TRUE@LoadPlugin apcups
57 #@BUILD_PLUGIN_APPLE_SENSORS_TRUE@LoadPlugin apple_sensors
58 #@BUILD_PLUGIN_ASCENT_TRUE@LoadPlugin ascent
59 #@BUILD_PLUGIN_BATTERY_TRUE@LoadPlugin battery
60 #@BUILD_PLUGIN_BIND_TRUE@LoadPlugin bind
61 #@BUILD_PLUGIN_CONNTRACK_TRUE@LoadPlugin conntrack
62 #@BUILD_PLUGIN_CONTEXTSWITCH_TRUE@LoadPlugin contextswitch
63 @BUILD_PLUGIN_CPU_TRUE@@BUILD_PLUGIN_CPU_TRUE@LoadPlugin cpu
64 #@BUILD_PLUGIN_CPUFREQ_TRUE@LoadPlugin cpufreq
65 @LOAD_PLUGIN_CSV@LoadPlugin csv
66 #@BUILD_PLUGIN_CURL_TRUE@LoadPlugin curl
67 #@BUILD_PLUGIN_CURL_JSON_TRUE@LoadPlugin curl_json
68 #@BUILD_PLUGIN_CURL_XML_TRUE@LoadPlugin curl_xml
69 #@BUILD_PLUGIN_DBI_TRUE@LoadPlugin dbi
70 #@BUILD_PLUGIN_DF_TRUE@LoadPlugin df
71 #@BUILD_PLUGIN_DISK_TRUE@LoadPlugin disk
72 #@BUILD_PLUGIN_DNS_TRUE@LoadPlugin dns
73 #@BUILD_PLUGIN_EMAIL_TRUE@LoadPlugin email
74 #@BUILD_PLUGIN_ENTROPY_TRUE@LoadPlugin entropy
75 #@BUILD_PLUGIN_EXEC_TRUE@LoadPlugin exec
76 #@BUILD_PLUGIN_FILECOUNT_TRUE@LoadPlugin filecount
77 #@BUILD_PLUGIN_FSCACHE_TRUE@LoadPlugin fscache
78 #@BUILD_PLUGIN_GMOND_TRUE@LoadPlugin gmond
79 #@BUILD_PLUGIN_HDDTEMP_TRUE@LoadPlugin hddtemp
80 @BUILD_PLUGIN_INTERFACE_TRUE@@BUILD_PLUGIN_INTERFACE_TRUE@LoadPlugin interface
81 #@BUILD_PLUGIN_IPTABLES_TRUE@LoadPlugin iptables
82 #@BUILD_PLUGIN_IPMI_TRUE@LoadPlugin ipmi
83 #@BUILD_PLUGIN_IPVS_TRUE@LoadPlugin ipvs
84 #@BUILD_PLUGIN_IRQ_TRUE@LoadPlugin irq
85 #@BUILD_PLUGIN_JAVA_TRUE@LoadPlugin java
86 #@BUILD_PLUGIN_LIBVIRT_TRUE@LoadPlugin libvirt
87 @BUILD_PLUGIN_LOAD_TRUE@@BUILD_PLUGIN_LOAD_TRUE@LoadPlugin load
88 #@BUILD_PLUGIN_MADWIFI_TRUE@LoadPlugin madwifi
89 #@BUILD_PLUGIN_MBMON_TRUE@LoadPlugin mbmon
90 #@BUILD_PLUGIN_MEMCACHEC_TRUE@LoadPlugin memcachec
91 #@BUILD_PLUGIN_MEMCACHED_TRUE@LoadPlugin memcached
92 @BUILD_PLUGIN_MEMORY_TRUE@@BUILD_PLUGIN_MEMORY_TRUE@LoadPlugin memory
93 #@BUILD_PLUGIN_MODBUS_TRUE@LoadPlugin modbus
94 #@BUILD_PLUGIN_MULTIMETER_TRUE@LoadPlugin multimeter
95 #@BUILD_PLUGIN_MYSQL_TRUE@LoadPlugin mysql
96 #@BUILD_PLUGIN_NETAPP_TRUE@LoadPlugin netapp
97 #@BUILD_PLUGIN_NETLINK_TRUE@LoadPlugin netlink
98 @LOAD_PLUGIN_NETWORK@LoadPlugin network
99 #@BUILD_PLUGIN_NFS_TRUE@LoadPlugin nfs
100 #@BUILD_PLUGIN_NGINX_TRUE@LoadPlugin nginx
101 #@BUILD_PLUGIN_NOTIFY_DESKTOP_TRUE@LoadPlugin notify_desktop
102 #@BUILD_PLUGIN_NOTIFY_EMAIL_TRUE@LoadPlugin notify_email
103 #@BUILD_PLUGIN_NTPD_TRUE@LoadPlugin ntpd
104 #@BUILD_PLUGIN_NUT_TRUE@LoadPlugin nut
105 #@BUILD_PLUGIN_OLSRD_TRUE@LoadPlugin olsrd
106 #@BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire
107 #@BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn
108 #@BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle
109 #@BUILD_PLUGIN_PERL_TRUE@LoadPlugin perl
110 #@BUILD_PLUGIN_PINBA_TRUE@LoadPlugin pinba
111 #@BUILD_PLUGIN_PING_TRUE@LoadPlugin ping
112 #@BUILD_PLUGIN_POSTGRESQL_TRUE@LoadPlugin postgresql
113 #@BUILD_PLUGIN_POWERDNS_TRUE@LoadPlugin powerdns
114 #@BUILD_PLUGIN_PROCESSES_TRUE@LoadPlugin processes
115 #@BUILD_PLUGIN_PROTOCOLS_TRUE@LoadPlugin protocols
116 #@BUILD_PLUGIN_PYTHON_TRUE@LoadPlugin python
117 #@BUILD_PLUGIN_REDIS_TRUE@LoadPlugin redis
118 #@BUILD_PLUGIN_ROUTEROS_TRUE@LoadPlugin routeros
119 #@BUILD_PLUGIN_RRDCACHED_TRUE@LoadPlugin rrdcached
120 @LOAD_PLUGIN_RRDTOOL@LoadPlugin rrdtool
121 #@BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors
122 #@BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial
123 #@BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
124 #@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap
125 #@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table
126 #@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail
127 #@BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape
128 #@BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns
129 #@BUILD_PLUGIN_TEAMSPEAK2_TRUE@LoadPlugin teamspeak2
130 #@BUILD_PLUGIN_TED_TRUE@LoadPlugin ted
131 #@BUILD_PLUGIN_THERMAL_TRUE@LoadPlugin thermal
132 #@BUILD_PLUGIN_TOKYOTYRANT_TRUE@LoadPlugin tokyotyrant
133 #@BUILD_PLUGIN_UNIXSOCK_TRUE@LoadPlugin unixsock
134 #@BUILD_PLUGIN_UPTIME_TRUE@LoadPlugin uptime
135 #@BUILD_PLUGIN_USERS_TRUE@LoadPlugin users
136 #@BUILD_PLUGIN_UUID_TRUE@LoadPlugin uuid
137 #@BUILD_PLUGIN_VARNISH_TRUE@LoadPlugin varnish
138 #@BUILD_PLUGIN_VMEM_TRUE@LoadPlugin vmem
139 #@BUILD_PLUGIN_VSERVER_TRUE@LoadPlugin vserver
140 #@BUILD_PLUGIN_WIRELESS_TRUE@LoadPlugin wireless
141 #@BUILD_PLUGIN_WRITE_HTTP_TRUE@LoadPlugin write_http
142 #@BUILD_PLUGIN_WRITE_REDIS_TRUE@LoadPlugin write_redis
143 #@BUILD_PLUGIN_XMMS_TRUE@LoadPlugin xmms
144 #@BUILD_PLUGIN_ZFS_ARC_TRUE@LoadPlugin zfs_arc
146 ##############################################################################
147 # Plugin configuration #
148 #----------------------------------------------------------------------------#
149 # In this section configuration stubs for each plugin are provided. A desc- #
150 # ription of those options is available in the collectd.conf(5) manual page. #
151 ##############################################################################
153 #<Plugin apache>
154 # <Instance "local">
155 # URL "http://localhost/status?auto"
156 # User "www-user"
157 # Password "secret"
158 # CACert "/etc/ssl/ca.crt"
159 # </Instance>
160 #</Plugin>
162 #<Plugin apcups>
163 # Host "localhost"
164 # Port "3551"
165 #</Plugin>
167 #<Plugin ascent>
168 # URL "http://localhost/ascent/status/"
169 # User "www-user"
170 # Password "secret"
171 # CACert "/etc/ssl/ca.crt"
172 #</Plugin>
174 #<Plugin "bind">
175 # URL "http://localhost:8053/"
176 # OpCodes true
177 # QTypes true
178 #
179 # ServerStats true
180 # ZoneMaintStats true
181 # ResolverStats false
182 # MemoryStats true
183 #
184 # <View "_default">
185 # QTypes true
186 # ResolverStats true
187 # CacheRRSets true
188 #
189 # Zone "127.in-addr.arpa/IN"
190 # </View>
191 #</Plugin>
193 #<Plugin csv>
194 # DataDir "@prefix@/var/lib/@PACKAGE_NAME@/csv"
195 # StoreRates false
196 #</Plugin>
198 #<Plugin curl>
199 # <Page "stock_quotes">
200 # URL "http://finance.google.com/finance?q=NYSE%3AAMD"
201 # User "foo"
202 # Password "bar"
203 # MeasureResponseTime false
204 # <Match>
205 # Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
206 # DSType "GaugeAverage"
207 # Type "stock_value"
208 # Instance "AMD"
209 # </Match>
210 # </Page>
211 #</Plugin>
213 #<Plugin curl_json>
214 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
215 # <URL "http://localhost:5984/_stats">
216 # Instance "httpd"
217 # <Key "httpd/requests/count">
218 # Type "http_requests"
219 # </Key>
220 #
221 # <Key "httpd_request_methods/*/count">
222 # Type "http_request_methods"
223 # </Key>
224 #
225 # <Key "httpd_status_codes/*/count">
226 # Type "http_response_codes"
227 # </Key>
228 # </URL>
229 ## Database status metrics:
230 # <URL "http://localhost:5984/_all_dbs">
231 # Instance "dbs"
232 # <Key "*/doc_count">
233 # Type "gauge"
234 # </Key>
235 # <Key "*/doc_del_count">
236 # Type "counter"
237 # </Key>
238 # <Key "*/disk_size">
239 # Type "bytes"
240 # </Key>
241 # </URL>
242 #</Plugin>
244 #<Plugin "curl_xml">
245 # <URL "http://localhost/stats.xml">
246 # Host "my_host"
247 # Instance "some_instance"
248 # User "collectd"
249 # Password "thaiNg0I"
250 # VerifyPeer true
251 # VerifyHost true
252 # CACert "/path/to/ca.crt"
253 #
254 # <XPath "table[@id=\"magic_level\"]/tr">
255 # Type "magic_level"
256 # #InstancePrefix "prefix-"
257 # InstanceFrom "td[1]"
258 # ValuesFrom "td[2]/span[@class=\"level\"]"
259 # </XPath>
260 # </URL>
261 #</Plugin>
263 #<Plugin dbi>
264 # <Query "num_of_customers">
265 # Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
266 # <Result>
267 # Type "gauge"
268 # InstancesFrom "c_key"
269 # ValuesFrom "c_value"
270 # </Result>
271 # </Query>
272 # <Database "customers_db">
273 # Driver "mysql"
274 # DriverOption "host" "localhost"
275 # DriverOption "username" "collectd"
276 # DriverOption "password" "AeXohy0O"
277 # DriverOption "dbname" "custdb0"
278 # #SelectDB "custdb0"
279 # Query "num_of_customers"
280 # #Query "..."
281 # </Database>
282 #</Plugin>
284 #<Plugin df>
285 # Device "/dev/hda1"
286 # Device "192.168.0.2:/mnt/nfs"
287 # MountPoint "/home"
288 # FSType "ext3"
289 # IgnoreSelected false
290 # ReportByDevice false
291 # ReportReserved false
292 # ReportInodes false
293 #</Plugin>
295 #<Plugin disk>
296 # Disk "/^[hs]d[a-f][0-9]?$/"
297 # IgnoreSelected false
298 #</Plugin>
300 #<Plugin dns>
301 # Interface "eth0"
302 # IgnoreSource "192.168.0.1"
303 # SelectNumericQueryTypes true
304 #</Plugin>
306 #<Plugin email>
307 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-email"
308 # SocketGroup "collectd"
309 # SocketPerms "0770"
310 # MaxConns 5
311 #</Plugin>
313 #<Plugin exec>
314 # Exec "user:group" "/path/to/exec"
315 # NotificationExec "user:group" "/path/to/exec"
316 #</Plugin>
318 #<Plugin filecount>
319 # <Directory "/path/to/dir">
320 # Instance "foodir"
321 # Name "*.conf"
322 # MTime "-5m"
323 # Size "+10k"
324 # Recursive true
325 # IncludeHidden false
326 # </Directory>
327 #</Plugin>
329 #<Plugin "gmond">
330 # MCReceiveFrom "239.2.11.71" "8649"
331 # <Metric "swap_total">
332 # Type "swap"
333 # TypeInstance "total"
334 # DataSource "value"
335 # </Metric>
336 # <Metric "swap_free">
337 # Type "swap"
338 # TypeInstance "free"
339 # DataSource "value"
340 # </Metric>
341 #</Plugin>
343 #<Plugin hddtemp>
344 # Host "127.0.0.1"
345 # Port "7634"
346 #
347 # #----------------------------------------------------------------#
348 # # `TranslateDevicename' enables backwards compatibility behavior #
349 # # and is enabled by default. Setting this option to `false' is #
350 # # highly recommended. #
351 # #----------------------------------------------------------------#
352 # TranslateDevicename false
353 #</Plugin>
355 #<Plugin interface>
356 # Interface "eth0"
357 # IgnoreSelected false
358 #</Plugin>
360 #<Plugin ipmi>
361 # Sensor "some_sensor"
362 # Sensor "another_one"
363 # IgnoreSelected false
364 # NotifySensorAdd false
365 # NotifySensorRemove true
366 # NotifySensorNotPresent false
367 #</Plugin>
369 #<Plugin iptables>
370 # Chain table chain
371 #</Plugin>
373 #<Plugin irq>
374 # Irq 7
375 # Irq 8
376 # Irq 9
377 # IgnoreSelected true
378 #</Plugin>
380 #<Plugin "java">
381 # JVMArg "-verbose:jni"
382 # JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
383 #
384 # LoadPlugin "org.collectd.java.Foobar"
385 # <Plugin "org.collectd.java.Foobar">
386 # # To be parsed by the plugin
387 # </Plugin>
388 #</Plugin>
390 #<Plugin libvirt>
391 # Connection "xen:///"
392 # RefreshInterval 60
393 # Domain "name"
394 # BlockDevice "name:device"
395 # InterfaceDevice "name:device"
396 # IgnoreSelected false
397 # HostnameFormat name
398 # InterfaceFormat name
399 #</Plugin>
401 #<Plugin madwifi>
402 # Interface "wlan0"
403 # IgnoreSelected false
404 # Source "SysFS"
405 # WatchSet "None"
406 # WatchAdd "node_octets"
407 # WatchAdd "node_rssi"
408 # WatchAdd "is_rx_acl"
409 # WatchAdd "is_scan_active"
410 #</Plugin>
412 #<Plugin mbmon>
413 # Host "127.0.0.1"
414 # Port "411"
415 #</Plugin>
417 #<Plugin memcachec>
418 # <Page "plugin_instance">
419 # Server "localhost"
420 # Key "page_key"
421 # <Match>
422 # Regex "(\\d+) bytes sent"
423 # ExcludeRegex "<lines to be excluded>"
424 # DSType CounterAdd
425 # Type "ipt_octets"
426 # Instance "type_instance"
427 # </Match>
428 # </Page>
429 #</Plugin>
431 #<Plugin memcached>
432 # Host "127.0.0.1"
433 # Port "11211"
434 #</Plugin>
436 #<Plugin modbus>
437 # <Data "data_name">
438 # RegisterBase 1234
439 # RegisterType float
440 # Type gauge
441 # Instance "..."
442 # </Data>
443 #
444 # <Host "name">
445 # Address "addr"
446 # Port "1234"
447 # Interval 60
448 #
449 # <Slave 1>
450 # Instance "foobar" # optional
451 # Collect "data_name"
452 # </Slave>
453 # </Host>
454 #</Plugin>
456 #<Plugin mysql>
457 # <Database db_name>
458 # Host "database.serv.er"
459 # User "db_user"
460 # Password "secret"
461 # Database "db_name"
462 # MasterStats true
463 # </Database>
464 #
465 # <Database db_name2>
466 # Host "localhost"
467 # Socket "/var/run/mysql/mysqld.sock"
468 # SlaveStats true
469 # SlaveNotifications true
470 # </Database>
471 #</Plugin>
473 #<Plugin netapp>
474 # <Host "netapp1.example.com">
475 # Protocol "https"
476 # Address "10.0.0.1"
477 # Port 443
478 # User "username"
479 # Password "aef4Aebe"
480 # Interval 30
481 #
482 # <WAFL>
483 # Interval 30
484 # GetNameCache true
485 # GetDirCache true
486 # GetBufferCache true
487 # GetInodeCache true
488 # </WAFL>
489 #
490 # <Disks>
491 # Interval 30
492 # GetBusy true
493 # </Disks>
494 #
495 # <VolumePerf>
496 # Interval 30
497 # GetIO "volume0"
498 # IgnoreSelectedIO false
499 # GetOps "volume0"
500 # IgnoreSelectedOps false
501 # GetLatency "volume0"
502 # IgnoreSelectedLatency false
503 # </VolumePerf>
504 #
505 # <VolumeUsage>
506 # Interval 30
507 # GetCapacity "vol0"
508 # GetCapacity "vol1"
509 # IgnoreSelectedCapacity false
510 # GetSnapshot "vol1"
511 # GetSnapshot "vol3"
512 # IgnoreSelectedSnapshot false
513 # </VolumeUsage>
514 #
515 # <System>
516 # Interval 30
517 # GetCPULoad true
518 # GetInterfaces true
519 # GetDiskOps true
520 # GetDiskIO true
521 # </System>
522 # </Host>
523 #</Plugin>
525 #<Plugin netlink>
526 # Interface "All"
527 # VerboseInterface "All"
528 # QDisc "eth0" "pfifo_fast-1:0"
529 # Class "ppp0" "htb-1:10"
530 # Filter "ppp0" "u32-1:0"
531 # IgnoreSelected false
532 #</Plugin>
534 @LOAD_PLUGIN_NETWORK@<Plugin network>
535 # # client setup:
536 @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826"
537 @LOAD_PLUGIN_NETWORK@ <Server "239.192.74.66" "25826">
538 # SecurityLevel Encrypt
539 # Username "user"
540 # Password "secret"
541 # Interface "eth0"
542 @LOAD_PLUGIN_NETWORK@ </Server>
543 # TimeToLive "128"
544 #
545 # # server setup:
546 # Listen "ff18::efc0:4a42" "25826"
547 # <Listen "239.192.74.66" "25826">
548 # SecurityLevel Sign
549 # AuthFile "/etc/collectd/passwd"
550 # Interface "eth0"
551 # </Listen>
552 # MaxPacketSize 1024
553 #
554 # # proxy setup (client and server as above):
555 # Forward true
556 #
557 # # statistics about the network plugin itself
558 # ReportStats false
559 #
560 # # "garbage collection"
561 # CacheFlush 1800
562 @LOAD_PLUGIN_NETWORK@</Plugin>
564 #<Plugin nginx>
565 # URL "http://localhost/status?auto"
566 # User "www-user"
567 # Password "secret"
568 # CACert "/etc/ssl/ca.crt"
569 #</Plugin>
571 #<Plugin notify_desktop>
572 # OkayTimeout 1000
573 # WarningTimeout 5000
574 # FailureTimeout 0
575 #</Plugin>
577 #<Plugin notify_email>
578 # SMTPServer "localhost"
579 # SMTPPort 25
580 # SMTPUser "my-username"
581 # SMTPPassword "my-password"
582 # From "collectd@main0server.com"
583 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
584 # Subject "Aaaaaa!! %s on %s!!!!!"
585 # Recipient "email1@domain1.net"
586 # Recipient "email2@domain2.com"
587 #</Plugin>
589 #<Plugin ntpd>
590 # Host "localhost"
591 # Port 123
592 # ReverseLookups false
593 #</Plugin>
595 #<Plugin nut>
596 # UPS "upsname@hostname:port"
597 #</Plugin>
599 #<Plugin olsrd>
600 # Host "127.0.0.1"
601 # Port "2006"
602 # CollectLinks "Summary"
603 # CollectRoutes "Summary"
604 # CollectTopology "Summary"
605 #</Plugin>
607 #<Plugin onewire>
608 # Device "-s localhost:4304"
609 # Sensor "F10FCA000800"
610 # IgnoreSelected false
611 #</Plugin>
613 #<Plugin openvpn>
614 # StatusFile "/etc/openvpn/openvpn-status.log"
615 # ImprovedNamingSchema false
616 # CollectCompression true
617 # CollectIndividualUsers true
618 # CollectUserCount false
619 #</Plugin>
621 #<Plugin oracle>
622 # <Query "out_of_stock">
623 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
624 # <Result>
625 # Type "gauge"
626 # InstancesFrom "category"
627 # ValuesFrom "value"
628 # </Result>
629 # </Query>
630 # <Database "product_information">
631 # ConnectID "db01"
632 # Username "oracle"
633 # Password "secret"
634 # Query "out_of_stock"
635 # </Database>
636 #</Plugin>
638 #<Plugin perl>
639 # IncludeDir "/my/include/path"
640 # BaseName "Collectd::Plugins"
641 # EnableDebugger ""
642 # LoadPlugin Monitorus
643 # LoadPlugin OpenVZ
644 #
645 # <Plugin foo>
646 # Foo "Bar"
647 # Qux "Baz"
648 # </Plugin>
649 #</Plugin>
651 #<Plugin pinba>
652 # Address "::0"
653 # Port "30002"
654 # <View "name">
655 # Host "host name"
656 # Server "server name"
657 # Script "script name"
658 # </View>
659 #</Plugin>
661 #<Plugin ping>
662 # Host "host.foo.bar"
663 # Interval 1.0
664 # Timeout 0.9
665 # TTL 255
666 # SourceAddress "1.2.3.4"
667 # Device "eth0"
668 # MaxMissed -1
669 #</Plugin>
671 #<Plugin postgresql>
672 # <Query magic>
673 # Statement "SELECT magic FROM wizard WHERE host = $1;"
674 # Param hostname
675 # <Result>
676 # Type gauge
677 # InstancePrefix "magic"
678 # ValuesFrom magic
679 # </Result>
680 # </Query>
681 # <Query rt36_tickets>
682 # Statement "SELECT COUNT(type) AS count, type \
683 # FROM (SELECT CASE \
684 # WHEN resolved = 'epoch' THEN 'open' \
685 # ELSE 'resolved' END AS type \
686 # FROM tickets) type \
687 # GROUP BY type;"
688 # <Result>
689 # Type counter
690 # InstancePrefix "rt36_tickets"
691 # InstancesFrom "type"
692 # ValuesFrom "count"
693 # </Result>
694 # </Query>
695 # <Database foo>
696 # Host "hostname"
697 # Port "5432"
698 # User "username"
699 # Password "secret"
700 # SSLMode "prefer"
701 # KRBSrvName "kerberos_service_name"
702 # Query magic
703 # </Database>
704 # <Database bar>
705 # Interval 60
706 # Service "service_name"
707 # Query backend # predefined
708 # Query rt36_tickets
709 # </Database>
710 #</Plugin>
712 #<Plugin powerdns>
713 # <Server "server_name">
714 # Collect "latency"
715 # Collect "udp-answers" "udp-queries"
716 # Socket "/var/run/pdns.controlsocket"
717 # </Server>
718 # <Recursor "recursor_name">
719 # Collect "questions"
720 # Collect "cache-hits" "cache-misses"
721 # Socket "/var/run/pdns_recursor.controlsocket"
722 # </Recursor>
723 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
724 #</Plugin>
726 #<Plugin processes>
727 # Process "name"
728 #</Plugin>
730 #<Plugin protocols>
731 # Value "/^Tcp:/"
732 # IgnoreSelected false
733 #</Plugin>
735 #<Plugin python>
736 # ModulePath "/path/to/your/python/modules"
737 # LogTraces true
738 # Interactive true
739 # Import "spam"
740 #
741 # <Module spam>
742 # spam "wonderful" "lovely"
743 # </Module>
744 #</Plugin>
746 #<Plugin redis>
747 # <Node example>
748 # Host "redis.example.com"
749 # Port "6379"
750 # Timeout 2000
751 # </Node>
752 #</Plugin>
754 #<Plugin routeros>
755 # <Router>
756 # Host "router.example.com"
757 # Port "8728"
758 # User "admin"
759 # Password "dozaiTh4"
760 # CollectInterface true
761 # CollectRegistrationTable true
762 # CollectCPULoad true
763 # CollectMemory true
764 # CollectDF true
765 # CollectDisk true
766 # </Router>
767 #</Plugin>
769 #<Plugin rrdcached>
770 # DaemonAddress "unix:/tmp/rrdcached.sock"
771 # DataDir "@prefix@/var/lib/@PACKAGE_NAME@/rrd"
772 # CreateFiles true
773 # CollectStatistics true
774 #</Plugin>
776 #<Plugin rrdtool>
777 # DataDir "@prefix@/var/lib/@PACKAGE_NAME@/rrd"
778 # CacheTimeout 120
779 # CacheFlush 900
780 #</Plugin>
782 #<Plugin sensors>
783 # Sensor "it8712-isa-0290/temperature-temp1"
784 # Sensor "it8712-isa-0290/fanspeed-fan3"
785 # Sensor "it8712-isa-0290/voltage-in8"
786 # IgnoreSelected false
787 #</Plugin>
789 #<Plugin snmp>
790 # <Data "powerplus_voltge_input">
791 # Type "voltage"
792 # Table false
793 # Instance "input_line1"
794 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
795 # </Data>
796 # <Data "hr_users">
797 # Type "users"
798 # Table false
799 # Instance ""
800 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
801 # </Data>
802 # <Data "std_traffic">
803 # Type "if_octets"
804 # Table true
805 # Instance "IF-MIB::ifDescr"
806 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
807 # </Data>
808 #
809 # <Host "some.switch.mydomain.org">
810 # Address "192.168.0.2"
811 # Version 1
812 # Community "community_string"
813 # Collect "std_traffic"
814 # Interval 120
815 # </Host>
816 # <Host "some.server.mydomain.org">
817 # Address "192.168.0.42"
818 # Version 2
819 # Community "another_string"
820 # Collect "std_traffic" "hr_users"
821 # </Host>
822 # <Host "some.ups.mydomain.org">
823 # Address "192.168.0.3"
824 # Version 1
825 # Community "more_communities"
826 # Collect "powerplus_voltge_input"
827 # Interval 300
828 # </Host>
829 #</Plugin>
831 #<Plugin "table">
832 # <Table "/proc/slabinfo">
833 # Instance "slabinfo"
834 # Separator " "
835 # <Result>
836 # Type gauge
837 # InstancePrefix "active_objs"
838 # InstancesFrom 0
839 # ValuesFrom 1
840 # </Result>
841 # <Result>
842 # Type gauge
843 # InstancePrefix "objperslab"
844 # InstancesFrom 0
845 # ValuesFrom 4
846 # </Result>
847 # </Table>
848 #</Plugin>
850 #<Plugin "tail">
851 # <File "/var/log/exim4/mainlog">
852 # Instance "exim"
853 # <Match>
854 # Regex "S=([1-9][0-9]*)"
855 # DSType "CounterAdd"
856 # Type "ipt_bytes"
857 # Instance "total"
858 # </Match>
859 # <Match>
860 # Regex "\\<R=local_user\\>"
861 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
862 # DSType "CounterInc"
863 # Type "counter"
864 # Instance "local_user"
865 # </Match>
866 # </File>
867 #</Plugin>
869 #<Plugin tcpconns>
870 # ListeningPorts false
871 # LocalPort "25"
872 # RemotePort "25"
873 #</Plugin>
875 #<Plugin teamspeak2>
876 # Host "127.0.0.1"
877 # Port "51234"
878 # Server "8767"
879 #</Plugin>
881 #<Plugin ted>
882 # Device "/dev/ttyUSB0"
883 # Retries 0
884 #</Plugin>
886 #<Plugin thermal>
887 # ForceUseProcfs false
888 # Device "THRM"
889 # IgnoreSelected false
890 #</Plugin>
892 #<Plugin tokyotyrant>
893 # Host "localhost"
894 # Port "1978"
895 #</Plugin>
897 #<Plugin unixsock>
898 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
899 # SocketGroup "collectd"
900 # SocketPerms "0660"
901 #</Plugin>
903 #<Plugin uuid>
904 # UUIDFile "/etc/uuid"
905 #</Plugin>
907 #<Plugin varnish>
908 # This tag support an argument if you want to
909 # monitor the local instance just use </Instance>
910 # If you prefer defining another instance you can do
911 # so by using <Instance "myinstance">
912 # <Instance>
913 # CollectCache true
914 # CollectBackend true
915 # CollectConnections true
916 # CollectSHM true
917 # CollectESI false
918 # CollectFetch false
919 # CollectHCB false
920 # CollectSMA false
921 # CollectSMS false
922 # CollectSM false
923 # CollectTotals false
924 # CollectWorkers false
925 # </Instance>
926 #</Plugin>
928 #<Plugin vmem>
929 # Verbose false
930 #</Plugin>
932 #<Plugin write_http>
933 # <URL "http://example.com/collectd-post">
934 # User "collectd"
935 # Password "weCh3ik0"
936 # VerifyPeer true
937 # VerifyHost true
938 # CACert "/etc/ssl/ca.crt"
939 # Format "Command"
940 # StoreRates false
941 # </URL>
942 #</Plugin>
944 #<Plugin write_redis>
945 # <Node "example">
946 # Host "localhost"
947 # Port "6379"
948 # Timeout 1000
949 # </Node>
950 #</Plugin>
952 ##############################################################################
953 # Filter configuration #
954 #----------------------------------------------------------------------------#
955 # The following configures collectd's filtering mechanism. Before changing #
956 # anything in this section, please read the `FILTER CONFIGURATION' section #
957 # in the collectd.conf(5) manual page. #
958 ##############################################################################
960 # Load required matches:
961 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
962 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
963 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
964 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
965 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
967 # Load required targets:
968 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
969 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
970 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
971 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
973 #----------------------------------------------------------------------------#
974 # The following block demonstrates the default behavior if no filtering is #
975 # configured at all: All values will be sent to all available write plugins. #
976 #----------------------------------------------------------------------------#
978 #<Chain "PostCache">
979 # Target "write"
980 #</Chain>