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