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