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