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 # #Plugin "stats"
470 # Instance "some_instance"
471 # User "collectd"
472 # Password "thaiNg0I"
473 # Digest false
474 # VerifyPeer true
475 # VerifyHost true
476 # CACert "/path/to/ca.crt"
477 # Header "X-Custom-Header: foobar"
478 # Post "foo=bar"
479 #
480 # <XPath "table[@id=\"magic_level\"]/tr">
481 # Type "magic_level"
482 # #InstancePrefix "prefix-"
483 # InstanceFrom "td[1]"
484 # #PluginInstanceFrom "td[1]"
485 # ValuesFrom "td[2]/span[@class=\"level\"]"
486 # </XPath>
487 # </URL>
488 #</Plugin>
490 #<Plugin dbi>
491 # <Query "num_of_customers">
492 # Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
493 # <Result>
494 # Type "gauge"
495 # InstancesFrom "c_key"
496 # ValuesFrom "c_value"
497 # </Result>
498 # </Query>
499 # <Database "customers_db">
500 # #Plugin "mycompany"
501 # Driver "mysql"
502 # DriverOption "host" "localhost"
503 # DriverOption "username" "collectd"
504 # DriverOption "password" "AeXohy0O"
505 # DriverOption "dbname" "custdb0"
506 # #SelectDB "custdb0"
507 # Query "num_of_customers"
508 # #Query "..."
509 # #Host "..."
510 # </Database>
511 #</Plugin>
513 #<Plugin df>
514 # Device "/dev/hda1"
515 # Device "192.168.0.2:/mnt/nfs"
516 # MountPoint "/home"
517 # FSType "ext3"
518 # IgnoreSelected false
519 # ReportByDevice false
520 # ReportInodes false
521 # ValuesAbsolute true
522 # ValuesPercentage false
523 #</Plugin>
525 #<Plugin disk>
526 # Disk "/^[hs]d[a-f][0-9]?$/"
527 # IgnoreSelected false
528 # UseBSDName false
529 # UdevNameAttr "DEVNAME"
530 #</Plugin>
532 #<Plugin dns>
533 # Interface "eth0"
534 # IgnoreSource "192.168.0.1"
535 # SelectNumericQueryTypes true
536 #</Plugin>
538 #<Plugin "dpdkevents">
539 # <EAL>
540 # Coremask "0x1"
541 # MemoryChannels "4"
542 # FilePrefix "rte"
543 # </EAL>
544 # <Event "link_status">
545 # SendEventsOnUpdate true
546 # EnabledPortMask 0xffff
547 # PortName "interface1"
548 # PortName "interface2"
549 # SendNotification false
550 # </Event>
551 # <Event "keep_alive">
552 # SendEventsOnUpdate true
553 # LCoreMask "0xf"
554 # KeepAliveShmName "/dpdk_keepalive_shm_name"
555 # SendNotification false
556 # </Event>
557 #</Plugin>
559 #<Plugin dpdkstat>
560 # <EAL>
561 # Coremask "0x2"
562 # MemoryChannels "4"
563 # FilePrefix "rte"
564 # </EAL>
565 # SharedMemObj "dpdk_collectd_stats_0"
566 # EnabledPortMask 0xffff
567 # PortName "interface1"
568 # PortName "interface2"
569 #</Plugin>
571 #<Plugin email>
572 # SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
573 # SocketGroup "collectd"
574 # SocketPerms "0770"
575 # MaxConns 5
576 #</Plugin>
578 #<Plugin ethstat>
579 # Interface "eth0"
580 # Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
581 # Map "multicast" "if_multicast"
582 # MappedOnly false
583 #</Plugin>
585 #<Plugin exec>
586 # Exec "user:group" "/path/to/exec"
587 # NotificationExec "user:group" "/path/to/exec"
588 #</Plugin>
590 #<Plugin fhcount>
591 # ValuesAbsolute true
592 # ValuesPercentage false
593 #</Plugin>
595 #<Plugin filecount>
596 # <Directory "/path/to/dir">
597 # #Plugin "foo"
598 # Instance "foodir"
599 # Name "*.conf"
600 # MTime "-5m"
601 # Size "+10k"
602 # Recursive true
603 # IncludeHidden false
604 # #FilesSizeType "bytes"
605 # #FilesCountType "files"
606 # #TypeInstance "instance"
607 # </Directory>
608 #</Plugin>
610 #<Plugin gmond>
611 # MCReceiveFrom "239.2.11.71" "8649"
612 # <Metric "swap_total">
613 # Type "swap"
614 # TypeInstance "total"
615 # DataSource "value"
616 # </Metric>
617 # <Metric "swap_free">
618 # Type "swap"
619 # TypeInstance "free"
620 # DataSource "value"
621 # </Metric>
622 #</Plugin>
624 #<Plugin gps>
625 # Host "127.0.0.1"
626 # Port "2947"
627 # Timeout 0.015
628 # PauseConnect 5
629 #</Plugin>
631 #<Plugin grpc>
632 # <Server "example.com" "50051">
633 # EnableSSL true
634 # SSLCACertificateFile "/path/to/root.pem"
635 # SSLCertificateFile "/path/to/server.pem"
636 # SSLCertificateKeyFile "/path/to/server.key"
637 # </Server>
638 # <Listen "0.0.0.0" "50051">
639 # EnableSSL true
640 # SSLCACertificateFile "/path/to/root.pem"
641 # SSLCertificateFile "/path/to/client.pem"
642 # SSLCertificateKeyFile "/path/to/client.key"
643 # </Listen>
644 #</Plugin>
646 #<Plugin hddtemp>
647 # Host "127.0.0.1"
648 # Port "7634"
649 #</Plugin>
651 #<Plugin hugepages>
652 # ReportPerNodeHP true
653 # ReportRootHP true
654 # ValuesPages true
655 # ValuesBytes false
656 # ValuesPercentage false
657 #</Plugin>
659 #<Plugin intel_pmu>
660 # ReportHardwareCacheEvents true
661 # ReportKernelPMUEvents true
662 # ReportSoftwareEvents true
663 # EventList "/var/cache/pmu/GenuineIntel-6-2D-core.json"
664 # HardwareEvents "L2_RQSTS.CODE_RD_HIT,L2_RQSTS.CODE_RD_MISS" "L2_RQSTS.ALL_CODE_RD"
665 #</Plugin>
667 #<Plugin "intel_rdt">
668 # Cores "0-2"
669 #</Plugin>
671 #<Plugin interface>
672 # Interface "eth0"
673 # IgnoreSelected false
674 # ReportInactive true
675 # UniqueName false
676 #</Plugin>
678 #<Plugin ipmi>
679 # <Instance "local">
680 # Sensor "some_sensor"
681 # Sensor "another_one"
682 # IgnoreSelected false
683 # NotifySensorAdd false
684 # NotifySensorRemove true
685 # NotifySensorNotPresent false
686 # NotifyIPMIConnectionState false
687 # SELEnabled false
688 # SELClearEvent false
689 # </Instance>
690 # <Instance "remote">
691 # Host "server.example.com"
692 # Address "1.2.3.4"
693 # Username "user"
694 # Password "secret"
695 # #AuthType "md5"
696 # Sensor "some_sensor"
697 # Sensor "another_one"
698 # IgnoreSelected false
699 # NotifySensorAdd false
700 # NotifySensorRemove true
701 # NotifySensorNotPresent false
702 # NotifyIPMIConnectionState false
703 # SELEnabled false
704 # SELClearEvent false
705 # </Instance>
706 #</Plugin>
708 #<Plugin iptables>
709 # Chain table chain
710 # Chain6 table chain
711 #</Plugin>
713 #<Plugin irq>
714 # Irq 7
715 # Irq 8
716 # Irq 9
717 # IgnoreSelected true
718 #</Plugin>
720 #<Plugin java>
721 # JVMArg "-verbose:jni"
722 # JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
723 #
724 # LoadPlugin "org.collectd.java.Foobar"
725 # <Plugin "org.collectd.java.Foobar">
726 # # To be parsed by the plugin
727 # </Plugin>
728 #</Plugin>
730 #<Plugin load>
731 # ReportRelative true
732 #</Plugin>
734 #<Plugin lpar>
735 # CpuPoolStats false
736 # ReportBySerial false
737 #</Plugin>
739 #<Plugin lua>
740 # BasePath "@prefix@/share/@PACKAGE_NAME@/lua"
741 # Script "script1.lua"
742 # Script "script2.lua"
743 #</Plugin>
745 #<Plugin madwifi>
746 # Interface "wlan0"
747 # IgnoreSelected false
748 # Source "SysFS"
749 # WatchSet "None"
750 # WatchAdd "node_octets"
751 # WatchAdd "node_rssi"
752 # WatchAdd "is_rx_acl"
753 # WatchAdd "is_scan_active"
754 #</Plugin>
756 #<Plugin mbmon>
757 # Host "127.0.0.1"
758 # Port "411"
759 #</Plugin>
761 #<Plugin mcelog>
762 # <Memory>
763 # McelogClientSocket "/var/run/mcelog-client"
764 # PersistentNotification false
765 # </Memory>
766 # McelogLogfile "/var/log/mcelog"
767 #</Plugin>
769 #<Plugin md>
770 # Device "/dev/md0"
771 # IgnoreSelected false
772 #</Plugin>
774 #<Plugin memcachec>
775 # <Page "plugin_instance">
776 # Server "localhost"
777 # Key "page_key"
778 # <Match>
779 # Regex "(\\d+) bytes sent"
780 # ExcludeRegex "<lines to be excluded>"
781 # DSType CounterAdd
782 # Type "ipt_octets"
783 # Instance "type_instance"
784 # </Match>
785 # </Page>
786 #</Plugin>
788 #<Plugin memcached>
789 # <Instance "local">
790 # #Host "memcache.example.com"
791 # Address "127.0.0.1"
792 # Port "11211"
793 # </Instance>
794 #</Plugin>
796 #<Plugin memory>
797 # ValuesAbsolute true
798 # ValuesPercentage false
799 #</Plugin>
801 #<Plugin modbus>
802 # <Data "data_name">
803 # RegisterBase 1234
804 # RegisterCmd ReadHolding
805 # RegisterType float
806 # Type gauge
807 # Instance "..."
808 # </Data>
809 #
810 # <Host "name">
811 # Address "addr"
812 # Port "1234"
813 # Interval 60
814 #
815 # <Slave 1>
816 # Instance "foobar" # optional
817 # Collect "data_name"
818 # </Slave>
819 # </Host>
820 #</Plugin>
822 #<Plugin mqtt>
823 # <Publish "name">
824 # Host "localhost"
825 # Port 1883
826 # ClientId "localhost"
827 # User "user"
828 # Password "secret"
829 # QoS 0
830 # Prefix "collectd"
831 # StoreRates true
832 # Retain false
833 # CACert "/etc/ssl/ca.crt"
834 # CertificateFile "/etc/ssl/client.crt"
835 # CertificateKeyFile "/etc/ssl/client.pem"
836 # TLSProtocol "tlsv1.2"
837 # CipherSuite "ciphers"
838 # </Publish>
839 # <Subscribe "name">
840 # Host "localhost"
841 # Port 1883
842 # ClientId "localhost"
843 # User "user"
844 # Password "secret"
845 # QoS 2
846 # Topic "collectd/#"
847 # CleanSession true
848 # CACert "/etc/ssl/ca.crt"
849 # CertificateFile "/etc/ssl/client.crt"
850 # CertificateKeyFile "/etc/ssl/client.pem"
851 # TLSProtocol "tlsv1.2"
852 # CipherSuite "ciphers"
853 # </Subscribe>
854 #</Plugin>
856 #<Plugin mysql>
857 # <Database db_name>
858 # Host "database.serv.er"
859 # User "db_user"
860 # Password "secret"
861 # Database "db_name"
862 # SSLKey "/path/to/key.pem"
863 # SSLCert "/path/to/cert.pem"
864 # SSLCA "/path/to/ca.pem"
865 # SSLCAPath "/path/to/cas/"
866 # SSLCipher "DHE-RSA-AES256-SHA"
867 # MasterStats true
868 # ConnectTimeout 10
869 # InnodbStats true
870 # </Database>
871 #
872 # <Database db_name2>
873 # Alias "squeeze"
874 # Host "localhost"
875 # Socket "/var/run/mysql/mysqld.sock"
876 # SlaveStats true
877 # SlaveNotifications true
878 # </Database>
879 # <Database galera>
880 # Alias "galera"
881 # Host "localhost"
882 # Socket "/var/run/mysql/mysqld.sock"
883 # WsrepStats true
884 # </Database>
885 #</Plugin>
887 #<Plugin netapp>
888 # <Host "netapp1.example.com">
889 # Protocol "https"
890 # Address "10.0.0.1"
891 # Port 443
892 # User "username"
893 # Password "aef4Aebe"
894 # Interval 30
895 #
896 # <WAFL>
897 # Interval 30
898 # GetNameCache true
899 # GetDirCache true
900 # GetBufferCache true
901 # GetInodeCache true
902 # </WAFL>
903 #
904 # <Disks>
905 # Interval 30
906 # GetBusy true
907 # </Disks>
908 #
909 # <VolumePerf>
910 # Interval 30
911 # GetIO "volume0"
912 # IgnoreSelectedIO false
913 # GetOps "volume0"
914 # IgnoreSelectedOps false
915 # GetLatency "volume0"
916 # IgnoreSelectedLatency false
917 # </VolumePerf>
918 #
919 # <VolumeUsage>
920 # Interval 30
921 # GetCapacity "vol0"
922 # GetCapacity "vol1"
923 # IgnoreSelectedCapacity false
924 # GetSnapshot "vol1"
925 # GetSnapshot "vol3"
926 # IgnoreSelectedSnapshot false
927 # </VolumeUsage>
928 #
929 # <System>
930 # Interval 30
931 # GetCPULoad true
932 # GetInterfaces true
933 # GetDiskOps true
934 # GetDiskIO true
935 # </System>
936 # </Host>
937 #</Plugin>
939 #<Plugin netlink>
940 # Interface "All"
941 # VerboseInterface "All"
942 # QDisc "eth0" "pfifo_fast-1:0"
943 # Class "ppp0" "htb-1:10"
944 # Filter "ppp0" "u32-1:0"
945 # IgnoreSelected false
946 #</Plugin>
948 @LOAD_PLUGIN_NETWORK@<Plugin network>
949 # # client setup:
950 @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826"
951 @LOAD_PLUGIN_NETWORK@ <Server "239.192.74.66" "25826">
952 # SecurityLevel Encrypt
953 # Username "user"
954 # Password "secret"
955 # Interface "eth0"
956 # ResolveInterval 14400
957 @LOAD_PLUGIN_NETWORK@ </Server>
958 # TimeToLive 128
959 #
960 # # server setup:
961 # Listen "ff18::efc0:4a42" "25826"
962 # <Listen "239.192.74.66" "25826">
963 # SecurityLevel Sign
964 # AuthFile "/etc/collectd/passwd"
965 # Interface "eth0"
966 # </Listen>
967 # MaxPacketSize 1452
968 #
969 # # proxy setup (client and server as above):
970 # Forward true
971 #
972 # # statistics about the network plugin itself
973 # ReportStats false
974 #
975 # # "garbage collection"
976 # CacheFlush 1800
977 @LOAD_PLUGIN_NETWORK@</Plugin>
979 #<Plugin nfs>
980 # ReportV2 false
981 # #ReportV3 false
982 # #ReportV4 false
983 #</Plugin>
985 #<Plugin nginx>
986 # URL "http://localhost/status?auto"
987 # User "www-user"
988 # Password "secret"
989 # CACert "/etc/ssl/ca.crt"
990 #</Plugin>
992 #<Plugin notify_desktop>
993 # OkayTimeout 1000
994 # WarningTimeout 5000
995 # FailureTimeout 0
996 #</Plugin>
998 #<Plugin notify_email>
999 # SMTPServer "localhost"
1000 # SMTPPort 25
1001 # SMTPUser "my-username"
1002 # SMTPPassword "my-password"
1003 # From "collectd@main0server.com"
1004 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
1005 # Subject "Aaaaaa!! %s on %s!!!!!"
1006 # Recipient "email1@domain1.net"
1007 # Recipient "email2@domain2.com"
1008 #</Plugin>
1010 #<Plugin notify_nagios>
1011 # CommandFile "/usr/local/nagios/var/rw/nagios.cmd"
1012 #</Plugin>
1014 #<Plugin ntpd>
1015 # Host "localhost"
1016 # Port 123
1017 # ReverseLookups false
1018 # IncludeUnitID true
1019 #</Plugin>
1021 #<Plugin nut>
1022 # UPS "upsname@hostname:port"
1023 # ForceSSL true
1024 # VerifyPeer true
1025 # CAPath "/path/to/folder"
1026 # #ConnectTimeout 5000
1027 #</Plugin>
1029 #<Plugin olsrd>
1030 # Host "127.0.0.1"
1031 # Port "2006"
1032 # CollectLinks "Summary"
1033 # CollectRoutes "Summary"
1034 # CollectTopology "Summary"
1035 #</Plugin>
1037 #<Plugin onewire>
1038 # Device "-s localhost:4304"
1039 # Sensor "F10FCA000800"
1040 # IgnoreSelected false
1041 #</Plugin>
1043 #<Plugin openldap>
1044 # <Instance "localhost">
1045 # URL "ldap://localhost:389"
1046 # StartTLS false
1047 # VerifyHost true
1048 # CACert "/path/to/ca.crt"
1049 # Timeout -1
1050 # Version 3
1051 # </Instance>
1052 #</Plugin>
1054 #<Plugin openvpn>
1055 # StatusFile "/etc/openvpn/openvpn-status.log"
1056 # ImprovedNamingSchema false
1057 # CollectCompression true
1058 # CollectIndividualUsers true
1059 # CollectUserCount false
1060 #</Plugin>
1062 #<Plugin oracle>
1063 # <Query "out_of_stock">
1064 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
1065 # <Result>
1066 # Type "gauge"
1067 # InstancesFrom "category"
1068 # ValuesFrom "value"
1069 # </Result>
1070 # </Query>
1071 # <Database "product_information">
1072 # #Plugin "warehouse"
1073 # ConnectID "db01"
1074 # Username "oracle"
1075 # Password "secret"
1076 # Query "out_of_stock"
1077 # </Database>
1078 #</Plugin>
1080 #<Plugin ovs_events>
1081 # Port "6640"
1082 # Address "127.0.0.1"
1083 # Socket "/var/run/openvswitch/db.sock"
1084 # Interfaces "br0" "veth0"
1085 # SendNotification true
1086 # DispatchValues false
1087 #</Plugin>
1089 #<Plugin ovs_stats>
1090 # Port "6640"
1091 # Address "127.0.0.1"
1092 # Socket "/var/run/openvswitch/db.sock"
1093 # Bridges "br0" "br_ext"
1094 #</Plugin>
1096 #<Plugin perl>
1097 # IncludeDir "/my/include/path"
1098 # BaseName "Collectd::Plugins"
1099 # EnableDebugger ""
1100 # LoadPlugin Monitorus
1101 # LoadPlugin OpenVZ
1102 #
1103 # <Plugin foo>
1104 # Foo "Bar"
1105 # Qux "Baz"
1106 # </Plugin>
1107 #</Plugin>
1109 #<Plugin pinba>
1110 # Address "::0"
1111 # Port "30002"
1112 # <View "name">
1113 # Host "host name"
1114 # Server "server name"
1115 # Script "script name"
1116 # </View>
1117 #</Plugin>
1119 #<Plugin ping>
1120 # Host "host.foo.bar"
1121 # Interval 1.0
1122 # Timeout 0.9
1123 # TTL 255
1124 # SourceAddress "1.2.3.4"
1125 # Device "eth0"
1126 # MaxMissed -1
1127 #</Plugin>
1129 #<Plugin postgresql>
1130 # <Query magic>
1131 # Statement "SELECT magic FROM wizard WHERE host = $1;"
1132 # Param hostname
1133 # <Result>
1134 # Type gauge
1135 # InstancePrefix "magic"
1136 # ValuesFrom magic
1137 # </Result>
1138 # </Query>
1139 # <Query rt36_tickets>
1140 # Statement "SELECT COUNT(type) AS count, type \
1141 # FROM (SELECT CASE \
1142 # WHEN resolved = 'epoch' THEN 'open' \
1143 # ELSE 'resolved' END AS type \
1144 # FROM tickets) type \
1145 # GROUP BY type;"
1146 # <Result>
1147 # Type counter
1148 # InstancePrefix "rt36_tickets"
1149 # InstancesFrom "type"
1150 # ValuesFrom "count"
1151 # </Result>
1152 # </Query>
1153 # <Writer sqlstore>
1154 # # See contrib/postgresql/collectd_insert.sql for details
1155 # Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
1156 # StoreRates true
1157 # </Writer>
1158 # <Database foo>
1159 # #Plugin "kingdom"
1160 # Host "hostname"
1161 # Port "5432"
1162 # User "username"
1163 # Password "secret"
1164 # SSLMode "prefer"
1165 # KRBSrvName "kerberos_service_name"
1166 # Query magic
1167 # </Database>
1168 # <Database bar>
1169 # Interval 60
1170 # Service "service_name"
1171 # Query backend # predefined
1172 # Query rt36_tickets
1173 # </Database>
1174 # <Database qux>
1175 # Service "collectd_store"
1176 # Writer sqlstore
1177 # # see collectd.conf(5) for details
1178 # CommitInterval 30
1179 # </Database>
1180 #</Plugin>
1182 #<Plugin powerdns>
1183 # <Server "server_name">
1184 # Collect "latency"
1185 # Collect "udp-answers" "udp-queries"
1186 # Socket "/var/run/pdns.controlsocket"
1187 # </Server>
1188 # <Recursor "recursor_name">
1189 # Collect "questions"
1190 # Collect "cache-hits" "cache-misses"
1191 # Socket "/var/run/pdns_recursor.controlsocket"
1192 # </Recursor>
1193 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
1194 #</Plugin>
1196 #<Plugin processes>
1197 # CollectFileDescriptor true
1198 # CollectContextSwitch true
1199 # CollectMemoryMaps true
1200 # Process "name"
1201 # ProcessMatch "name" "regex"
1202 # <Process "collectd">
1203 # CollectFileDescriptor false
1204 # CollectContextSwitch false
1205 # </Process>
1206 # <ProcessMatch "name" "regex">
1207 # CollectFileDescriptor false
1208 # CollectContextSwitch true
1209 # </Process>
1210 #</Plugin>
1212 #<Plugin protocols>
1213 # Value "/^Tcp:/"
1214 # IgnoreSelected false
1215 #</Plugin>
1217 #<Plugin python>
1218 # ModulePath "/path/to/your/python/modules"
1219 # LogTraces true
1220 # Interactive true
1221 # Import "spam"
1222 #
1223 # <Module spam>
1224 # spam "wonderful" "lovely"
1225 # </Module>
1226 #</Plugin>
1228 #<Plugin redis>
1229 # <Node example>
1230 # Host "redis.example.com"
1231 # Port "6379"
1232 # Timeout 2000
1233 # </Node>
1234 #</Plugin>
1236 #<Plugin routeros>
1237 # <Router>
1238 # Host "router.example.com"
1239 # Port "8728"
1240 # User "admin"
1241 # Password "dozaiTh4"
1242 # CollectInterface true
1243 # CollectRegistrationTable true
1244 # CollectCPULoad true
1245 # CollectMemory true
1246 # CollectDF true
1247 # CollectDisk true
1248 # </Router>
1249 #</Plugin>
1251 #<Plugin rrdcached>
1252 # DaemonAddress "unix:/tmp/rrdcached.sock"
1253 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1254 # CreateFiles true
1255 # CreateFilesAsync false
1256 # CollectStatistics true
1257 #</Plugin>
1259 #<Plugin rrdtool>
1260 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1261 # CreateFilesAsync false
1262 # CacheTimeout 120
1263 # CacheFlush 900
1264 # WritesPerSecond 50
1265 #</Plugin>
1267 #<Plugin sensors>
1268 # SensorConfigFile "/etc/sensors.conf"
1269 # Sensor "it8712-isa-0290/temperature-temp1"
1270 # Sensor "it8712-isa-0290/fanspeed-fan3"
1271 # Sensor "it8712-isa-0290/voltage-in8"
1272 # IgnoreSelected false
1273 #</Plugin>
1275 #<Plugin sigrok>
1276 # LogLevel 3
1277 # <Device "AC Voltage">
1278 # Driver "fluke-dmm"
1279 # MinimumInterval 10
1280 # Conn "/dev/ttyUSB2"
1281 # </Device>
1282 # <Device "Sound Level">
1283 # Driver "cem-dt-885x"
1284 # Conn "/dev/ttyUSB1"
1285 # </Device>
1286 #</Plugin>
1288 #<Plugin smart>
1289 # Disk "/^[hs]d[a-f][0-9]?$/"
1290 # IgnoreSelected false
1291 #</Plugin>
1293 #<Plugin snmp>
1294 # <Data "powerplus_voltge_input">
1295 # Type "voltage"
1296 # Table false
1297 # Instance "input_line1"
1298 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
1299 # </Data>
1300 # <Data "hr_users">
1301 # Type "users"
1302 # Table false
1303 # Instance ""
1304 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
1305 # </Data>
1306 # <Data "std_traffic">
1307 # Type "if_octets"
1308 # Table true
1309 # Instance "IF-MIB::ifDescr"
1310 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1311 # </Data>
1312 #
1313 # <Host "some.switch.mydomain.org">
1314 # Address "192.168.0.2"
1315 # Version 1
1316 # Community "community_string"
1317 # Collect "std_traffic"
1318 # Interval 120
1319 # </Host>
1320 # <Host "some.server.mydomain.org">
1321 # Address "192.168.0.42"
1322 # Version 2
1323 # Community "another_string"
1324 # Collect "std_traffic" "hr_users"
1325 # </Host>
1326 # <Host "some.ups.mydomain.org">
1327 # Address "192.168.0.3"
1328 # Version 1
1329 # Community "more_communities"
1330 # Collect "powerplus_voltge_input"
1331 # Interval 300
1332 # </Host>
1333 #</Plugin>
1335 #<Plugin snmp_agent>
1336 # <Data "memAvailReal">
1337 # Plugin "memory"
1338 # Type "memory"
1339 # TypeInstance "free"
1340 # OIDs "1.3.6.1.4.1.2021.4.6.0"
1341 # </Data>
1342 # <Table "ifTable">
1343 # IndexOID "IF-MIB::ifIndex"
1344 # SizeOID "IF-MIB::ifNumber"
1345 # <Data "ifDescr">
1346 # Instance true
1347 # Plugin "interface"
1348 # OIDs "IF-MIB::ifDescr"
1349 # </Data>
1350 # <Data "ifOctets">
1351 # Plugin "interface"
1352 # Type "if_octets"
1353 # TypeInstance ""
1354 # OIDs "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1355 # </Data>
1356 # </Table>
1357 #</Plugin>
1359 #<Plugin statsd>
1360 # Host "::"
1361 # Port "8125"
1362 # DeleteCounters false
1363 # DeleteTimers false
1364 # DeleteGauges false
1365 # DeleteSets false
1366 # CounterSum false
1367 # TimerPercentile 90.0
1368 # TimerPercentile 95.0
1369 # TimerPercentile 99.0
1370 # TimerLower false
1371 # TimerUpper false
1372 # TimerSum false
1373 # TimerCount false
1374 #</Plugin>
1376 #<Plugin swap>
1377 # ReportByDevice false
1378 # ReportBytes true
1379 # ValuesAbsolute true
1380 # ValuesPercentage false
1381 # ReportIO true
1382 #</Plugin>
1384 #<Plugin table>
1385 # <Table "/proc/slabinfo">
1386 # #Plugin "table"
1387 # Instance "slabinfo"
1388 # Separator " "
1389 # <Result>
1390 # Type gauge
1391 # InstancePrefix "active_objs"
1392 # InstancesFrom 0
1393 # ValuesFrom 1
1394 # </Result>
1395 # <Result>
1396 # Type gauge
1397 # InstancePrefix "objperslab"
1398 # InstancesFrom 0
1399 # ValuesFrom 4
1400 # </Result>
1401 # </Table>
1402 #</Plugin>
1404 #<Plugin tail>
1405 # <File "/var/log/exim4/mainlog">
1406 # Instance "exim"
1407 # Interval 60
1408 # <Match>
1409 # Regex "S=([1-9][0-9]*)"
1410 # DSType "CounterAdd"
1411 # Type "ipt_bytes"
1412 # Instance "total"
1413 # </Match>
1414 # <Match>
1415 # Regex "\\<R=local_user\\>"
1416 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1417 # DSType "CounterInc"
1418 # Type "counter"
1419 # Instance "local_user"
1420 # </Match>
1421 # </File>
1422 # <File "/var/log/nginx/apache-time.log">
1423 # #Use the following log format in nginx:
1424 # #log_format response_time '[$host] "$upstream_response_time" ...'
1425 # Instance "apache"
1426 # <Match>
1427 # Regex "^\\S+ \"([0-9.]+)\""
1428 # <DSType Distribution>
1429 # Percentile 80 # -> latency-foo-80
1430 # Percentile 95 # -> latency-foo-95
1431 # Percentile 99 # -> latency-foo-99
1432 # Bucket 0 0.1 # -> bucket-latency-foo-0_0.1
1433 # Bucket 0.1 0.2 # -> bucket-latency-foo-0.1_0.2
1434 # Bucket 0.2 0.5 # -> bucket-latency-foo-0.2_0.5
1435 # Bucket 0.5 1.0 # -> bucket-latency-foo-0.5_1
1436 # Bucket 1.0 2.0 # -> bucket-latency-foo-1_2
1437 # Bucket 2.0 0 # -> bucket-latency-foo-2_inf
1438 # #BucketType "bucket"
1439 # </DSType>
1440 # Type "latency"
1441 # Instance "foo"
1442 # </Match>
1443 # </File>
1444 #</Plugin>
1446 #<Plugin tail_csv>
1447 # <Metric "dropped">
1448 # Type "percent"
1449 # Instance "dropped"
1450 # ValueFrom 1
1451 # </Metric>
1452 # <Metric "mbps">
1453 # Type "bytes"
1454 # Instance "wire-realtime"
1455 # ValueFrom 2
1456 # </Metric>
1457 # <Metric "alerts">
1458 # Type "alerts_per_second"
1459 # ValueFrom 3
1460 # </Metric>
1461 # <Metric "kpps">
1462 # Type "kpackets_wire_per_sec.realtime"
1463 # ValueFrom 4
1464 # </Metric>
1465 # <File "/var/log/snort/snort.stats">
1466 # Instance "snort-eth0"
1467 # Interval 600
1468 # Collect "dropped" "mbps" "alerts" "kpps"
1469 # TimeFrom 0
1470 # </File>
1471 #</Plugin>
1473 #<Plugin tcpconns>
1474 # ListeningPorts false
1475 # AllPortsSummary false
1476 # LocalPort "25"
1477 # RemotePort "25"
1478 #</Plugin>
1480 #<Plugin teamspeak2>
1481 # Host "127.0.0.1"
1482 # Port "51234"
1483 # Server "8767"
1484 #</Plugin>
1486 #<Plugin ted>
1487 # Device "/dev/ttyUSB0"
1488 # Retries 0
1489 #</Plugin>
1491 #<Plugin thermal>
1492 # ForceUseProcfs false
1493 # Device "THRM"
1494 # IgnoreSelected false
1495 #</Plugin>
1497 #<Plugin tokyotyrant>
1498 # Host "localhost"
1499 # Port "1978"
1500 #</Plugin>
1502 #<Plugin turbostat>
1503 ## None of the following option should be set manually
1504 ## This plugin automatically detect most optimal options
1505 ## Only set values here if:
1506 ## - The module asks you to
1507 ## - You want to disable the collection of some data
1508 ## - Your (Intel) CPU is not supported (yet) by the module
1509 ## - The module generates a lot of errors 'MSR offset 0x... read failed'
1510 ## In the last two cases, please open a bug request
1511 #
1512 # TCCActivationTemp "100"
1513 # CoreCstates "392"
1514 # PackageCstates "396"
1515 # SystemManagementInterrupt true
1516 # DigitalTemperatureSensor true
1517 # PackageThermalManagement true
1518 # RunningAveragePowerLimit "7"
1519 #</Plugin>
1521 #<Plugin unixsock>
1522 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1523 # SocketGroup "collectd"
1524 # SocketPerms "0660"
1525 # DeleteSocket false
1526 #</Plugin>
1528 #<Plugin uuid>
1529 # UUIDFile "/etc/uuid"
1530 #</Plugin>
1532 #<Plugin mic>
1533 # ShowCPU true
1534 # ShowCPUCores true
1535 # ShowMemory true
1536 # ShowTemperatures true
1537 ## Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1538 ## then inverted with a IgnoreSelectedTemperature.
1539 ## Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1540 # Temperature vddg
1541 # IgnoreSelectedTemperature true
1542 # ShowPower true
1543 ## Power Sensors can be ignored/shown by repeated #Power lines, and
1544 ## then inverted with a IgnoreSelectedTemperature.
1545 ## Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1546 # Power total1
1547 # IgnoreSelectedPower true
1548 #</Plugin>
1550 #<Plugin varnish>
1551 # This tag support an argument if you want to
1552 # monitor the local instance just use </Instance>
1553 # If you prefer defining another instance you can do
1554 # so by using <Instance "myinstance">
1555 # <Instance>
1556 # CollectBackend true
1557 # CollectBan false # Varnish 3 and above
1558 # CollectCache true
1559 # CollectConnections true
1560 # CollectDirectorDNS false # Varnish 3 only
1561 # CollectESI false
1562 # CollectFetch false
1563 # CollectHCB false
1564 # CollectObjects false
1565 # CollectPurge false # Varnish 2 only
1566 # CollectSession false
1567 # CollectSHM true
1568 # CollectSMA false # Varnish 2 & 4 only
1569 # CollectSMS false
1570 # CollectSM false # Varnish 2 only
1571 # CollectStruct false
1572 # CollectTotals false
1573 # CollectUptime false # Varnish 3 and above
1574 # CollectVCL false
1575 # CollectVSM false # Varnish 4 only
1576 # CollectWorkers false
1577 # CollectLock false # Varnish 4 only
1578 # CollectMempool false # Varnish 4 only
1579 # CollectManagement false # Varnish 4 only
1580 # CollectSMF false # Varnish 4 only
1581 # CollectVBE false # Varnish 4 only
1582 # CollectMSE false # Varnish-Plus 4 only
1583 # </Instance>
1584 #</Plugin>
1586 #<Plugin virt>
1587 # Connection "xen:///"
1588 # RefreshInterval 60
1589 # Domain "name"
1590 # BlockDevice "name:device"
1591 # BlockDeviceFormat target
1592 # BlockDeviceFormatBasename false
1593 # InterfaceDevice "name:device"
1594 # IgnoreSelected false
1595 # HostnameFormat name
1596 # InterfaceFormat name
1597 # PluginInstanceFormat name
1598 # Instances 1
1599 # ExtraStats "cpu_util disk disk_err domain_state fs_info job_stats_background pcpu perf vcpupin"
1600 #</Plugin>
1602 #<Plugin vmem>
1603 # Verbose false
1604 #</Plugin>
1606 #<Plugin write_graphite>
1607 # <Node "example">
1608 # Host "localhost"
1609 # Port "2003"
1610 # Protocol "tcp"
1611 # ReconnectInterval 0
1612 # LogSendErrors true
1613 # Prefix "collectd"
1614 # Postfix "collectd"
1615 # StoreRates true
1616 # AlwaysAppendDS false
1617 # EscapeCharacter "_"
1618 # SeparateInstances false
1619 # PreserveSeparator false
1620 # DropDuplicateFields false
1621 # </Node>
1622 #</Plugin>
1624 #<Plugin write_http>
1625 # <Node "example">
1626 # URL "http://example.com/collectd-post"
1627 # User "collectd"
1628 # Password "weCh3ik0"
1629 # VerifyPeer true
1630 # VerifyHost true
1631 # CACert "/etc/ssl/ca.crt"
1632 # CAPath "/etc/ssl/certs/"
1633 # ClientKey "/etc/ssl/client.pem"
1634 # ClientCert "/etc/ssl/client.crt"
1635 # ClientKeyPass "secret"
1636 # Header "X-Custom-Header: custom_value"
1637 # SSLVersion "TLSv1"
1638 # Format "Command"
1639 # Prefix "collectd" # metric prefix, only available for KAIROSDB format
1640 # Attribute "key" "value" # only available for KAIROSDB format
1641 # TTL 0 # data ttl, only available for KAIROSDB format
1642 # Metrics true
1643 # Notifications false
1644 # StoreRates false
1645 # BufferSize 4096
1646 # LowSpeedLimit 0
1647 # Timeout 0
1648 # </Node>
1649 #</Plugin>
1651 #<Plugin write_kafka>
1652 # Property "metadata.broker.list" "localhost:9092"
1653 # <Topic "collectd">
1654 # Format JSON
1655 # </Topic>
1656 #</Plugin>
1658 #<Plugin write_mongodb>
1659 # <Node "example">
1660 # Host "localhost"
1661 # Port "27017"
1662 # Timeout 1000
1663 # StoreRates false
1664 # Database "auth_db"
1665 # User "auth_user"
1666 # Password "auth_passwd"
1667 # </Node>
1668 #</Plugin>
1670 #<Plugin write_prometheus>
1671 # Port "9103"
1672 #</Plugin>
1674 #<Plugin write_redis>
1675 # <Node "example">
1676 # Host "localhost"
1677 # Port "6379"
1678 # Timeout 1000
1679 # Prefix "collectd/"
1680 # </Node>
1681 #</Plugin>
1683 #<Plugin write_riemann>
1684 # <Node "example">
1685 # Host "localhost"
1686 # Port 5555
1687 # Protocol TCP
1688 # Batch true
1689 # BatchMaxSize 8192
1690 # StoreRates true
1691 # AlwaysAppendDS false
1692 # TTLFactor 2.0
1693 # Notifications true
1694 # CheckThresholds false
1695 # EventServicePrefix ""
1696 # </Node>
1697 # Tag "foobar"
1698 # Attribute "foo" "bar"
1699 #</Plugin>
1701 #<Plugin write_sensu>
1702 # <Node "example">
1703 # Host "localhost"
1704 # Port 3030
1705 # StoreRates true
1706 # AlwaysAppendDS false
1707 # Notifications true
1708 # Metrics true
1709 # EventServicePrefix ""
1710 # MetricHandler "influx"
1711 # MetricHandler "default"
1712 # NotificationHandler "flapjack"
1713 # NotificationHandler "howling_monkey"
1714 # </Node>
1715 # Tag "foobar"
1716 # Attribute "foo" "bar"
1717 #</Plugin>
1719 #<Plugin write_tsdb>
1720 # <Node>
1721 # Host "localhost"
1722 # Port "4242"
1723 # HostTags "status=production"
1724 # StoreRates false
1725 # AlwaysAppendDS false
1726 # </Node>
1727 #</Plugin>
1729 #<Plugin zookeeper>
1730 # Host "localhost"
1731 # Port "2181"
1732 #</Plugin>
1734 ##############################################################################
1735 # Filter configuration #
1736 #----------------------------------------------------------------------------#
1737 # The following configures collectd's filtering mechanism. Before changing #
1738 # anything in this section, please read the `FILTER CONFIGURATION' section #
1739 # in the collectd.conf(5) manual page. #
1740 ##############################################################################
1742 # Load required matches:
1743 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1744 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1745 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1746 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1747 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1749 # Load required targets:
1750 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1751 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1752 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1753 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1754 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1756 #----------------------------------------------------------------------------#
1757 # The following block demonstrates the default behavior if no filtering is #
1758 # configured at all: All values will be sent to all available write plugins. #
1759 #----------------------------------------------------------------------------#
1761 #<Chain "PostCache">
1762 # Target "write"
1763 #</Chain>
1765 ##############################################################################
1766 # Threshold configuration #
1767 #----------------------------------------------------------------------------#
1768 # The following outlines how to configure collectd's threshold checking #
1769 # plugin. The plugin and possible configuration options are documented in #
1770 # the collectd-threshold(5) manual page. #
1771 ##############################################################################
1773 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1774 #<Plugin threshold>
1775 # <Type "foo">
1776 # WarningMin 0.00
1777 # WarningMax 1000.00
1778 # FailureMin 0.00
1779 # FailureMax 1200.00
1780 # Invert false
1781 # Instance "bar"
1782 # </Type>
1783 #
1784 # <Plugin "interface">
1785 # Instance "eth0"
1786 # <Type "if_octets">
1787 # FailureMax 10000000
1788 # DataSource "rx"
1789 # </Type>
1790 # </Plugin>
1791 #
1792 # <Host "hostname">
1793 # <Type "cpu">
1794 # Instance "idle"
1795 # FailureMin 10
1796 # </Type>
1797 #
1798 # <Plugin "memory">
1799 # <Type "memory">
1800 # Instance "cached"
1801 # WarningMin 100000000
1802 # </Type>
1803 # </Plugin>
1804 #
1805 # <Type "load">
1806 # DataSource "midterm"
1807 # FailureMax 4
1808 # Hits 3
1809 # Hysteresis 3
1810 # </Type>
1811 # </Host>
1812 #</Plugin>