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