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_XMMS_TRUE@LoadPlugin xmms
143 #@BUILD_PLUGIN_ZFS_ARC_TRUE@LoadPlugin zfs_arc
145 ##############################################################################
146 # Plugin configuration #
147 #----------------------------------------------------------------------------#
148 # In this section configuration stubs for each plugin are provided. A desc- #
149 # ription of those options is available in the collectd.conf(5) manual page. #
150 ##############################################################################
152 #<Plugin apache>
153 # URL "http://localhost/status?auto"
154 # User "www-user"
155 # Password "secret"
156 # CACert "/etc/ssl/ca.crt"
157 #</Plugin>
159 #<Plugin apcups>
160 # Host "localhost"
161 # Port "3551"
162 #</Plugin>
164 #<Plugin ascent>
165 # URL "http://localhost/ascent/status/"
166 # User "www-user"
167 # Password "secret"
168 # CACert "/etc/ssl/ca.crt"
169 #</Plugin>
171 #<Plugin "bind">
172 # URL "http://localhost:8053/"
173 # OpCodes true
174 # QTypes true
175 #
176 # ServerStats true
177 # ZoneMaintStats true
178 # ResolverStats false
179 # MemoryStats true
180 #
181 # <View "_default">
182 # QTypes true
183 # ResolverStats true
184 # CacheRRSets true
185 #
186 # Zone "127.in-addr.arpa/IN"
187 # </View>
188 #</Plugin>
190 #<Plugin csv>
191 # DataDir "@prefix@/var/lib/@PACKAGE_NAME@/csv"
192 # StoreRates false
193 #</Plugin>
195 #<Plugin curl>
196 # <Page "stock_quotes">
197 # URL "http://finance.google.com/finance?q=NYSE%3AAMD"
198 # User "foo"
199 # Password "bar"
200 # MeasureResponseTime false
201 # <Match>
202 # Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
203 # DSType "GaugeAverage"
204 # Type "stock_value"
205 # Instance "AMD"
206 # </Match>
207 # </Page>
208 #</Plugin>
210 #<Plugin curl_json>
211 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
212 # <URL "http://localhost:5984/_stats">
213 # Instance "httpd"
214 # <Key "httpd/requests/count">
215 # Type "http_requests"
216 # </Key>
217 #
218 # <Key "httpd_request_methods/*/count">
219 # Type "http_request_methods"
220 # </Key>
221 #
222 # <Key "httpd_status_codes/*/count">
223 # Type "http_response_codes"
224 # </Key>
225 # </URL>
226 ## Database status metrics:
227 # <URL "http://localhost:5984/_all_dbs">
228 # Instance "dbs"
229 # <Key "*/doc_count">
230 # Type "gauge"
231 # </Key>
232 # <Key "*/doc_del_count">
233 # Type "counter"
234 # </Key>
235 # <Key "*/disk_size">
236 # Type "bytes"
237 # </Key>
238 # </URL>
239 #</Plugin>
241 #<Plugin "curl_xml">
242 # <URL "http://localhost/stats.xml">
243 # Host "my_host"
244 # Instance "some_instance"
245 # User "collectd"
246 # Password "thaiNg0I"
247 # VerifyPeer true
248 # VerifyHost true
249 # CACert "/path/to/ca.crt"
250 #
251 # <XPath "table[@id=\"magic_level\"]/tr">
252 # Type "magic_level"
253 # #InstancePrefix "prefix-"
254 # InstanceFrom "td[1]"
255 # ValuesFrom "td[2]/span[@class=\"level\"]"
256 # </XPath>
257 # </URL>
258 #</Plugin>
260 #<Plugin dbi>
261 # <Query "num_of_customers">
262 # Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
263 # <Result>
264 # Type "gauge"
265 # InstancesFrom "c_key"
266 # ValuesFrom "c_value"
267 # </Result>
268 # </Query>
269 # <Database "customers_db">
270 # Driver "mysql"
271 # DriverOption "host" "localhost"
272 # DriverOption "username" "collectd"
273 # DriverOption "password" "AeXohy0O"
274 # DriverOption "dbname" "custdb0"
275 # #SelectDB "custdb0"
276 # Query "num_of_customers"
277 # #Query "..."
278 # </Database>
279 #</Plugin>
281 #<Plugin df>
282 # Device "/dev/hda1"
283 # Device "192.168.0.2:/mnt/nfs"
284 # MountPoint "/home"
285 # FSType "ext3"
286 # IgnoreSelected false
287 # ReportByDevice false
288 # ReportReserved false
289 # ReportInodes false
290 #</Plugin>
292 #<Plugin disk>
293 # Disk "/^[hs]d[a-f][0-9]?$/"
294 # IgnoreSelected false
295 #</Plugin>
297 #<Plugin dns>
298 # Interface "eth0"
299 # IgnoreSource "192.168.0.1"
300 # SelectNumericQueryTypes true
301 #</Plugin>
303 #<Plugin email>
304 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-email"
305 # SocketGroup "collectd"
306 # SocketPerms "0770"
307 # MaxConns 5
308 #</Plugin>
310 #<Plugin exec>
311 # Exec "user:group" "/path/to/exec"
312 # NotificationExec "user:group" "/path/to/exec"
313 #</Plugin>
315 #<Plugin filecount>
316 # <Directory "/path/to/dir">
317 # Instance "foodir"
318 # Name "*.conf"
319 # MTime "-5m"
320 # Size "+10k"
321 # Recursive true
322 # IncludeHidden false
323 # </Directory>
324 #</Plugin>
326 #<Plugin "gmond">
327 # MCReceiveFrom "239.2.11.71" "8649"
328 # <Metric "swap_total">
329 # Type "swap"
330 # TypeInstance "total"
331 # DataSource "value"
332 # </Metric>
333 # <Metric "swap_free">
334 # Type "swap"
335 # TypeInstance "free"
336 # DataSource "value"
337 # </Metric>
338 #</Plugin>
340 #<Plugin hddtemp>
341 # Host "127.0.0.1"
342 # Port "7634"
343 #
344 # #----------------------------------------------------------------#
345 # # `TranslateDevicename' enables backwards compatibility behavior #
346 # # and is enabled by default. Setting this option to `false' is #
347 # # highly recommended. #
348 # #----------------------------------------------------------------#
349 # TranslateDevicename false
350 #</Plugin>
352 #<Plugin interface>
353 # Interface "eth0"
354 # IgnoreSelected false
355 #</Plugin>
357 #<Plugin ipmi>
358 # Sensor "some_sensor"
359 # Sensor "another_one"
360 # IgnoreSelected false
361 # NotifySensorAdd false
362 # NotifySensorRemove true
363 # NotifySensorNotPresent false
364 #</Plugin>
366 #<Plugin iptables>
367 # Chain table chain
368 #</Plugin>
370 #<Plugin irq>
371 # Irq 7
372 # Irq 8
373 # Irq 9
374 # IgnoreSelected true
375 #</Plugin>
377 #<Plugin "java">
378 # JVMArg "-verbose:jni"
379 # JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
380 #
381 # LoadPlugin "org.collectd.java.Foobar"
382 # <Plugin "org.collectd.java.Foobar">
383 # # To be parsed by the plugin
384 # </Plugin>
385 #</Plugin>
387 #<Plugin libvirt>
388 # Connection "xen:///"
389 # RefreshInterval 60
390 # Domain "name"
391 # BlockDevice "name:device"
392 # InterfaceDevice "name:device"
393 # IgnoreSelected false
394 # HostnameFormat name
395 # InterfaceFormat name
396 #</Plugin>
398 #<Plugin madwifi>
399 # Interface "wlan0"
400 # IgnoreSelected false
401 # Source "SysFS"
402 # WatchSet "None"
403 # WatchAdd "node_octets"
404 # WatchAdd "node_rssi"
405 # WatchAdd "is_rx_acl"
406 # WatchAdd "is_scan_active"
407 #</Plugin>
409 #<Plugin mbmon>
410 # Host "127.0.0.1"
411 # Port "411"
412 #</Plugin>
414 #<Plugin memcachec>
415 # <Page "plugin_instance">
416 # Server "localhost"
417 # Key "page_key"
418 # <Match>
419 # Regex "(\\d+) bytes sent"
420 # ExcludeRegex "<lines to be excluded>"
421 # DSType CounterAdd
422 # Type "ipt_octets"
423 # Instance "type_instance"
424 # </Match>
425 # </Page>
426 #</Plugin>
428 #<Plugin memcached>
429 # Host "127.0.0.1"
430 # Port "11211"
431 #</Plugin>
433 #<Plugin modbus>
434 # <Data "data_name">
435 # RegisterBase 1234
436 # RegisterType float
437 # Type gauge
438 # Instance "..."
439 # </Data>
440 #
441 # <Host "name">
442 # Address "addr"
443 # Port "1234"
444 # Interval 60
445 #
446 # <Slave 1>
447 # Instance "foobar" # optional
448 # Collect "data_name"
449 # </Slave>
450 # </Host>
451 #</Plugin>
453 #<Plugin mysql>
454 # <Database db_name>
455 # Host "database.serv.er"
456 # User "db_user"
457 # Password "secret"
458 # Database "db_name"
459 # MasterStats true
460 # </Database>
461 #
462 # <Database db_name2>
463 # Host "localhost"
464 # Socket "/var/run/mysql/mysqld.sock"
465 # SlaveStats true
466 # SlaveNotifications true
467 # </Database>
468 #</Plugin>
470 #<Plugin netapp>
471 # <Host "netapp1.example.com">
472 # Protocol "https"
473 # Address "10.0.0.1"
474 # Port 443
475 # User "username"
476 # Password "aef4Aebe"
477 # Interval 30
478 #
479 # <WAFL>
480 # Interval 30
481 # GetNameCache true
482 # GetDirCache true
483 # GetBufferCache true
484 # GetInodeCache true
485 # </WAFL>
486 #
487 # <Disks>
488 # Interval 30
489 # GetBusy true
490 # </Disks>
491 #
492 # <VolumePerf>
493 # Interval 30
494 # GetIO "volume0"
495 # IgnoreSelectedIO false
496 # GetOps "volume0"
497 # IgnoreSelectedOps false
498 # GetLatency "volume0"
499 # IgnoreSelectedLatency false
500 # </VolumePerf>
501 #
502 # <VolumeUsage>
503 # Interval 30
504 # GetCapacity "vol0"
505 # GetCapacity "vol1"
506 # IgnoreSelectedCapacity false
507 # GetSnapshot "vol1"
508 # GetSnapshot "vol3"
509 # IgnoreSelectedSnapshot false
510 # </VolumeUsage>
511 #
512 # <System>
513 # Interval 30
514 # GetCPULoad true
515 # GetInterfaces true
516 # GetDiskOps true
517 # GetDiskIO true
518 # </System>
519 # </Host>
520 #</Plugin>
522 #<Plugin netlink>
523 # Interface "All"
524 # VerboseInterface "All"
525 # QDisc "eth0" "pfifo_fast-1:0"
526 # Class "ppp0" "htb-1:10"
527 # Filter "ppp0" "u32-1:0"
528 # IgnoreSelected false
529 #</Plugin>
531 @LOAD_PLUGIN_NETWORK@<Plugin network>
532 # # client setup:
533 @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826"
534 @LOAD_PLUGIN_NETWORK@ <Server "239.192.74.66" "25826">
535 # SecurityLevel Encrypt
536 # Username "user"
537 # Password "secret"
538 # Interface "eth0"
539 @LOAD_PLUGIN_NETWORK@ </Server>
540 # TimeToLive "128"
541 #
542 # # server setup:
543 # Listen "ff18::efc0:4a42" "25826"
544 # <Listen "239.192.74.66" "25826">
545 # SecurityLevel Sign
546 # AuthFile "/etc/collectd/passwd"
547 # Interface "eth0"
548 # </Listen>
549 # MaxPacketSize 1024
550 #
551 # # proxy setup (client and server as above):
552 # Forward true
553 #
554 # # statistics about the network plugin itself
555 # ReportStats false
556 #
557 # # "garbage collection"
558 # CacheFlush 1800
559 @LOAD_PLUGIN_NETWORK@</Plugin>
561 #<Plugin nginx>
562 # URL "http://localhost/status?auto"
563 # User "www-user"
564 # Password "secret"
565 # CACert "/etc/ssl/ca.crt"
566 #</Plugin>
568 #<Plugin notify_desktop>
569 # OkayTimeout 1000
570 # WarningTimeout 5000
571 # FailureTimeout 0
572 #</Plugin>
574 #<Plugin notify_email>
575 # SMTPServer "localhost"
576 # SMTPPort 25
577 # SMTPUser "my-username"
578 # SMTPPassword "my-password"
579 # From "collectd@main0server.com"
580 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
581 # Subject "Aaaaaa!! %s on %s!!!!!"
582 # Recipient "email1@domain1.net"
583 # Recipient "email2@domain2.com"
584 #</Plugin>
586 #<Plugin ntpd>
587 # Host "localhost"
588 # Port 123
589 # ReverseLookups false
590 #</Plugin>
592 #<Plugin nut>
593 # UPS "upsname@hostname:port"
594 #</Plugin>
596 #<Plugin olsrd>
597 # Host "127.0.0.1"
598 # Port "2006"
599 # CollectLinks "Summary"
600 # CollectRoutes "Summary"
601 # CollectTopology "Summary"
602 #</Plugin>
604 #<Plugin onewire>
605 # Device "-s localhost:4304"
606 # Sensor "F10FCA000800"
607 # IgnoreSelected false
608 #</Plugin>
610 #<Plugin openvpn>
611 # StatusFile "/etc/openvpn/openvpn-status.log"
612 # ImprovedNamingSchema false
613 # CollectCompression true
614 # CollectIndividualUsers true
615 # CollectUserCount false
616 #</Plugin>
618 #<Plugin oracle>
619 # <Query "out_of_stock">
620 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
621 # <Result>
622 # Type "gauge"
623 # InstancesFrom "category"
624 # ValuesFrom "value"
625 # </Result>
626 # </Query>
627 # <Database "product_information">
628 # ConnectID "db01"
629 # Username "oracle"
630 # Password "secret"
631 # Query "out_of_stock"
632 # </Database>
633 #</Plugin>
635 #<Plugin perl>
636 # IncludeDir "/my/include/path"
637 # BaseName "Collectd::Plugins"
638 # EnableDebugger ""
639 # LoadPlugin Monitorus
640 # LoadPlugin OpenVZ
641 #
642 # <Plugin foo>
643 # Foo "Bar"
644 # Qux "Baz"
645 # </Plugin>
646 #</Plugin>
648 #<Plugin pinba>
649 # Address "::0"
650 # Port "30002"
651 # <View "name">
652 # Host "host name"
653 # Server "server name"
654 # Script "script name"
655 # </View>
656 #</Plugin>
658 #<Plugin ping>
659 # Host "host.foo.bar"
660 # Interval 1.0
661 # Timeout 0.9
662 # TTL 255
663 # SourceAddress "1.2.3.4"
664 # Device "eth0"
665 # MaxMissed -1
666 #</Plugin>
668 #<Plugin postgresql>
669 # <Query magic>
670 # Statement "SELECT magic FROM wizard WHERE host = $1;"
671 # Param hostname
672 # <Result>
673 # Type gauge
674 # InstancePrefix "magic"
675 # ValuesFrom magic
676 # </Result>
677 # </Query>
678 # <Query rt36_tickets>
679 # Statement "SELECT COUNT(type) AS count, type \
680 # FROM (SELECT CASE \
681 # WHEN resolved = 'epoch' THEN 'open' \
682 # ELSE 'resolved' END AS type \
683 # FROM tickets) type \
684 # GROUP BY type;"
685 # <Result>
686 # Type counter
687 # InstancePrefix "rt36_tickets"
688 # InstancesFrom "type"
689 # ValuesFrom "count"
690 # </Result>
691 # </Query>
692 # <Database foo>
693 # Host "hostname"
694 # Port "5432"
695 # User "username"
696 # Password "secret"
697 # SSLMode "prefer"
698 # KRBSrvName "kerberos_service_name"
699 # Query magic
700 # </Database>
701 # <Database bar>
702 # Interval 60
703 # Service "service_name"
704 # Query backend # predefined
705 # Query rt36_tickets
706 # </Database>
707 #</Plugin>
709 #<Plugin powerdns>
710 # <Server "server_name">
711 # Collect "latency"
712 # Collect "udp-answers" "udp-queries"
713 # Socket "/var/run/pdns.controlsocket"
714 # </Server>
715 # <Recursor "recursor_name">
716 # Collect "questions"
717 # Collect "cache-hits" "cache-misses"
718 # Socket "/var/run/pdns_recursor.controlsocket"
719 # </Recursor>
720 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
721 #</Plugin>
723 #<Plugin processes>
724 # Process "name"
725 #</Plugin>
727 #<Plugin protocols>
728 # Value "/^Tcp:/"
729 # IgnoreSelected false
730 #</Plugin>
732 #<Plugin python>
733 # ModulePath "/path/to/your/python/modules"
734 # LogTraces true
735 # Interactive true
736 # Import "spam"
737 #
738 # <Module spam>
739 # spam "wonderful" "lovely"
740 # </Module>
741 #</Plugin>
743 #<Plugin redis>
744 # <Node example>
745 # Host "redis.example.com"
746 # Port "6379"
747 # Timeout 2000
748 # </Node>
749 #</Plugin>
751 #<Plugin routeros>
752 # <Router>
753 # Host "router.example.com"
754 # Port "8728"
755 # User "admin"
756 # Password "dozaiTh4"
757 # CollectInterface true
758 # CollectRegistrationTable true
759 # CollectCPULoad true
760 # CollectMemory true
761 # CollectDF true
762 # CollectDisk true
763 # </Router>
764 #</Plugin>
766 #<Plugin rrdcached>
767 # DaemonAddress "unix:/tmp/rrdcached.sock"
768 # DataDir "@prefix@/var/lib/@PACKAGE_NAME@/rrd"
769 # CreateFiles true
770 # CollectStatistics true
771 #</Plugin>
773 #<Plugin rrdtool>
774 # DataDir "@prefix@/var/lib/@PACKAGE_NAME@/rrd"
775 # CacheTimeout 120
776 # CacheFlush 900
777 #</Plugin>
779 #<Plugin sensors>
780 # Sensor "it8712-isa-0290/temperature-temp1"
781 # Sensor "it8712-isa-0290/fanspeed-fan3"
782 # Sensor "it8712-isa-0290/voltage-in8"
783 # IgnoreSelected false
784 #</Plugin>
786 #<Plugin snmp>
787 # <Data "powerplus_voltge_input">
788 # Type "voltage"
789 # Table false
790 # Instance "input_line1"
791 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
792 # </Data>
793 # <Data "hr_users">
794 # Type "users"
795 # Table false
796 # Instance ""
797 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
798 # </Data>
799 # <Data "std_traffic">
800 # Type "if_octets"
801 # Table true
802 # Instance "IF-MIB::ifDescr"
803 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
804 # </Data>
805 #
806 # <Host "some.switch.mydomain.org">
807 # Address "192.168.0.2"
808 # Version 1
809 # Community "community_string"
810 # Collect "std_traffic"
811 # Interval 120
812 # </Host>
813 # <Host "some.server.mydomain.org">
814 # Address "192.168.0.42"
815 # Version 2
816 # Community "another_string"
817 # Collect "std_traffic" "hr_users"
818 # </Host>
819 # <Host "some.ups.mydomain.org">
820 # Address "192.168.0.3"
821 # Version 1
822 # Community "more_communities"
823 # Collect "powerplus_voltge_input"
824 # Interval 300
825 # </Host>
826 #</Plugin>
828 #<Plugin "table">
829 # <Table "/proc/slabinfo">
830 # Instance "slabinfo"
831 # Separator " "
832 # <Result>
833 # Type gauge
834 # InstancePrefix "active_objs"
835 # InstancesFrom 0
836 # ValuesFrom 1
837 # </Result>
838 # <Result>
839 # Type gauge
840 # InstancePrefix "objperslab"
841 # InstancesFrom 0
842 # ValuesFrom 4
843 # </Result>
844 # </Table>
845 #</Plugin>
847 #<Plugin "tail">
848 # <File "/var/log/exim4/mainlog">
849 # Instance "exim"
850 # <Match>
851 # Regex "S=([1-9][0-9]*)"
852 # DSType "CounterAdd"
853 # Type "ipt_bytes"
854 # Instance "total"
855 # </Match>
856 # <Match>
857 # Regex "\\<R=local_user\\>"
858 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
859 # DSType "CounterInc"
860 # Type "counter"
861 # Instance "local_user"
862 # </Match>
863 # </File>
864 #</Plugin>
866 #<Plugin tcpconns>
867 # ListeningPorts false
868 # LocalPort "25"
869 # RemotePort "25"
870 #</Plugin>
872 #<Plugin teamspeak2>
873 # Host "127.0.0.1"
874 # Port "51234"
875 # Server "8767"
876 #</Plugin>
878 #<Plugin ted>
879 # Device "/dev/ttyUSB0"
880 # Retries 0
881 #</Plugin>
883 #<Plugin thermal>
884 # ForceUseProcfs false
885 # Device "THRM"
886 # IgnoreSelected false
887 #</Plugin>
889 #<Plugin tokyotyrant>
890 # Host "localhost"
891 # Port "1978"
892 #</Plugin>
894 #<Plugin unixsock>
895 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
896 # SocketGroup "collectd"
897 # SocketPerms "0660"
898 #</Plugin>
900 #<Plugin uuid>
901 # UUIDFile "/etc/uuid"
902 #</Plugin>
904 #<Plugin varnish>
905 # This tag support an argument if you want to
906 # monitor the local instance just use </Instance>
907 # If you prefer defining another instance you can do
908 # so by using <Instance "myinstance">
909 # <Instance>
910 # CollectCache true
911 # CollectBackend true
912 # CollectConnections true
913 # CollectSHM true
914 # CollectESI false
915 # CollectFetch false
916 # CollectHCB false
917 # CollectSMA false
918 # CollectSMS false
919 # CollectSM false
920 # CollectTotals false
921 # CollectWorkers false
922 # </Instance>
923 #</Plugin>
925 #<Plugin vmem>
926 # Verbose false
927 #</Plugin>
929 #<Plugin write_http>
930 # <URL "http://example.com/collectd-post">
931 # User "collectd"
932 # Password "weCh3ik0"
933 # VerifyPeer true
934 # VerifyHost true
935 # CACert "/etc/ssl/ca.crt"
936 # Format "Command"
937 # StoreRates false
938 # </URL>
939 #</Plugin>
941 ##############################################################################
942 # Filter configuration #
943 #----------------------------------------------------------------------------#
944 # The following configures collectd's filtering mechanism. Before changing #
945 # anything in this section, please read the `FILTER CONFIGURATION' section #
946 # in the collectd.conf(5) manual page. #
947 ##############################################################################
949 # Load required matches:
950 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
951 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
952 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
953 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
954 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
956 # Load required targets:
957 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
958 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
959 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
960 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
962 #----------------------------------------------------------------------------#
963 # The following block demonstrates the default behavior if no filtering is #
964 # configured at all: All values will be sent to all available write plugins. #
965 #----------------------------------------------------------------------------#
967 #<Chain "PostCache">
968 # Target "write"
969 #</Chain>