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