apcups plugin: Implement the "PersistentConnection" option.
[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     "@localstatedir@/lib/@PACKAGE_NAME@"
16 #PIDFile     "@localstatedir@/run/@PACKAGE_NAME@.pid"
17 #PluginDir   "@libdir@/@PACKAGE_NAME@"
18 #TypesDB     "@prefix@/share/@PACKAGE_NAME@/types.db"
19
20 #----------------------------------------------------------------------------#
21 # When enabled, plugins are loaded automatically with the default options    #
22 # when an appropriate <Plugin ...> block is encountered.                     #
23 # Disabled by default.                                                       #
24 #----------------------------------------------------------------------------#
25 #AutoLoadPlugin false
26
27 #----------------------------------------------------------------------------#
28 # When enabled, internal statistics are collected, using "collectd" as the   #
29 # plugin name.                                                               #
30 # Disabled by default.                                                       #
31 #----------------------------------------------------------------------------#
32 #CollectInternalStats false
33
34 #----------------------------------------------------------------------------#
35 # Interval at which to query values. This may be overwritten on a per-plugin #
36 # base by using the 'Interval' option of the LoadPlugin block:               #
37 #   <LoadPlugin foo>                                                         #
38 #       Interval 60                                                          #
39 #   </LoadPlugin>                                                            #
40 #----------------------------------------------------------------------------#
41 #Interval     10
42
43 #MaxReadInterval 86400
44 #Timeout         2
45 #ReadThreads     5
46 #WriteThreads    5
47
48 # Limit the size of the write queue. Default is no limit. Setting up a limit is
49 # recommended for servers handling a high volume of traffic.
50 #WriteQueueLimitHigh 1000000
51 #WriteQueueLimitLow   800000
52
53 ##############################################################################
54 # Logging                                                                    #
55 #----------------------------------------------------------------------------#
56 # Plugins which provide logging functions should be loaded first, so log     #
57 # messages generated when loading or configuring other plugins can be        #
58 # accessed.                                                                  #
59 ##############################################################################
60
61 @LOAD_PLUGIN_SYSLOG@LoadPlugin syslog
62 @LOAD_PLUGIN_LOGFILE@LoadPlugin logfile
63 @LOAD_PLUGIN_LOG_LOGSTASH@LoadPlugin log_logstash
64
65 #<Plugin logfile>
66 #       LogLevel @DEFAULT_LOG_LEVEL@
67 #       File STDOUT
68 #       Timestamp true
69 #       PrintSeverity false
70 #</Plugin>
71
72 #<Plugin log_logstash>
73 #       LogLevel @DEFAULT_LOG_LEVEL@
74 #       File "@localstatedir@/log/@PACKAGE_NAME@.json.log"
75 #</Plugin>
76
77 #<Plugin syslog>
78 #       LogLevel @DEFAULT_LOG_LEVEL@
79 #</Plugin>
80
81 ##############################################################################
82 # LoadPlugin section                                                         #
83 #----------------------------------------------------------------------------#
84 # Lines beginning with a single `#' belong to plugins which have been built  #
85 # but are disabled by default.                                               #
86 #                                                                            #
87 # Lines begnning with `##' belong to plugins which have not been built due   #
88 # to missing dependencies or because they have been deactivated explicitly.  #
89 ##############################################################################
90
91 #@BUILD_PLUGIN_AGGREGATION_TRUE@LoadPlugin aggregation
92 #@BUILD_PLUGIN_AMQP_TRUE@LoadPlugin amqp
93 #@BUILD_PLUGIN_APACHE_TRUE@LoadPlugin apache
94 #@BUILD_PLUGIN_APCUPS_TRUE@LoadPlugin apcups
95 #@BUILD_PLUGIN_APPLE_SENSORS_TRUE@LoadPlugin apple_sensors
96 #@BUILD_PLUGIN_AQUAERO_TRUE@LoadPlugin aquaero
97 #@BUILD_PLUGIN_ASCENT_TRUE@LoadPlugin ascent
98 #@BUILD_PLUGIN_BAROMETER_TRUE@LoadPlugin barometer
99 #@BUILD_PLUGIN_BATTERY_TRUE@LoadPlugin battery
100 #@BUILD_PLUGIN_BIND_TRUE@LoadPlugin bind
101 #@BUILD_PLUGIN_CEPH_TRUE@LoadPlugin ceph
102 #@BUILD_PLUGIN_CONNTRACK_TRUE@LoadPlugin conntrack
103 #@BUILD_PLUGIN_CONTEXTSWITCH_TRUE@LoadPlugin contextswitch
104 #@BUILD_PLUGIN_CGROUPS_TRUE@LoadPlugin cgroups
105 @BUILD_PLUGIN_CPU_TRUE@@BUILD_PLUGIN_CPU_TRUE@LoadPlugin cpu
106 #@BUILD_PLUGIN_CPUFREQ_TRUE@LoadPlugin cpufreq
107 @LOAD_PLUGIN_CSV@LoadPlugin csv
108 #@BUILD_PLUGIN_CURL_TRUE@LoadPlugin curl
109 #@BUILD_PLUGIN_CURL_JSON_TRUE@LoadPlugin curl_json
110 #@BUILD_PLUGIN_CURL_XML_TRUE@LoadPlugin curl_xml
111 #@BUILD_PLUGIN_DBI_TRUE@LoadPlugin dbi
112 #@BUILD_PLUGIN_DF_TRUE@LoadPlugin df
113 #@BUILD_PLUGIN_DISK_TRUE@LoadPlugin disk
114 #@BUILD_PLUGIN_DNS_TRUE@LoadPlugin dns
115 #@BUILD_PLUGIN_DRBD_TRUE@LoadPlugin drbd
116 #@BUILD_PLUGIN_EMAIL_TRUE@LoadPlugin email
117 #@BUILD_PLUGIN_ENTROPY_TRUE@LoadPlugin entropy
118 #@BUILD_PLUGIN_ETHSTAT_TRUE@LoadPlugin ethstat
119 #@BUILD_PLUGIN_EXEC_TRUE@LoadPlugin exec
120 #@BUILD_PLUGIN_FHCOUNT_TRUE@LoadPlugin fhcount
121 #@BUILD_PLUGIN_FILECOUNT_TRUE@LoadPlugin filecount
122 #@BUILD_PLUGIN_FSCACHE_TRUE@LoadPlugin fscache
123 #@BUILD_PLUGIN_GMOND_TRUE@LoadPlugin gmond
124 #@BUILD_PLUGIN_HDDTEMP_TRUE@LoadPlugin hddtemp
125 @BUILD_PLUGIN_INTERFACE_TRUE@@BUILD_PLUGIN_INTERFACE_TRUE@LoadPlugin interface
126 #@BUILD_PLUGIN_IPC_TRUE@@BUILD_PLUGIN_IPC_TRUE@LoadPlugin ipc
127 #@BUILD_PLUGIN_IPTABLES_TRUE@LoadPlugin iptables
128 #@BUILD_PLUGIN_IPMI_TRUE@LoadPlugin ipmi
129 #@BUILD_PLUGIN_IPVS_TRUE@LoadPlugin ipvs
130 #@BUILD_PLUGIN_IRQ_TRUE@LoadPlugin irq
131 #@BUILD_PLUGIN_JAVA_TRUE@LoadPlugin java
132 @BUILD_PLUGIN_LOAD_TRUE@@BUILD_PLUGIN_LOAD_TRUE@LoadPlugin load
133 #@BUILD_PLUGIN_LPAR_TRUE@LoadPlugin lpar
134 #@BUILD_PLUGIN_LVM_TRUE@LoadPlugin lvm
135 #@BUILD_PLUGIN_MADWIFI_TRUE@LoadPlugin madwifi
136 #@BUILD_PLUGIN_MBMON_TRUE@LoadPlugin mbmon
137 #@BUILD_PLUGIN_MD_TRUE@LoadPlugin md
138 #@BUILD_PLUGIN_MEMCACHEC_TRUE@LoadPlugin memcachec
139 #@BUILD_PLUGIN_MEMCACHED_TRUE@LoadPlugin memcached
140 @BUILD_PLUGIN_MEMORY_TRUE@@BUILD_PLUGIN_MEMORY_TRUE@LoadPlugin memory
141 #@BUILD_PLUGIN_MODBUS_TRUE@LoadPlugin modbus
142 #@BUILD_PLUGIN_MULTIMETER_TRUE@LoadPlugin multimeter
143 #@BUILD_PLUGIN_MYSQL_TRUE@LoadPlugin mysql
144 #@BUILD_PLUGIN_NETAPP_TRUE@LoadPlugin netapp
145 #@BUILD_PLUGIN_NETLINK_TRUE@LoadPlugin netlink
146 @LOAD_PLUGIN_NETWORK@LoadPlugin network
147 #@BUILD_PLUGIN_NFS_TRUE@LoadPlugin nfs
148 #@BUILD_PLUGIN_NGINX_TRUE@LoadPlugin nginx
149 #@BUILD_PLUGIN_NOTIFY_DESKTOP_TRUE@LoadPlugin notify_desktop
150 #@BUILD_PLUGIN_NOTIFY_EMAIL_TRUE@LoadPlugin notify_email
151 #@BUILD_PLUGIN_NTPD_TRUE@LoadPlugin ntpd
152 #@BUILD_PLUGIN_NUMA_TRUE@LoadPlugin numa
153 #@BUILD_PLUGIN_NUT_TRUE@LoadPlugin nut
154 #@BUILD_PLUGIN_OLSRD_TRUE@LoadPlugin olsrd
155 #@BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire
156 #@BUILD_PLUGIN_OPENLDAP_TRUE@LoadPlugin openldap
157 #@BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn
158 #@BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle
159 #@BUILD_PLUGIN_PERL_TRUE@LoadPlugin perl
160 #@BUILD_PLUGIN_PINBA_TRUE@LoadPlugin pinba
161 #@BUILD_PLUGIN_PING_TRUE@LoadPlugin ping
162 #@BUILD_PLUGIN_POSTGRESQL_TRUE@LoadPlugin postgresql
163 #@BUILD_PLUGIN_POWERDNS_TRUE@LoadPlugin powerdns
164 #@BUILD_PLUGIN_PROCESSES_TRUE@LoadPlugin processes
165 #@BUILD_PLUGIN_PROTOCOLS_TRUE@LoadPlugin protocols
166 #@BUILD_PLUGIN_PYTHON_TRUE@LoadPlugin python
167 #@BUILD_PLUGIN_REDIS_TRUE@LoadPlugin redis
168 #@BUILD_PLUGIN_ROUTEROS_TRUE@LoadPlugin routeros
169 #@BUILD_PLUGIN_RRDCACHED_TRUE@LoadPlugin rrdcached
170 @LOAD_PLUGIN_RRDTOOL@LoadPlugin rrdtool
171 #@BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors
172 #@BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial
173 #@BUILD_PLUGIN_SIGROK_TRUE@LoadPlugin sigrok
174 #@BUILD_PLUGIN_SMART_TRUE@LoadPlugin smart
175 #@BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
176 #@BUILD_PLUGIN_STATSD_TRUE@LoadPlugin statsd
177 #@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap
178 #@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table
179 #@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail
180 #@BUILD_PLUGIN_TAIL_CSV_TRUE@LoadPlugin tail_csv
181 #@BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape
182 #@BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns
183 #@BUILD_PLUGIN_TEAMSPEAK2_TRUE@LoadPlugin teamspeak2
184 #@BUILD_PLUGIN_TED_TRUE@LoadPlugin ted
185 #@BUILD_PLUGIN_THERMAL_TRUE@LoadPlugin thermal
186 #@BUILD_PLUGIN_TOKYOTYRANT_TRUE@LoadPlugin tokyotyrant
187 #@BUILD_PLUGIN_TURBOSTAT_TRUE@LoadPlugin turbostat
188 #@BUILD_PLUGIN_UNIXSOCK_TRUE@LoadPlugin unixsock
189 #@BUILD_PLUGIN_UPTIME_TRUE@LoadPlugin uptime
190 #@BUILD_PLUGIN_USERS_TRUE@LoadPlugin users
191 #@BUILD_PLUGIN_UUID_TRUE@LoadPlugin uuid
192 #@BUILD_PLUGIN_VARNISH_TRUE@LoadPlugin varnish
193 #@BUILD_PLUGIN_MIC_TRUE@LoadPlugin mic
194 #@BUILD_PLUGIN_VIRT_TRUE@LoadPlugin virt
195 #@BUILD_PLUGIN_VMEM_TRUE@LoadPlugin vmem
196 #@BUILD_PLUGIN_VSERVER_TRUE@LoadPlugin vserver
197 #@BUILD_PLUGIN_WIRELESS_TRUE@LoadPlugin wireless
198 #@BUILD_PLUGIN_WRITE_GRAPHITE_TRUE@LoadPlugin write_graphite
199 #@BUILD_PLUGIN_WRITE_HTTP_TRUE@LoadPlugin write_http
200 #@BUILD_PLUGIN_WRITE_KAFKA_TRUE@LoadPlugin write_kafka
201 #@BUILD_PLUGIN_WRITE_LOG_TRUE@LoadPlugin write_log
202 #@BUILD_PLUGIN_WRITE_MONGODB_TRUE@LoadPlugin write_mongodb
203 #@BUILD_PLUGIN_WRITE_REDIS_TRUE@LoadPlugin write_redis
204 #@BUILD_PLUGIN_WRITE_RIEMANN_TRUE@LoadPlugin write_riemann
205 #@BUILD_PLUGIN_WRITE_SENSU_TRUE@LoadPlugin write_sensu
206 #@BUILD_PLUGIN_WRITE_TSDB_TRUE@LoadPlugin write_tsdb
207 #@BUILD_PLUGIN_XMMS_TRUE@LoadPlugin xmms
208 #@BUILD_PLUGIN_ZFS_ARC_TRUE@LoadPlugin zfs_arc
209 #@BUILD_PLUGIN_ZONE_TRUE@LoadPlugin zone
210 #@BUILD_PLUGIN_ZOOKEEPER_TRUE@LoadPlugin zookeeper
211
212 ##############################################################################
213 # Plugin configuration                                                       #
214 #----------------------------------------------------------------------------#
215 # In this section configuration stubs for each plugin are provided. A desc-  #
216 # ription of those options is available in the collectd.conf(5) manual page. #
217 ##############################################################################
218
219 #<Plugin aggregation>
220 #  <Aggregation>
221 #    #Host "unspecified"
222 #    Plugin "cpu"
223 #    #PluginInstance "unspecified"
224 #    Type "cpu"
225 #    #TypeInstance "unspecified"
226 #
227 #    GroupBy "Host"
228 #    GroupBy "TypeInstance"
229 #
230 #    CalculateNum false
231 #    CalculateSum false
232 #    CalculateAverage true
233 #    CalculateMinimum false
234 #    CalculateMaximum false
235 #    CalculateStddev false
236 #  </Aggregation>
237 #</Plugin>
238
239 #<Plugin amqp>
240 #  <Publish "name">
241 #    Host "localhost"
242 #    Port "5672"
243 #    VHost "/"
244 #    User "guest"
245 #    Password "guest"
246 #    Exchange "amq.fanout"
247 #    RoutingKey "collectd"
248 #    Persistent false
249 #    StoreRates false
250 #    ConnectionRetryDelay 0
251 #  </Publish>
252 #</Plugin>
253
254 #<Plugin apache>
255 #  <Instance "local">
256 #    URL "http://localhost/status?auto"
257 #    User "www-user"
258 #    Password "secret"
259 #    CACert "/etc/ssl/ca.crt"
260 #  </Instance>
261 #</Plugin>
262
263 #<Plugin apcups>
264 #       Host "localhost"
265 #       Port "3551"
266 #       ReportSeconds true
267 #       PersistentConnection true
268 #</Plugin>
269
270 #<Plugin aquaero>
271 #       Device ""
272 #</Plugin>
273
274 #<Plugin ascent>
275 #       URL "http://localhost/ascent/status/"
276 #       User "www-user"
277 #       Password "secret"
278 #       CACert "/etc/ssl/ca.crt"
279 #</Plugin>
280
281 #<Plugin "barometer">
282 #   Device            "/dev/i2c-0";
283 #   Oversampling      512
284 #   PressureOffset    0.0
285 #   TemperatureOffset 0.0
286 #   Normalization     2
287 #   Altitude          238.0
288 #   TemperatureSensor "myserver/onewire-F10FCA000800/temperature"
289 #</Plugin>
290
291 #<Plugin "battery">
292 #  ValuesPercentage false
293 #  ReportDegraded
294 #</Plugin>
295
296 #<Plugin "bind">
297 #  URL "http://localhost:8053/"
298 #  ParseTime       false
299 #  OpCodes         true
300 #  QTypes          true
301 #
302 #  ServerStats     true
303 #  ZoneMaintStats  true
304 #  ResolverStats   false
305 #  MemoryStats     true
306 #
307 #  <View "_default">
308 #    QTypes        true
309 #    ResolverStats true
310 #    CacheRRSets   true
311 #
312 #    Zone "127.in-addr.arpa/IN"
313 #  </View>
314 #</Plugin>
315
316 #<Plugin ceph>
317 #  LongRunAvgLatency false
318 #  ConvertSpecialMetricTypes true
319 #  <Daemon "osd.0">
320 #    SocketPath "/var/run/ceph/ceph-osd.0.asok"
321 #  </Daemon>
322 #  <Daemon "osd.1">
323 #    SocketPath "/var/run/ceph/ceph-osd.1.asok"
324 #  </Daemon>
325 #  <Daemon "mon.a">
326 #    SocketPath "/var/run/ceph/ceph-mon.ceph1.asok"
327 #  </Daemon>
328 #  <Daemon "mds.a">
329 #    SocketPath "/var/run/ceph/ceph-mds.ceph1.asok"
330 #  </Daemon>
331 #</Plugin>
332
333 #<Plugin cgroups>
334 #  CGroup "libvirt"
335 #  IgnoreSelected false
336 #</Plugin>
337
338 #<Plugin cpu>
339 #  ReportByCpu true
340 #  ReportByState true
341 #  ValuesPercentage false
342 #</Plugin>
343 #
344 #<Plugin csv>
345 #       DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv"
346 #       StoreRates false
347 #</Plugin>
348
349 #<Plugin curl>
350 #  <Page "stock_quotes">
351 #    URL "http://finance.google.com/finance?q=NYSE%3AAMD"
352 #    User "foo"
353 #    Password "bar"
354 #    Digest false
355 #    VerifyPeer true
356 #    VerifyHost true
357 #    CACert "/path/to/ca.crt"
358 #    Header "X-Custom-Header: foobar"
359 #    Post "foo=bar"
360 #
361 #    MeasureResponseTime false
362 #    MeasureResponseCode false
363 #    <Match>
364 #      Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
365 #      DSType "GaugeAverage"
366 #      Type "stock_value"
367 #      Instance "AMD"
368 #    </Match>
369 #  </Page>
370 #</Plugin>
371
372 #<Plugin curl_json>
373 #  <URL "http://localhost:80/test.json">
374 #    Instance "test_http_json"
375 #    <Key "testArray/0">
376 #      Type "gauge"
377 #      # Expect: 1
378 #    </Key>
379 #    <Key "testArray/1">
380 #      Type "gauge"
381 #      # Expect: 2
382 #    </Key>
383 #    <Key "testArrayInbetween/0/blarg">
384 #      Type "gauge"
385 #      # Expect: 3
386 #    </Key>
387 #    <Key "testArrayInbetween/1/blub">
388 #      Type "gauge"
389 #      # Expect: 4
390 #    </Key>
391 #    <Key "testDirectHit">
392 #      Type "gauge"
393 #      # Expect: 5
394 #    </Key>
395 #    <Key "testSubLevelHit/oneMoreLevel">
396 #      Type "gauge"
397 #      # Expect: 6
398 #    </Key>
399 #  </URL>
400 # put this as test.json on your webserver, the above config demonstraces
401 # how to match them.
402 # {
403 #  "testArray":[1,2],
404 #  "testArrayInbetween":[{"blarg":3},{"blub":4}],
405 #  "testDirectHit":5,
406 #  "testSubLevelHit":{"oneMoreLevel":6}
407 # }
408 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
409 #  <URL "http://localhost:5984/_stats">
410 #    Instance "httpd"
411 #    <Key "httpd/requests/count">
412 #      Type "http_requests"
413 #    </Key>
414 #
415 #    <Key "httpd_request_methods/*/count">
416 #      Type "http_request_methods"
417 #    </Key>
418 #
419 #    <Key "httpd_status_codes/*/count">
420 #      Type "http_response_codes"
421 #    </Key>
422 #  </URL>
423 ## Database status metrics:
424 #  <URL "http://localhost:5984/_all_dbs">
425 #    Instance "dbs"
426 #    <Key "*/doc_count">
427 #      Type "gauge"
428 #    </Key>
429 #    <Key "*/doc_del_count">
430 #      Type "counter"
431 #    </Key>
432 #    <Key "*/disk_size">
433 #      Type "bytes"
434 #    </Key>
435 #  </URL>
436 #</Plugin>
437
438 #<Plugin curl_xml>
439 #  <URL "http://localhost/stats.xml">
440 #    Host "my_host"
441 #    Instance "some_instance"
442 #    User "collectd"
443 #    Password "thaiNg0I"
444 #    Digest false
445 #    VerifyPeer true
446 #    VerifyHost true
447 #    CACert "/path/to/ca.crt"
448 #    Header "X-Custom-Header: foobar"
449 #    Post "foo=bar"
450 #
451 #    <XPath "table[@id=\"magic_level\"]/tr">
452 #      Type "magic_level"
453 #      #InstancePrefix "prefix-"
454 #      InstanceFrom "td[1]"
455 #      ValuesFrom "td[2]/span[@class=\"level\"]"
456 #    </XPath>
457 #  </URL>
458 #</Plugin>
459
460 #<Plugin dbi>
461 #       <Query "num_of_customers">
462 #               Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
463 #               <Result>
464 #                       Type "gauge"
465 #                       InstancesFrom "c_key"
466 #                       ValuesFrom "c_value"
467 #               </Result>
468 #       </Query>
469 #       <Database "customers_db">
470 #               Driver "mysql"
471 #               DriverOption "host" "localhost"
472 #               DriverOption "username" "collectd"
473 #               DriverOption "password" "AeXohy0O"
474 #               DriverOption "dbname" "custdb0"
475 #               #SelectDB "custdb0"
476 #               Query "num_of_customers"
477 #               #Query "..."
478 #               #Host "..."
479 #       </Database>
480 #</Plugin>
481
482 #<Plugin df>
483 #       Device "/dev/hda1"
484 #       Device "192.168.0.2:/mnt/nfs"
485 #       MountPoint "/home"
486 #       FSType "ext3"
487 #       IgnoreSelected false
488 #       ReportByDevice false
489 #       ReportReserved false
490 #       ReportInodes false
491 #       ValuesAbsolute true
492 #       ValuesPercentage false
493 #</Plugin>
494
495 #<Plugin disk>
496 #       Disk "/^[hs]d[a-f][0-9]?$/"
497 #       IgnoreSelected false
498 #       UseBSDName false
499 #       UdevNameAttr "DEVNAME"
500 #</Plugin>
501
502 #<Plugin dns>
503 #       Interface "eth0"
504 #       IgnoreSource "192.168.0.1"
505 #       SelectNumericQueryTypes true
506 #</Plugin>
507
508 #<Plugin email>
509 #       SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
510 #       SocketGroup "collectd"
511 #       SocketPerms "0770"
512 #       MaxConns 5
513 #</Plugin>
514
515 #<Plugin ethstat>
516 #       Interface "eth0"
517 #       Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
518 #       Map "multicast" "if_multicast"
519 #       MappedOnly false
520 #</Plugin>
521
522 #<Plugin exec>
523 #       Exec "user:group" "/path/to/exec"
524 #       NotificationExec "user:group" "/path/to/exec"
525 #</Plugin>
526
527 #<Plugin fhcount>
528 #       ValuesAbsolute true
529 #       ValuesPercentage false
530 #</Plugin>
531
532 #<Plugin filecount>
533 #       <Directory "/path/to/dir">
534 #               Instance "foodir"
535 #               Name "*.conf"
536 #               MTime "-5m"
537 #               Size "+10k"
538 #               Recursive true
539 #               IncludeHidden false
540 #       </Directory>
541 #</Plugin>
542
543 #<Plugin gmond>
544 #  MCReceiveFrom "239.2.11.71" "8649"
545 #  <Metric "swap_total">
546 #    Type "swap"
547 #    TypeInstance "total"
548 #    DataSource "value"
549 #  </Metric>
550 #  <Metric "swap_free">
551 #    Type "swap"
552 #    TypeInstance "free"
553 #    DataSource "value"
554 #  </Metric>
555 #</Plugin>
556
557 #<Plugin hddtemp>
558 #  Host "127.0.0.1"
559 #  Port "7634"
560 #</Plugin>
561
562 #<Plugin interface>
563 #       Interface "eth0"
564 #       IgnoreSelected false
565 #</Plugin>
566
567 #<Plugin ipmi>
568 #       Sensor "some_sensor"
569 #       Sensor "another_one"
570 #       IgnoreSelected false
571 #       NotifySensorAdd false
572 #       NotifySensorRemove true
573 #       NotifySensorNotPresent false
574 #</Plugin>
575
576 #<Plugin iptables>
577 #       Chain table chain
578 #</Plugin>
579
580 #<Plugin irq>
581 #       Irq 7
582 #       Irq 8
583 #       Irq 9
584 #       IgnoreSelected true
585 #</Plugin>
586
587 #<Plugin java>
588 #       JVMArg "-verbose:jni"
589 #       JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
590 #
591 #       LoadPlugin "org.collectd.java.Foobar"
592 #       <Plugin "org.collectd.java.Foobar">
593 #         # To be parsed by the plugin
594 #       </Plugin>
595 #</Plugin>
596
597 #<Plugin load>
598 #        ReportRelative true
599 #</Plugin>
600
601 #<Plugin lpar>
602 #       CpuPoolStats   false
603 #       ReportBySerial false
604 #</Plugin>
605
606 #<Plugin madwifi>
607 #       Interface "wlan0"
608 #       IgnoreSelected false
609 #       Source "SysFS"
610 #       WatchSet "None"
611 #       WatchAdd "node_octets"
612 #       WatchAdd "node_rssi"
613 #       WatchAdd "is_rx_acl"
614 #       WatchAdd "is_scan_active"
615 #</Plugin>
616
617 #<Plugin mbmon>
618 #       Host "127.0.0.1"
619 #       Port "411"
620 #</Plugin>
621
622 #<Plugin md>
623 #       Device "/dev/md0"
624 #       IgnoreSelected false
625 #</Plugin>
626
627 #<Plugin memcachec>
628 #       <Page "plugin_instance">
629 #               Server "localhost"
630 #               Key "page_key"
631 #               <Match>
632 #                       Regex "(\\d+) bytes sent"
633 #                       ExcludeRegex "<lines to be excluded>"
634 #                       DSType CounterAdd
635 #                       Type "ipt_octets"
636 #                       Instance "type_instance"
637 #               </Match>
638 #       </Page>
639 #</Plugin>
640
641 #<Plugin memcached>
642 #       <Instance "local">
643 #               Host "127.0.0.1"
644 #               Port "11211"
645 #       </Instance>
646 #</Plugin>
647
648 #<Plugin memory>
649 #       ValuesAbsolute true
650 #       ValuesPercentage false
651 #</Plugin>
652
653 #<Plugin modbus>
654 #       <Data "data_name">
655 #               RegisterBase 1234
656 #               RegisterCmd ReadHolding
657 #               RegisterType float
658 #               Type gauge
659 #               Instance "..."
660 #       </Data>
661 #
662 #       <Host "name">
663 #               Address "addr"
664 #               Port "1234"
665 #               Interval 60
666 #
667 #               <Slave 1>
668 #                       Instance "foobar" # optional
669 #                       Collect "data_name"
670 #               </Slave>
671 #       </Host>
672 #</Plugin>
673
674 #<Plugin mysql>
675 #       <Database db_name>
676 #               Host "database.serv.er"
677 #               User "db_user"
678 #               Password "secret"
679 #               Database "db_name"
680 #               MasterStats true
681 #               ConnectTimeout 10
682 #               InnodbStats true
683 #       </Database>
684 #
685 #       <Database db_name2>
686 #               Alias "squeeze"
687 #               Host "localhost"
688 #               Socket "/var/run/mysql/mysqld.sock"
689 #               SlaveStats true
690 #               SlaveNotifications true
691 #       </Database>
692 #</Plugin>
693
694 #<Plugin netapp>
695 #       <Host "netapp1.example.com">
696 #               Protocol      "https"
697 #               Address       "10.0.0.1"
698 #               Port          443
699 #               User          "username"
700 #               Password      "aef4Aebe"
701 #               Interval      30
702 #
703 #               <WAFL>
704 #                       Interval 30
705 #                       GetNameCache   true
706 #                       GetDirCache    true
707 #                       GetBufferCache true
708 #                       GetInodeCache  true
709 #               </WAFL>
710 #
711 #               <Disks>
712 #                       Interval 30
713 #                       GetBusy true
714 #               </Disks>
715 #
716 #               <VolumePerf>
717 #                       Interval 30
718 #                       GetIO      "volume0"
719 #                       IgnoreSelectedIO      false
720 #                       GetOps     "volume0"
721 #                       IgnoreSelectedOps     false
722 #                       GetLatency "volume0"
723 #                       IgnoreSelectedLatency false
724 #               </VolumePerf>
725 #
726 #               <VolumeUsage>
727 #                       Interval 30
728 #                       GetCapacity "vol0"
729 #                       GetCapacity "vol1"
730 #                       IgnoreSelectedCapacity false
731 #                       GetSnapshot "vol1"
732 #                       GetSnapshot "vol3"
733 #                       IgnoreSelectedSnapshot false
734 #               </VolumeUsage>
735 #
736 #               <System>
737 #                       Interval 30
738 #                       GetCPULoad     true
739 #                       GetInterfaces  true
740 #                       GetDiskOps     true
741 #                       GetDiskIO      true
742 #               </System>
743 #       </Host>
744 #</Plugin>
745
746 #<Plugin netlink>
747 #       Interface "All"
748 #       VerboseInterface "All"
749 #       QDisc "eth0" "pfifo_fast-1:0"
750 #       Class "ppp0" "htb-1:10"
751 #       Filter "ppp0" "u32-1:0"
752 #       IgnoreSelected false
753 #</Plugin>
754
755 @LOAD_PLUGIN_NETWORK@<Plugin network>
756 #       # client setup:
757 @LOAD_PLUGIN_NETWORK@   Server "ff18::efc0:4a42" "25826"
758 @LOAD_PLUGIN_NETWORK@   <Server "239.192.74.66" "25826">
759 #               SecurityLevel Encrypt
760 #               Username "user"
761 #               Password "secret"
762 #               Interface "eth0"
763 #               ResolveInterval 14400
764 @LOAD_PLUGIN_NETWORK@   </Server>
765 #       TimeToLive 128
766 #
767 #       # server setup:
768 #       Listen "ff18::efc0:4a42" "25826"
769 #       <Listen "239.192.74.66" "25826">
770 #               SecurityLevel Sign
771 #               AuthFile "/etc/collectd/passwd"
772 #               Interface "eth0"
773 #       </Listen>
774 #       MaxPacketSize 1452
775 #
776 #       # proxy setup (client and server as above):
777 #       Forward true
778 #
779 #       # statistics about the network plugin itself
780 #       ReportStats false
781 #
782 #       # "garbage collection"
783 #       CacheFlush 1800
784 @LOAD_PLUGIN_NETWORK@</Plugin>
785
786 #<Plugin nginx>
787 #       URL "http://localhost/status?auto"
788 #       User "www-user"
789 #       Password "secret"
790 #       CACert "/etc/ssl/ca.crt"
791 #</Plugin>
792
793 #<Plugin notify_desktop>
794 #       OkayTimeout 1000
795 #       WarningTimeout 5000
796 #       FailureTimeout 0
797 #</Plugin>
798
799 #<Plugin notify_email>
800 #       SMTPServer "localhost"
801 #       SMTPPort 25
802 #       SMTPUser "my-username"
803 #       SMTPPassword "my-password"
804 #       From "collectd@main0server.com"
805 #       # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
806 #       Subject "Aaaaaa!! %s on %s!!!!!"
807 #       Recipient "email1@domain1.net"
808 #       Recipient "email2@domain2.com"
809 #</Plugin>
810
811 #<Plugin ntpd>
812 #       Host "localhost"
813 #       Port 123
814 #       ReverseLookups false
815 #       IncludeUnitID true
816 #</Plugin>
817
818 #<Plugin nut>
819 #       UPS "upsname@hostname:port"
820 #</Plugin>
821
822 #<Plugin olsrd>
823 #       Host "127.0.0.1"
824 #       Port "2006"
825 #       CollectLinks "Summary"
826 #       CollectRoutes "Summary"
827 #       CollectTopology "Summary"
828 #</Plugin>
829
830 #<Plugin onewire>
831 #       Device "-s localhost:4304"
832 #       Sensor "F10FCA000800"
833 #       IgnoreSelected false
834 #</Plugin>
835
836 #<Plugin openldap>
837 #  <Instance "localhost">
838 #    URL "ldap://localhost:389"
839 #    StartTLS false
840 #    VerifyHost true
841 #    CACert "/path/to/ca.crt"
842 #    Timeout -1
843 #    Version 3
844 #  </Instance>
845 #</Plugin>
846
847 #<Plugin openvpn>
848 #       StatusFile "/etc/openvpn/openvpn-status.log"
849 #       ImprovedNamingSchema false
850 #       CollectCompression true
851 #       CollectIndividualUsers true
852 #       CollectUserCount false
853 #</Plugin>
854
855 #<Plugin oracle>
856 #  <Query "out_of_stock">
857 #    Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
858 #    <Result>
859 #      Type "gauge"
860 #      InstancesFrom "category"
861 #      ValuesFrom "value"
862 #    </Result>
863 #  </Query>
864 #  <Database "product_information">
865 #    ConnectID "db01"
866 #    Username "oracle"
867 #    Password "secret"
868 #    Query "out_of_stock"
869 #  </Database>
870 #</Plugin>
871
872 #<Plugin perl>
873 #       IncludeDir "/my/include/path"
874 #       BaseName "Collectd::Plugins"
875 #       EnableDebugger ""
876 #       LoadPlugin Monitorus
877 #       LoadPlugin OpenVZ
878 #
879 #       <Plugin foo>
880 #               Foo "Bar"
881 #               Qux "Baz"
882 #       </Plugin>
883 #</Plugin>
884
885 #<Plugin pinba>
886 #       Address "::0"
887 #       Port "30002"
888 #       <View "name">
889 #               Host "host name"
890 #               Server "server name"
891 #               Script "script name"
892 #       </View>
893 #</Plugin>
894
895 #<Plugin ping>
896 #       Host "host.foo.bar"
897 #       Interval 1.0
898 #       Timeout 0.9
899 #       TTL 255
900 #       SourceAddress "1.2.3.4"
901 #       Device "eth0"
902 #       MaxMissed -1
903 #</Plugin>
904
905 #<Plugin postgresql>
906 #       <Query magic>
907 #               Statement "SELECT magic FROM wizard WHERE host = $1;"
908 #               Param hostname
909 #               <Result>
910 #                       Type gauge
911 #                       InstancePrefix "magic"
912 #                       ValuesFrom magic
913 #               </Result>
914 #       </Query>
915 #       <Query rt36_tickets>
916 #               Statement "SELECT COUNT(type) AS count, type \
917 #                                 FROM (SELECT CASE \
918 #                                              WHEN resolved = 'epoch' THEN 'open' \
919 #                                              ELSE 'resolved' END AS type \
920 #                                              FROM tickets) type \
921 #                                 GROUP BY type;"
922 #               <Result>
923 #                       Type counter
924 #                       InstancePrefix "rt36_tickets"
925 #                       InstancesFrom "type"
926 #                       ValuesFrom "count"
927 #               </Result>
928 #       </Query>
929 #       <Writer sqlstore>
930 #               # See contrib/postgresql/collectd_insert.sql for details
931 #               Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
932 #               StoreRates true
933 #       </Writer>
934 #       <Database foo>
935 #               Host "hostname"
936 #               Port "5432"
937 #               User "username"
938 #               Password "secret"
939 #               SSLMode "prefer"
940 #               KRBSrvName "kerberos_service_name"
941 #               Query magic
942 #       </Database>
943 #       <Database bar>
944 #               Interval 60
945 #               Service "service_name"
946 #               Query backend # predefined
947 #               Query rt36_tickets
948 #       </Database>
949 #       <Database qux>
950 #               Service "collectd_store"
951 #               Writer sqlstore
952 #               # see collectd.conf(5) for details
953 #               CommitInterval 30
954 #       </Database>
955 #</Plugin>
956
957 #<Plugin powerdns>
958 #  <Server "server_name">
959 #    Collect "latency"
960 #    Collect "udp-answers" "udp-queries"
961 #    Socket "/var/run/pdns.controlsocket"
962 #  </Server>
963 #  <Recursor "recursor_name">
964 #    Collect "questions"
965 #    Collect "cache-hits" "cache-misses"
966 #    Socket "/var/run/pdns_recursor.controlsocket"
967 #  </Recursor>
968 #  LocalSocket "/opt/collectd/var/run/collectd-powerdns"
969 #</Plugin>
970
971 #<Plugin processes>
972 #       Process "name"
973 #</Plugin>
974
975 #<Plugin protocols>
976 #       Value "/^Tcp:/"
977 #       IgnoreSelected false
978 #</Plugin>
979
980 #<Plugin python>
981 #       ModulePath "/path/to/your/python/modules"
982 #       LogTraces true
983 #       Interactive true
984 #       Import "spam"
985 #
986 #       <Module spam>
987 #               spam "wonderful" "lovely"
988 #       </Module>
989 #</Plugin>
990
991 #<Plugin redis>
992 #   <Node example>
993 #      Host "redis.example.com"
994 #      Port "6379"
995 #      Timeout 2000
996 #   </Node>
997 #</Plugin>
998
999 #<Plugin routeros>
1000 #       <Router>
1001 #               Host "router.example.com"
1002 #               Port "8728"
1003 #               User "admin"
1004 #               Password "dozaiTh4"
1005 #               CollectInterface true
1006 #               CollectRegistrationTable true
1007 #               CollectCPULoad true
1008 #               CollectMemory true
1009 #               CollectDF true
1010 #               CollectDisk true
1011 #       </Router>
1012 #</Plugin>
1013
1014 #<Plugin rrdcached>
1015 #       DaemonAddress "unix:/tmp/rrdcached.sock"
1016 #       DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1017 #       CreateFiles true
1018 #       CreateFilesAsync false
1019 #       CollectStatistics true
1020 #</Plugin>
1021
1022 #<Plugin rrdtool>
1023 #       DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1024 #       CreateFilesAsync false
1025 #       CacheTimeout 120
1026 #       CacheFlush   900
1027 #       WritesPerSecond 50
1028 #</Plugin>
1029
1030 #<Plugin sensors>
1031 #       SensorConfigFile "/etc/sensors.conf"
1032 #       Sensor "it8712-isa-0290/temperature-temp1"
1033 #       Sensor "it8712-isa-0290/fanspeed-fan3"
1034 #       Sensor "it8712-isa-0290/voltage-in8"
1035 #       IgnoreSelected false
1036 #</Plugin>
1037
1038 #<Plugin sigrok>
1039 #  LogLevel 3
1040 #  <Device "AC Voltage">
1041 #    Driver "fluke-dmm"
1042 #    MinimumInterval 10
1043 #    Conn "/dev/ttyUSB2"
1044 #  </Device>
1045 #  <Device "Sound Level">
1046 #    Driver "cem-dt-885x"
1047 #    Conn "/dev/ttyUSB1"
1048 #  </Device>
1049 #</Plugin>
1050
1051 #<Plugin smart>
1052 #  Disk "/^[hs]d[a-f][0-9]?$/"
1053 #  IgnoreSelected false
1054 #</Plugin>
1055
1056 #<Plugin snmp>
1057 #   <Data "powerplus_voltge_input">
1058 #       Type "voltage"
1059 #       Table false
1060 #       Instance "input_line1"
1061 #       Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
1062 #   </Data>
1063 #   <Data "hr_users">
1064 #       Type "users"
1065 #       Table false
1066 #       Instance ""
1067 #       Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
1068 #   </Data>
1069 #   <Data "std_traffic">
1070 #       Type "if_octets"
1071 #       Table true
1072 #       Instance "IF-MIB::ifDescr"
1073 #       Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1074 #   </Data>
1075 #
1076 #   <Host "some.switch.mydomain.org">
1077 #       Address "192.168.0.2"
1078 #       Version 1
1079 #       Community "community_string"
1080 #       Collect "std_traffic"
1081 #       Interval 120
1082 #   </Host>
1083 #   <Host "some.server.mydomain.org">
1084 #       Address "192.168.0.42"
1085 #       Version 2
1086 #       Community "another_string"
1087 #       Collect "std_traffic" "hr_users"
1088 #   </Host>
1089 #   <Host "some.ups.mydomain.org">
1090 #       Address "192.168.0.3"
1091 #       Version 1
1092 #       Community "more_communities"
1093 #       Collect "powerplus_voltge_input"
1094 #       Interval 300
1095 #   </Host>
1096 #</Plugin>
1097
1098 #<Plugin statsd>
1099 #  Host "::"
1100 #  Port "8125"
1101 #  DeleteCounters false
1102 #  DeleteTimers   false
1103 #  DeleteGauges   false
1104 #  DeleteSets     false
1105 #  TimerPercentile 90.0
1106 #  TimerPercentile 95.0
1107 #  TimerPercentile 99.0
1108 #  TimerLower     false
1109 #  TimerUpper     false
1110 #  TimerSum       false
1111 #  TimerCount     false
1112 #</Plugin>
1113
1114 #<Plugin swap>
1115 #       ReportByDevice false
1116 #       ReportBytes true
1117 #       ValuesAbsolute true
1118 #       ValuesPercentage false
1119 #</Plugin>
1120
1121 #<Plugin table>
1122 #       <Table "/proc/slabinfo">
1123 #               Instance "slabinfo"
1124 #               Separator " "
1125 #               <Result>
1126 #                       Type gauge
1127 #                       InstancePrefix "active_objs"
1128 #                       InstancesFrom 0
1129 #                       ValuesFrom 1
1130 #               </Result>
1131 #               <Result>
1132 #                       Type gauge
1133 #                       InstancePrefix "objperslab"
1134 #                       InstancesFrom 0
1135 #                       ValuesFrom 4
1136 #               </Result>
1137 #       </Table>
1138 #</Plugin>
1139
1140 #<Plugin tail>
1141 #  <File "/var/log/exim4/mainlog">
1142 #    Instance "exim"
1143 #    Interval 60
1144 #    <Match>
1145 #      Regex "S=([1-9][0-9]*)"
1146 #      DSType "CounterAdd"
1147 #      Type "ipt_bytes"
1148 #      Instance "total"
1149 #    </Match>
1150 #    <Match>
1151 #      Regex "\\<R=local_user\\>"
1152 #      ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1153 #      DSType "CounterInc"
1154 #      Type "counter"
1155 #      Instance "local_user"
1156 #    </Match>
1157 #  </File>
1158 #</Plugin>
1159
1160 #<Plugin tail_csv>
1161 #   <Metric "dropped">
1162 #       Type "percent"
1163 #       Instance "dropped"
1164 #       ValueFrom 1
1165 #   </Metric>
1166 #   <Metric "mbps">
1167 #       Type "bytes"
1168 #       Instance "wire-realtime"
1169 #       ValueFrom 2
1170 #   </Metric>
1171 #   <Metric "alerts">
1172 #       Type "alerts_per_second"
1173 #       ValueFrom 3
1174 #   </Metric>
1175 #   <Metric "kpps">
1176 #       Type "kpackets_wire_per_sec.realtime"
1177 #       ValueFrom 4
1178 #   </Metric>
1179 #   <File "/var/log/snort/snort.stats">
1180 #       Instance "snort-eth0"
1181 #       Interval 600
1182 #       Collect "dropped" "mbps" "alerts" "kpps"
1183 #       TimeFrom 0
1184 #   </File>
1185 #</Plugin>
1186
1187 #<Plugin tcpconns>
1188 #       ListeningPorts false
1189 #       AllPortsSummary false
1190 #       LocalPort "25"
1191 #       RemotePort "25"
1192 #</Plugin>
1193
1194 #<Plugin teamspeak2>
1195 #       Host "127.0.0.1"
1196 #       Port "51234"
1197 #       Server "8767"
1198 #</Plugin>
1199
1200 #<Plugin ted>
1201 #       Device "/dev/ttyUSB0"
1202 #       Retries 0
1203 #</Plugin>
1204
1205 #<Plugin thermal>
1206 #       ForceUseProcfs false
1207 #       Device "THRM"
1208 #       IgnoreSelected false
1209 #</Plugin>
1210
1211 #<Plugin tokyotyrant>
1212 #       Host "localhost"
1213 #       Port "1978"
1214 #</Plugin>
1215
1216 #<Plugin turbostat>
1217 ##      None of the following option should be set manually
1218 ##      This plugin automatically detect most optimal options
1219 ##      Only set values here if:
1220 ##      - The module ask you to
1221 ##      - You want to disable the collection of some data
1222 ##      - Your (intel) CPU is not supported (yet) by the module
1223 ##      - The module generate a lot of errors 'MSR offset 0x... read failed'
1224 ##      In the last two cases, please open a bug request
1225 #
1226 #       TCCActivationTemp "100"
1227 #       CoreCstates "392"
1228 #       PackageCstates "396"
1229 #       SystemManagementInterrupt true
1230 #       DigitalTemperatureSensor true
1231 #       PackageThermalManagement true
1232 #       RunningAveragePowerLimit "7"    
1233 #</Plugin>
1234
1235 #<Plugin unixsock>
1236 #       SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1237 #       SocketGroup "collectd"
1238 #       SocketPerms "0660"
1239 #       DeleteSocket false
1240 #</Plugin>
1241
1242 #<Plugin uuid>
1243 #       UUIDFile "/etc/uuid"
1244 #</Plugin>
1245
1246 #<Plugin mic>
1247 #   ShowCPU true
1248 #   ShowCPUCores true
1249 #   ShowMemory true
1250 #   ShowTemperatures true
1251 ##  Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1252 ##  then inverted with a IgnoreSelectedTemperature.
1253 ##  Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1254 #   Temperature vddg
1255 #   IgnoreSelectedTemperature true
1256 #   ShowPower true
1257 ##  Power Sensors can be ignored/shown by repeated #Power lines, and
1258 ##  then inverted with a IgnoreSelectedTemperature.
1259 ##  Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1260 #   Power total1
1261 #   IgnoreSelectedPower true
1262 #</Plugin>
1263
1264 #<Plugin varnish>
1265 #   This tag support an argument if you want to
1266 #   monitor the local instance just use </Instance>
1267 #   If you prefer defining another instance you can do
1268 #   so by using <Instance "myinstance">
1269 #   <Instance>
1270 #      CollectBackend true
1271 #      CollectBan false           # Varnish 3 and above
1272 #      CollectCache true
1273 #      CollectConnections true
1274 #      CollectDirectorDNS false   # Varnish 3 only
1275 #      CollectESI false
1276 #      CollectFetch false
1277 #      CollectHCB false
1278 #      CollectObjects false
1279 #      CollectPurge false         # Varnish 2 only
1280 #      CollectSession false
1281 #      CollectSHM true
1282 #      CollectSMA false           # Varnish 2 only
1283 #      CollectSMS false
1284 #      CollectSM false            # Varnish 2 only
1285 #      CollectStruct false
1286 #      CollectTotals false
1287 #      CollectUptime false        # Varnish 3 and above
1288 #      CollectVCL false
1289 #      CollectVSM false           # Varnish 4 only
1290 #      CollectWorkers false
1291 #   </Instance>
1292 #</Plugin>
1293
1294 #<Plugin virt>
1295 #       Connection "xen:///"
1296 #       RefreshInterval 60
1297 #       Domain "name"
1298 #       BlockDevice "name:device"
1299 #       InterfaceDevice "name:device"
1300 #       IgnoreSelected false
1301 #       HostnameFormat name
1302 #       InterfaceFormat name
1303 #       PluginInstanceFormat name
1304 #</Plugin>
1305
1306 #<Plugin vmem>
1307 #       Verbose false
1308 #</Plugin>
1309
1310 #<Plugin write_graphite>
1311 #  <Node "example">
1312 #    Host "localhost"
1313 #    Port "2003"
1314 #    Protocol "tcp"
1315 #    LogSendErrors true
1316 #    Prefix "collectd"
1317 #    Postfix "collectd"
1318 #    StoreRates true
1319 #    AlwaysAppendDS false
1320 #    EscapeCharacter "_"
1321 #  </Node>
1322 #</Plugin>
1323
1324 #<Plugin write_http>
1325 #       <Node "example">
1326 #               URL "http://example.com/collectd-post"
1327 #               User "collectd"
1328 #               Password "weCh3ik0"
1329 #               VerifyPeer true
1330 #               VerifyHost true
1331 #               CACert "/etc/ssl/ca.crt"
1332 #               CAPath "/etc/ssl/certs/"
1333 #               ClientKey "/etc/ssl/client.pem"
1334 #               ClientCert "/etc/ssl/client.crt"
1335 #               ClientKeyPass "secret"
1336 #               SSLVersion "TLSv1"
1337 #               Format "Command"
1338 #               StoreRates false
1339 #               BufferSize 4096
1340 #               LowSpeedLimit 0
1341 #               Timeout 0
1342 #       </Node>
1343 #</Plugin>
1344
1345 #<Plugin write_kafka>
1346 #  Property "metadata.broker.list" "localhost:9092"
1347 #  <Topic "collectd">
1348 #    Format JSON
1349 #  </Topic>
1350 #</Plugin>
1351
1352 #<Plugin write_mongodb>
1353 #       <Node "example">
1354 #               Host "localhost"
1355 #               Port "27017"
1356 #               Timeout 1000
1357 #               StoreRates false
1358 #               Database "auth_db"
1359 #               User "auth_user"
1360 #               Password "auth_passwd"
1361 #       </Node>
1362 #</Plugin>
1363
1364 #<Plugin write_redis>
1365 #       <Node "example">
1366 #               Host "localhost"
1367 #               Port "6379"
1368 #               Timeout 1000
1369 #       </Node>
1370 #</Plugin>
1371
1372 #<Plugin write_riemann>
1373 #       <Node "example">
1374 #               Host "localhost"
1375 #               Port 5555
1376 #               Protocol TCP
1377 #               Batch true
1378 #               BatchMaxSize 8192
1379 #               StoreRates true
1380 #               AlwaysAppendDS false
1381 #               TTLFactor 2.0
1382 #               Notifications true
1383 #               CheckThresholds false
1384 #               EventServicePrefix ""
1385 #       </Node>
1386 #       Tag "foobar"
1387 #       Attribute "foo" "bar"
1388 #</Plugin>
1389
1390 #<Plugin write_sensu>
1391 #       <Node "example">
1392 #               Host "localhost"
1393 #               Port 3030
1394 #               StoreRates true
1395 #               AlwaysAppendDS false
1396 #               Notifications true
1397 #               Metrics true
1398 #               EventServicePrefix ""
1399 #               MetricHandler "influx"
1400 #               MetricHandler "default"
1401 #               NotificationHandler "flapjack"
1402 #               NotificationHandler "howling_monkey"
1403 #       </Node>
1404 #       Tag "foobar"
1405 #       Attribute "foo" "bar"
1406 #</Plugin>
1407
1408 #<Plugin write_tsdb>
1409 #       <Node>
1410 #               Host "localhost"
1411 #               Port "4242"
1412 #               HostTags "status=production"
1413 #               StoreRates false
1414 #               AlwaysAppendDS false
1415 #       </Node>
1416 #</Plugin>
1417
1418 #<Plugin zookeeper>
1419 #    Host "localhost"
1420 #    Port "2181"
1421 #</Plugin>
1422
1423 ##############################################################################
1424 # Filter configuration                                                       #
1425 #----------------------------------------------------------------------------#
1426 # The following configures collectd's filtering mechanism. Before changing   #
1427 # anything in this section, please read the `FILTER CONFIGURATION' section   #
1428 # in the collectd.conf(5) manual page.                                       #
1429 ##############################################################################
1430
1431 # Load required matches:
1432 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1433 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1434 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1435 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1436 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1437
1438 # Load required targets:
1439 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1440 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1441 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1442 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1443 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1444
1445 #----------------------------------------------------------------------------#
1446 # The following block demonstrates the default behavior if no filtering is   #
1447 # configured at all: All values will be sent to all available write plugins. #
1448 #----------------------------------------------------------------------------#
1449
1450 #<Chain "PostCache">
1451 #  Target "write"
1452 #</Chain>
1453
1454 ##############################################################################
1455 # Threshold configuration                                                    #
1456 #----------------------------------------------------------------------------#
1457 # The following outlines how to configure collectd's threshold checking      #
1458 # plugin. The plugin and possible configuration options are documented in    #
1459 # the collectd-threshold(5) manual page.                                     #
1460 ##############################################################################
1461
1462 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1463 #<Plugin threshold>
1464 #  <Type "foo">
1465 #    WarningMin    0.00
1466 #    WarningMax 1000.00
1467 #    FailureMin    0.00
1468 #    FailureMax 1200.00
1469 #    Invert false
1470 #    Instance "bar"
1471 #  </Type>
1472 #
1473 #  <Plugin "interface">
1474 #    Instance "eth0"
1475 #    <Type "if_octets">
1476 #      FailureMax 10000000
1477 #      DataSource "rx"
1478 #    </Type>
1479 #  </Plugin>
1480 #
1481 #  <Host "hostname">
1482 #    <Type "cpu">
1483 #      Instance "idle"
1484 #      FailureMin 10
1485 #    </Type>
1486 #
1487 #    <Plugin "memory">
1488 #      <Type "memory">
1489 #        Instance "cached"
1490 #        WarningMin 100000000
1491 #      </Type>
1492 #    </Plugin>
1493 #
1494 #    <Type "load">
1495 #       DataSource "midterm"
1496 #       FailureMax 4
1497 #       Hits 3
1498 #       Hysteresis 3
1499 #    </Type>
1500 #  </Host>
1501 #</Plugin>