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