Debian Codegraph @

src/collectd.conf.in

raw
1 #
2 # Config file for collectd(1).
3 # Please read collectd.conf(5) for a list of options.
4 # http://collectd.org/
5 #
6
7 ##############################################################################
8 # Global #
9 #----------------------------------------------------------------------------#
10 # Global settings for the daemon. #
11 ##############################################################################
12
13 #Hostname "localhost"
14 #FQDNLookup true
15 #BaseDir "@localstatedir@/lib/@PACKAGE_NAME@"
16 #PIDFile "@localstatedir@/run/@[email protected]"
17 #PluginDir "@libdir@/@PACKAGE_NAME@"
18 #TypesDB "@prefix@/share/@PACKAGE_NAME@/types.db"
19
20 #----------------------------------------------------------------------------#
21 # When enabled, plugins are loaded automatically with the default options #
22 # when an appropriate <Plugin ...> block is encountered. #
23 # Disabled by default. #
24 #----------------------------------------------------------------------------#
25 #AutoLoadPlugin false
26
27 #----------------------------------------------------------------------------#
28 # When enabled, internal statistics are collected, using "collectd" as the #
29 # plugin name. #
30 # Disabled by default. #
31 #----------------------------------------------------------------------------#
32 #CollectInternalStats false
33
34 #----------------------------------------------------------------------------#
35 # Interval at which to query values. This may be overwritten on a per-plugin #
36 # base by using the 'Interval' option of the LoadPlugin block: #
37 # <LoadPlugin foo> #
38 # Interval 60 #
39 # </LoadPlugin> #
40 #----------------------------------------------------------------------------#
41 #Interval 10
42
43 #MaxReadInterval 86400
44 #Timeout 2
45 #ReadThreads 5
46 #WriteThreads 5
47
48 # Limit the size of the write queue. Default is no limit. Setting up a limit is
49 # recommended for servers handling a high volume of traffic.
50 #WriteQueueLimitHigh 1000000
51 #WriteQueueLimitLow 800000
52
53 ##############################################################################
54 # Logging #
55 #----------------------------------------------------------------------------#
56 # Plugins which provide logging functions should be loaded first, so log #
57 # messages generated when loading or configuring other plugins can be #
58 # accessed. #
59 ##############################################################################
60
61 @LOAD_PLUGIN_SYSLOG@LoadPlugin syslog
62 @LOAD_PLUGIN_LOGFILE@LoadPlugin logfile
63 @LOAD_PLUGIN_LOG_LOGSTASH@LoadPlugin log_logstash
64
65 #<Plugin logfile>
66 # LogLevel @DEFAULT_LOG_LEVEL@
67 # File STDOUT
68 # Timestamp true
69 # PrintSeverity false
70 #</Plugin>
71
72 #<Plugin log_logstash>
73 # LogLevel @DEFAULT_LOG_LEVEL@
74 # File "@localstatedir@/log/@[email protected]"
75 #</Plugin>
76
77 #<Plugin syslog>
78 # LogLevel @DEFAULT_LOG_LEVEL@
79 #</Plugin>
80
81 ##############################################################################
82 # LoadPlugin section #
83 #----------------------------------------------------------------------------#
84 # Lines beginning with a single `#' belong to plugins which have been built #
85 # but are disabled by default. #
86 # #
87 # Lines beginning with `##' belong to plugins which have not been built due #
88 # to missing dependencies or because they have been deactivated explicitly. #
89 ##############################################################################
90
91 #@BUILD_PLUGIN_AGGREGATION_TRUE@LoadPlugin aggregation
92 #@BUILD_PLUGIN_AMQP_TRUE@LoadPlugin amqp
93 #@BUILD_PLUGIN_AMQP1_TRUE@LoadPlugin amqp1
94 #@BUILD_PLUGIN_APACHE_TRUE@LoadPlugin apache
95 #@BUILD_PLUGIN_APCUPS_TRUE@LoadPlugin apcups
96 #@BUILD_PLUGIN_APPLE_SENSORS_TRUE@LoadPlugin apple_sensors
97 #@BUILD_PLUGIN_AQUAERO_TRUE@LoadPlugin aquaero
98 #@BUILD_PLUGIN_ASCENT_TRUE@LoadPlugin ascent
99 #@BUILD_PLUGIN_BAROMETER_TRUE@LoadPlugin barometer
100 #@BUILD_PLUGIN_BATTERY_TRUE@LoadPlugin battery
101 #@BUILD_PLUGIN_BIND_TRUE@LoadPlugin bind
102 #@BUILD_PLUGIN_BUDDYINFO_TRUE@LoadPlugin buddyinfo
103 #@BUILD_PLUGIN_CAPABILITIES_TRUE@LoadPlugin capabilities
104 #@BUILD_PLUGIN_CEPH_TRUE@LoadPlugin ceph
105 #@BUILD_PLUGIN_CGROUPS_TRUE@LoadPlugin cgroups
106 #@BUILD_PLUGIN_CHRONY_TRUE@LoadPlugin chrony
107 #@BUILD_PLUGIN_CHECK_UPTIME_TRUE@LoadPlugin check_uptime
108 #@BUILD_PLUGIN_CONNECTIVITY_TRUE@LoadPlugin connectivity
109 #@BUILD_PLUGIN_CONNTRACK_TRUE@LoadPlugin conntrack
110 #@BUILD_PLUGIN_CONTEXTSWITCH_TRUE@LoadPlugin contextswitch
111 @BUILD_PLUGIN_CPU_TRUE@@BUILD_PLUGIN_CPU_TRUE@LoadPlugin cpu
112 #@BUILD_PLUGIN_CPUFREQ_TRUE@LoadPlugin cpufreq
113 #@BUILD_PLUGIN_CPUSLEEP_TRUE@LoadPlugin cpusleep
114 @LOAD_PLUGIN_CSV@LoadPlugin csv
115 #@BUILD_PLUGIN_CURL_TRUE@LoadPlugin curl
116 #@BUILD_PLUGIN_CURL_JSON_TRUE@LoadPlugin curl_json
117 #@BUILD_PLUGIN_CURL_JSON_TRUE@LoadPlugin curl_jolokia
118 #@BUILD_PLUGIN_CURL_XML_TRUE@LoadPlugin curl_xml
119 #@BUILD_PLUGIN_DBI_TRUE@LoadPlugin dbi
120 #@BUILD_PLUGIN_DCPMM_TRUE@LoadPlugin dcpmm
121 #@BUILD_PLUGIN_DF_TRUE@LoadPlugin df
122 #@BUILD_PLUGIN_DISK_TRUE@LoadPlugin disk
123 #@BUILD_PLUGIN_DNS_TRUE@LoadPlugin dns
124 #@BUILD_PLUGIN_DPDKEVENTS_TRUE@LoadPlugin dpdkevents
125 #@BUILD_PLUGIN_DPDKSTAT_TRUE@LoadPlugin dpdkstat
126 #@BUILD_PLUGIN_DPDK_TELEMETRY_TRUE@LoadPlugin dpdk_telemetry
127 #@BUILD_PLUGIN_DRBD_TRUE@LoadPlugin drbd
128 #@BUILD_PLUGIN_EMAIL_TRUE@LoadPlugin email
129 #@BUILD_PLUGIN_ENTROPY_TRUE@LoadPlugin entropy
130 #@BUILD_PLUGIN_ETHSTAT_TRUE@LoadPlugin ethstat
131 #@BUILD_PLUGIN_EXEC_TRUE@LoadPlugin exec
132 #@BUILD_PLUGIN_FHCOUNT_TRUE@LoadPlugin fhcount
133 #@BUILD_PLUGIN_FILECOUNT_TRUE@LoadPlugin filecount
134 #@BUILD_PLUGIN_FSCACHE_TRUE@LoadPlugin fscache
135 #@BUILD_PLUGIN_GMOND_TRUE@LoadPlugin gmond
136 #@BUILD_PLUGIN_GPS_TRUE@LoadPlugin gps
137 #@BUILD_PLUGIN_GRPC_TRUE@LoadPlugin grpc
138 #@BUILD_PLUGIN_HDDTEMP_TRUE@LoadPlugin hddtemp
139 #@BUILD_PLUGIN_HUGEPAGES_TRUE@LoadPlugin hugepages
140 #@BUILD_PLUGIN_INFINIBAND_TRUE@LoadPlugin infiniband
141 #@BUILD_PLUGIN_INTEL_PMU_TRUE@LoadPlugin intel_pmu
142 #@BUILD_PLUGIN_INTEL_RDT_TRUE@LoadPlugin intel_rdt
143 @BUILD_PLUGIN_INTERFACE_TRUE@@BUILD_PLUGIN_INTERFACE_TRUE@LoadPlugin interface
144 #@BUILD_PLUGIN_IPC_TRUE@LoadPlugin ipc
145 #@BUILD_PLUGIN_IPMI_TRUE@LoadPlugin ipmi
146 #@BUILD_PLUGIN_IPSTATS_TRUE@LoadPlugin ipstats
147 #@BUILD_PLUGIN_IPTABLES_TRUE@LoadPlugin iptables
148 #@BUILD_PLUGIN_IPVS_TRUE@LoadPlugin ipvs
149 #@BUILD_PLUGIN_IRQ_TRUE@LoadPlugin irq
150 #@BUILD_PLUGIN_JAVA_TRUE@LoadPlugin java
151 @BUILD_PLUGIN_LOAD_TRUE@@BUILD_PLUGIN_LOAD_TRUE@LoadPlugin load
152 #@BUILD_PLUGIN_LPAR_TRUE@LoadPlugin lpar
153 #@BUILD_PLUGIN_LOGPARSER_TRUE@LoadPlugin logparser
154 #@BUILD_PLUGIN_LUA_TRUE@LoadPlugin lua
155 #@BUILD_PLUGIN_MADWIFI_TRUE@LoadPlugin madwifi
156 #@BUILD_PLUGIN_MBMON_TRUE@LoadPlugin mbmon
157 #@BUILD_PLUGIN_MCELOG_TRUE@LoadPlugin mcelog
158 #@BUILD_PLUGIN_MD_TRUE@LoadPlugin md
159 #@BUILD_PLUGIN_MDEVENTS_TRUE@LoadPlugin mdevents
160 #@BUILD_PLUGIN_MEMCACHEC_TRUE@LoadPlugin memcachec
161 #@BUILD_PLUGIN_MEMCACHED_TRUE@LoadPlugin memcached
162 @BUILD_PLUGIN_MEMORY_TRUE@@BUILD_PLUGIN_MEMORY_TRUE@LoadPlugin memory
163 #@BUILD_PLUGIN_MIC_TRUE@LoadPlugin mic
164 #@BUILD_PLUGIN_MODBUS_TRUE@LoadPlugin modbus
165 #@BUILD_PLUGIN_MQTT_TRUE@LoadPlugin mqtt
166 #@BUILD_PLUGIN_MULTIMETER_TRUE@LoadPlugin multimeter
167 #@BUILD_PLUGIN_MYSQL_TRUE@LoadPlugin mysql
168 #@BUILD_PLUGIN_NETAPP_TRUE@LoadPlugin netapp
169 #@BUILD_PLUGIN_NETLINK_TRUE@LoadPlugin netlink
170 @LOAD_PLUGIN_NETWORK@LoadPlugin network
171 #@BUILD_PLUGIN_NFS_TRUE@LoadPlugin nfs
172 #@BUILD_PLUGIN_NGINX_TRUE@LoadPlugin nginx
173 #@BUILD_PLUGIN_NOTIFY_DESKTOP_TRUE@LoadPlugin notify_desktop
174 #@BUILD_PLUGIN_NOTIFY_EMAIL_TRUE@LoadPlugin notify_email
175 #@BUILD_PLUGIN_NOTIFY_NAGIOS_TRUE@LoadPlugin notify_nagios
176 #@BUILD_PLUGIN_NTPD_TRUE@LoadPlugin ntpd
177 #@BUILD_PLUGIN_NUMA_TRUE@LoadPlugin numa
178 #@BUILD_PLUGIN_NUT_TRUE@LoadPlugin nut
179 #@BUILD_PLUGIN_OLSRD_TRUE@LoadPlugin olsrd
180 #@BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire
181 #@BUILD_PLUGIN_OPENLDAP_TRUE@LoadPlugin openldap
182 #@BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn
183 #@BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle
184 #@BUILD_PLUGIN_OVS_EVENTS_TRUE@LoadPlugin ovs_events
185 #@BUILD_PLUGIN_OVS_STATS_TRUE@LoadPlugin ovs_stats
186 #@BUILD_PLUGIN_PCIE_ERRORS_TRUE@LoadPlugin pcie_errors
187 #@BUILD_PLUGIN_PERL_TRUE@LoadPlugin perl
188 #@BUILD_PLUGIN_PINBA_TRUE@LoadPlugin pinba
189 #@BUILD_PLUGIN_PING_TRUE@LoadPlugin ping
190 #@BUILD_PLUGIN_POSTGRESQL_TRUE@LoadPlugin postgresql
191 #@BUILD_PLUGIN_POWERDNS_TRUE@LoadPlugin powerdns
192 #@BUILD_PLUGIN_PROCESSES_TRUE@LoadPlugin processes
193 #@BUILD_PLUGIN_PROCEVENT_TRUE@LoadPlugin procevent
194 #@BUILD_PLUGIN_PROTOCOLS_TRUE@LoadPlugin protocols
195 #@BUILD_PLUGIN_PYTHON_TRUE@LoadPlugin python
196 #@BUILD_PLUGIN_REDFISH_TRUE@LoadPlugin redfish
197 #@BUILD_PLUGIN_REDIS_TRUE@LoadPlugin redis
198 #@BUILD_PLUGIN_ROUTEROS_TRUE@LoadPlugin routeros
199 #@BUILD_PLUGIN_RRDCACHED_TRUE@LoadPlugin rrdcached
200 @LOAD_PLUGIN_RRDTOOL@LoadPlugin rrdtool
201 #@BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors
202 #@BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial
203 #@BUILD_PLUGIN_SIGROK_TRUE@LoadPlugin sigrok
204 #@BUILD_PLUGIN_SLURM_TRUE@LoadPlugin slurm
205 #@BUILD_PLUGIN_SMART_TRUE@LoadPlugin smart
206 #@BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
207 #@BUILD_PLUGIN_SNMP_AGENT_TRUE@LoadPlugin snmp_agent
208 #@BUILD_PLUGIN_STATSD_TRUE@LoadPlugin statsd
209 #@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap
210 #@BUILD_PLUGIN_SYSEVENT_TRUE@LoadPlugin sysevent
211 #@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table
212 #@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail
213 #@BUILD_PLUGIN_TAIL_CSV_TRUE@LoadPlugin tail_csv
214 #@BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape
215 #@BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns
216 #@BUILD_PLUGIN_TEAMSPEAK2_TRUE@LoadPlugin teamspeak2
217 #@BUILD_PLUGIN_TED_TRUE@LoadPlugin ted
218 #@BUILD_PLUGIN_THERMAL_TRUE@LoadPlugin thermal
219 #@BUILD_PLUGIN_TOKYOTYRANT_TRUE@LoadPlugin tokyotyrant
220 #@BUILD_PLUGIN_TURBOSTAT_TRUE@LoadPlugin turbostat
221 #@BUILD_PLUGIN_UNIXSOCK_TRUE@LoadPlugin unixsock
222 #@BUILD_PLUGIN_UPTIME_TRUE@LoadPlugin uptime
223 #@BUILD_PLUGIN_USERS_TRUE@LoadPlugin users
224 #@BUILD_PLUGIN_UUID_TRUE@LoadPlugin uuid
225 #@BUILD_PLUGIN_VARNISH_TRUE@LoadPlugin varnish
226 #@BUILD_PLUGIN_VIRT_TRUE@LoadPlugin virt
227 #@BUILD_PLUGIN_VMEM_TRUE@LoadPlugin vmem
228 #@BUILD_PLUGIN_VSERVER_TRUE@LoadPlugin vserver
229 #@BUILD_PLUGIN_WIRELESS_TRUE@LoadPlugin wireless
230 #@BUILD_PLUGIN_WRITE_GRAPHITE_TRUE@LoadPlugin write_graphite
231 #@BUILD_PLUGIN_WRITE_HTTP_TRUE@LoadPlugin write_http
232 #@BUILD_PLUGIN_WRITE_INFLUXDB_UDP_TRUE@LoadPlugin write_influxdb_udp
233 #@BUILD_PLUGIN_WRITE_KAFKA_TRUE@LoadPlugin write_kafka
234 #@BUILD_PLUGIN_WRITE_LOG_TRUE@LoadPlugin write_log
235 #@BUILD_PLUGIN_WRITE_MONGODB_TRUE@LoadPlugin write_mongodb
236 #@BUILD_PLUGIN_WRITE_PROMETHEUS_TRUE@LoadPlugin write_prometheus
237 #@BUILD_PLUGIN_WRITE_REDIS_TRUE@LoadPlugin write_redis
238 #@BUILD_PLUGIN_WRITE_RIEMANN_TRUE@LoadPlugin write_riemann
239 #@BUILD_PLUGIN_WRITE_SENSU_TRUE@LoadPlugin write_sensu
240 #@BUILD_PLUGIN_WRITE_STACKDRIVER_TRUE@LoadPlugin write_stackdriver
241 #@BUILD_PLUGIN_WRITE_SYSLOG_TRUE@LoadPlugin write_syslog
242 #@BUILD_PLUGIN_WRITE_TSDB_TRUE@LoadPlugin write_tsdb
243 #@BUILD_PLUGIN_XENCPU_TRUE@LoadPlugin xencpu
244 #@BUILD_PLUGIN_XMMS_TRUE@LoadPlugin xmms
245 #@BUILD_PLUGIN_ZFS_ARC_TRUE@LoadPlugin zfs_arc
246 #@BUILD_PLUGIN_ZONE_TRUE@LoadPlugin zone
247 #@BUILD_PLUGIN_ZOOKEEPER_TRUE@LoadPlugin zookeeper
248
249 ##############################################################################
250 # Plugin configuration #
251 #----------------------------------------------------------------------------#
252 # In this section configuration stubs for each plugin are provided. A desc- #
253 # ription of those options is available in the collectd.conf(5) manual page. #
254 ##############################################################################
255
256 #<Plugin aggregation>
257 # <Aggregation>
258 # #Host "unspecified"
259 # Plugin "cpu"
260 # #PluginInstance "unspecified"
261 # Type "cpu"
262 # #TypeInstance "unspecified"
263 #
264 # GroupBy "Host"
265 # GroupBy "TypeInstance"
266 #
267 # CalculateNum false
268 # CalculateSum false
269 # CalculateAverage true
270 # CalculateMinimum false
271 # CalculateMaximum false
272 # CalculateStddev false
273 # </Aggregation>
274 #</Plugin>
275
276 #<Plugin amqp>
277 # <Publish "name">
278 # Host "localhost"
279 # Port "5672"
280 # VHost "/"
281 # User "guest"
282 # Password "guest"
283 # Exchange "amq.fanout"
284 # RoutingKey "collectd"
285 # Persistent false
286 # StoreRates false
287 # ConnectionRetryDelay 0
288 # TLSEnabled false
289 # TLSVerifyPeer true
290 # TLSVerifyHostName true
291 # TLSCACert "/path/to/ca.pem"
292 # TLSClientCert "/path/to/client-cert.pem"
293 # TLSClientKey "/path/to/client-key.pem"
294 # </Publish>
295 #</Plugin>
296
297 #<Plugin amqp1>
298 # <Transport "name">
299 # Host "localhost"
300 # Port "5672"
301 # User "guest"
302 # Password "guest"
303 # Address "collectd"
304 # RetryDelay 1
305 # <Instance "log">
306 # Format JSON
307 # PreSettle false
308 # </Instance>
309 # <Instance "notify">
310 # Format JSON
311 # PreSettle true
312 # </Instance>
313 # <Instance "telemetry">
314 # Format JSON
315 # PreSettle false
316 # </Instance>
317 # </Transport>
318 #</Plugin>
319
320 #<Plugin apache>
321 # <Instance "local">
322 # URL "http://localhost/status?auto"
323 # User "www-user"
324 # Password "secret"
325 # CACert "/etc/ssl/ca.crt"
326 # </Instance>
327 #</Plugin>
328
329 #<Plugin apcups>
330 # Host "localhost"
331 # Port "3551"
332 # ReportSeconds true
333 # PersistentConnection true
334 #</Plugin>
335
336 #<Plugin aquaero>
337 # Device ""
338 #</Plugin>
339
340 #<Plugin ascent>
341 # URL "http://localhost/ascent/status/"
342 # User "www-user"
343 # Password "secret"
344 # CACert "/etc/ssl/ca.crt"
345 #</Plugin>
346
347 #<Plugin "barometer">
348 # Device "/dev/i2c-0";
349 # Oversampling 512
350 # PressureOffset 0.0
351 # TemperatureOffset 0.0
352 # Normalization 2
353 # Altitude 238.0
354 # TemperatureSensor "myserver/onewire-F10FCA000800/temperature"
355 #</Plugin>
356
357 #<Plugin "battery">
358 # ValuesPercentage false
359 # ReportDegraded false
360 # QueryStateFS false
361 #</Plugin>
362
363 #<Plugin "bind">
364 # URL "http://localhost:8053/"
365 # ParseTime false
366 # OpCodes true
367 # QTypes true
368 #
369 # ServerStats true
370 # ZoneMaintStats true
371 # ResolverStats false
372 # MemoryStats true
373 #
374 # <View "_default">
375 # QTypes true
376 # ResolverStats true
377 # CacheRRSets true
378 #
379 # Zone "127.in-addr.arpa/IN"
380 # </View>
381 #</Plugin>
382
383 #<Plugin buddyinfo>
384 # Zone "Normal"
385 #</Plugin>
386
387 #<Plugin capabilities>
388 # Port "9104"
389 #</Plugin>
390
391 #<Plugin ceph>
392 # LongRunAvgLatency false
393 # ConvertSpecialMetricTypes true
394 # <Daemon "osd.0">
395 # SocketPath "/var/run/ceph/ceph-osd.0.asok"
396 # </Daemon>
397 # <Daemon "osd.1">
398 # SocketPath "/var/run/ceph/ceph-osd.1.asok"
399 # </Daemon>
400 # <Daemon "mon.a">
401 # SocketPath "/var/run/ceph/ceph-mon.ceph1.asok"
402 # </Daemon>
403 # <Daemon "mds.a">
404 # SocketPath "/var/run/ceph/ceph-mds.ceph1.asok"
405 # </Daemon>
406 #</Plugin>
407
408 #<Plugin chrony>
409 # Host "localhost"
410 # Port "323"
411 # Timeout "2"
412 #</Plugin>
413
414 #<Plugin connectivity>
415 # Interface eth0
416 #</Plugin>
417
418 #<Plugin cgroups>
419 # CGroup "libvirt"
420 # IgnoreSelected false
421 #</Plugin>
422
423 #<Plugin cpu>
424 # ReportByCpu true
425 # ReportByState true
426 # ValuesPercentage false
427 # ReportNumCpu false
428 # ReportGuestState false
429 # SubtractGuestState true
430 #</Plugin>
431 #
432 #<Plugin csv>
433 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv"
434 # StoreRates false
435 #</Plugin>
436
437 #<Plugin curl>
438 # <Page "stock_quotes">
439 # URL "http://finance.google.com/finance?q=NYSE%3AAMD"
440 # AddressFamily "any"
441 # User "foo"
442 # Password "bar"
443 # Digest false
444 # VerifyPeer true
445 # VerifyHost true
446 # CACert "/path/to/ca.crt"
447 # Header "X-Custom-Header: foobar"
448 # Post "foo=bar"
449 #
450 # MeasureResponseTime false
451 # MeasureResponseCode false
452 # <Match>
453 # Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
454 # DSType "GaugeAverage"
455 # Type "stock_value"
456 # Instance "AMD"
457 # </Match>
458 # </Page>
459 #</Plugin>
460
461 #<Plugin curl_json>
462 # <URL "http://localhost:80/test.json">
463 # AddressFamily "any"
464 # Instance "test_http_json"
465 # <Key "testArray/0">
466 # Type "gauge"
467 # # Expect: 1
468 # </Key>
469 # <Key "testArray/1">
470 # Type "gauge"
471 # # Expect: 2
472 # </Key>
473 # <Key "testArrayInbetween/0/blarg">
474 # Type "gauge"
475 # # Expect: 3
476 # </Key>
477 # <Key "testArrayInbetween/1/blub">
478 # Type "gauge"
479 # # Expect: 4
480 # </Key>
481 # <Key "testDirectHit">
482 # Type "gauge"
483 # # Expect: 5
484 # </Key>
485 # <Key "testSubLevelHit/oneMoreLevel">
486 # Type "gauge"
487 # # Expect: 6
488 # </Key>
489 # </URL>
490 # put this as test.json on your webserver, the above config demonstraces
491 # how to match them.
492 # {
493 # "testArray":[1,2],
494 # "testArrayInbetween":[{"blarg":3},{"blub":4}],
495 # "testDirectHit":5,
496 # "testSubLevelHit":{"oneMoreLevel":6}
497 # }
498 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
499 # <URL "http://localhost:5984/_stats">
500 # AddressFamily "ipv4"
501 # Instance "httpd"
502 # <Key "httpd/requests/count">
503 # Type "http_requests"
504 # </Key>
505 #
506 # <Key "httpd_request_methods/*/count">
507 # Type "http_request_methods"
508 # </Key>
509 #
510 # <Key "httpd_status_codes/*/count">
511 # Type "http_response_codes"
512 # </Key>
513 # </URL>
514 ## Database status metrics:
515 # <URL "http://localhost:5984/_all_dbs">
516 # AddressFamily "ipv6"
517 # Instance "dbs"
518 # <Key "*/doc_count">
519 # Type "gauge"
520 # </Key>
521 # <Key "*/doc_del_count">
522 # Type "counter"
523 # </Key>
524 # <Key "*/disk_size">
525 # Type "bytes"
526 # </Key>
527 # </URL>
528 #</Plugin>
529
530 # Adjust the location of the jolokia plugin according to your setup
531 # specify a username/password which has access to the values you want to aggregate
532 # use jolokia_2_collectd.py to generate a more detailed config.
533 #<Plugin curl_jolokia>
534 # <URL "http://10.10.10.10:7101/jolokia-war-1.2.0/?ignoreErrors=true&canonicalNaming=false";>
535 # Host "_APPPERF_JMX"
536 # User "webloginname"
537 # Password "passvoid"
538 # Post "[{\"config\":{},\"type\":\"read\",\"mbean\":\"java.lang:name=PS Scavenge,type=GarbageCollector\",\"attribute\":[\"CollectionTime\",\"CollectionCount\"]},{\"config\":{},\"type\":\"read\",\"mbean\":\"java.lang:type=Threading\",\"attribute\":[\"CurrentThreadUserTime\",\"CurrentThreadCpuTime\"]},{\"config\":{},\"type\":\"read\",\"mbean\":\"java.lang:type=Runtime\",\"attribute\":[\"Uptime\"]},{\"config\":{},\"type\":\"read\",\"mbean\":\"java.lang:type=ClassLoading\",\"attribute\":[\"LoadedClassCount\",\"TotalLoadedClassCount\"]}]"
539 #
540 # <BeanName "PS_Scavenge">
541 # MBean "java.lang:name=PS Scavenge,type=GarbageCollector"
542 # BeanNameSpace "java_lang"
543 # <AttributeName "collectiontime" >
544 # Attribute "CollectionTime"
545 # type "gauge"
546 # </AttributeName>
547 # <AttributeName "collectioncount" >
548 # Attribute "CollectionCount"
549 # type "gauge"
550 # </AttributeName>
551 #
552 # </BeanName>
553 # <BeanName "type_Runtime">
554 # MBean "java.lang:type=Runtime"
555 # BeanNameSpace "java_lang"
556 # <AttributeName "uptime" >
557 # Attribute "Uptime"
558 # type "gauge"
559 # </AttributeName>
560 #
561 # </BeanName>
562 # <BeanName "type_ClassLoading">
563 # MBean "java.lang:type=ClassLoading"
564 # BeanNameSpace "java_lang"
565 # <AttributeName "loadedclasscount" >
566 # Attribute "LoadedClassCount"
567 # type "gauge"
568 # </AttributeName>
569 # <AttributeName "totalloadedclasscount" >
570 # Attribute "TotalLoadedClassCount"
571 # type "gauge"
572 # </AttributeName>
573 #
574 # </BeanName>
575 # <BeanName "type_OperatingSystem">
576 # MBean "java.lang:type=OperatingSystem"
577 # BeanNameSpace "java_lang"
578 # <AttributeName "systemloadaverage" >
579 # Attribute "SystemLoadAverage"
580 # type "gauge"
581 # </AttributeName>
582 # <AttributeName "openfiledescriptorcount" >
583 # Attribute "OpenFileDescriptorCount"
584 # type "gauge"
585 # </AttributeName>
586 # <AttributeName "processcputime" >
587 # Attribute "ProcessCpuTime"
588 # type "gauge"
589 # </AttributeName>
590 # <AttributeName "freephysicalmemorysize" >
591 # Attribute "FreePhysicalMemorySize"
592 # type "gauge"
593 # </AttributeName>
594 # <AttributeName "freeswapspacesize" >
595 # Attribute "FreeSwapSpaceSize"
596 # type "gauge"
597 # </AttributeName>
598 # <AttributeName "processcpuload" >
599 # Attribute "ProcessCpuLoad"
600 # type "gauge"
601 # </AttributeName>
602 # <AttributeName "systemcpuload" >
603 # Attribute "SystemCpuLoad"
604 # type "gauge"
605 # </AttributeName>
606 #
607 # </BeanName>
608 # </URL>
609 #</Plugin>
610
611 #<Plugin curl_xml>
612 # <URL "http://localhost/stats.xml">
613 # AddressFamily "any"
614 # Host "my_host"
615 # #Plugin "stats"
616 # Instance "some_instance"
617 # User "collectd"
618 # Password "thaiNg0I"
619 # Digest false
620 # VerifyPeer true
621 # VerifyHost true
622 # CACert "/path/to/ca.crt"
623 # Header "X-Custom-Header: foobar"
624 # Post "foo=bar"
625 #
626 # <XPath "table[@id=\"magic_level\"]/tr">
627 # Type "magic_level"
628 # #InstancePrefix "prefix-"
629 # InstanceFrom "td[1]"
630 # #PluginInstanceFrom "td[1]"
631 # ValuesFrom "td[2]/span[@class=\"level\"]"
632 # </XPath>
633 # </URL>
634 #</Plugin>
635
636 #<Plugin dbi>
637 # <Query "num_of_customers">
638 # Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
639 # <Result>
640 # Type "gauge"
641 # InstancesFrom "c_key"
642 # ValuesFrom "c_value"
643 # </Result>
644 # </Query>
645 # <Database "customers_db">
646 # #Plugin "mycompany"
647 # Driver "mysql"
648 # DriverOption "host" "localhost"
649 # DriverOption "username" "collectd"
650 # DriverOption "password" "AeXohy0O"
651 # DriverOption "dbname" "custdb0"
652 # #SelectDB "custdb0"
653 # Query "num_of_customers"
654 # #Query "..."
655 # #Host "..."
656 # </Database>
657 #</Plugin>
658
659 #<Plugin dcpmm>
660 # Interval 10.0
661 # CollectHealth false
662 # CollectPerfMetrics true
663 # EnableDispatchAll false
664 #</Plugin>
665
666 #<Plugin df>
667 # Device "/dev/hda1"
668 # Device "192.168.0.2:/mnt/nfs"
669 # MountPoint "/home"
670 # FSType "ext3"
671 # IgnoreSelected false
672 # LogOnce false
673 # ReportByDevice false
674 # ReportInodes false
675 # ValuesAbsolute true
676 # ValuesPercentage false
677 #</Plugin>
678
679 #<Plugin disk>
680 # Disk "/^[hs]d[a-f][0-9]?$/"
681 # IgnoreSelected false
682 # UseBSDName false
683 # UdevNameAttr "DEVNAME"
684 #</Plugin>
685
686 #<Plugin dns>
687 # Interface "eth0"
688 # IgnoreSource "192.168.0.1"
689 # SelectNumericQueryTypes true
690 #</Plugin>
691
692 #<Plugin "dpdkevents">
693 # <EAL>
694 # Coremask "0x1"
695 # MemoryChannels "4"
696 # FilePrefix "rte"
697 # </EAL>
698 # <Event "link_status">
699 # SendEventsOnUpdate true
700 # EnabledPortMask 0xffff
701 # PortName "interface1"
702 # PortName "interface2"
703 # SendNotification false
704 # </Event>
705 # <Event "keep_alive">
706 # SendEventsOnUpdate true
707 # LCoreMask "0xf"
708 # KeepAliveShmName "/dpdk_keepalive_shm_name"
709 # SendNotification false
710 # </Event>
711 #</Plugin>
712
713 #<Plugin dpdkstat>
714 # <EAL>
715 # Coremask "0x2"
716 # MemoryChannels "4"
717 # FilePrefix "rte"
718 # LogLevel "7"
719 # RteDriverLibPath "/usr/lib/dpdk-pmd"
720 # </EAL>
721 # SharedMemObj "dpdk_collectd_stats_0"
722 # EnabledPortMask 0xffff
723 # PortName "interface1"
724 # PortName "interface2"
725 #</Plugin>
726
727 #<Plugin dpdk_telemetry>
728 # ClientSocketPath "/var/run/.client"
729 # DpdkSocketPath "/var/run/dpdk/rte/telemetry"
730 #</Plugin>
731
732 #<Plugin email>
733 # SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
734 # SocketGroup "collectd"
735 # SocketPerms "0770"
736 # MaxConns 5
737 #</Plugin>
738
739 #<Plugin ethstat>
740 # Interface "eth0"
741 # Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
742 # Map "multicast" "if_multicast"
743 # MappedOnly false
744 #</Plugin>
745
746 #<Plugin exec>
747 # Exec "user:group" "/path/to/exec"
748 # NotificationExec "user:group" "/path/to/exec"
749 #</Plugin>
750
751 #<Plugin fhcount>
752 # ValuesAbsolute true
753 # ValuesPercentage false
754 #</Plugin>
755
756 #<Plugin filecount>
757 # <Directory "/path/to/dir">
758 # #Plugin "foo"
759 # Instance "foodir"
760 # Name "*.conf"
761 # MTime "-5m"
762 # Size "+10k"
763 # Recursive true
764 # IncludeHidden false
765 # RegularOnly true
766 # #FilesSizeType "bytes"
767 # #FilesCountType "files"
768 # #TypeInstance "instance"
769 # </Directory>
770 #</Plugin>
771
772 #<Plugin gmond>
773 # MCReceiveFrom "239.2.11.71" "8649"
774 # <Metric "swap_total">
775 # Type "swap"
776 # TypeInstance "total"
777 # DataSource "value"
778 # </Metric>
779 # <Metric "swap_free">
780 # Type "swap"
781 # TypeInstance "free"
782 # DataSource "value"
783 # </Metric>
784 #</Plugin>
785
786 #<Plugin gps>
787 # Host "127.0.0.1"
788 # Port "2947"
789 # Timeout 0.015
790 # PauseConnect 5
791 #</Plugin>
792
793 #<Plugin gpu_nvidia>
794 # GPUIndex 0
795 # GPUIndex 2
796 # IgnoreSelected false
797 # InstanceByGPUIndex true
798 # InstanceByGPUName true
799 #</Plugin>
800
801 #<Plugin grpc>
802 # <Server "example.com" "50051">
803 # EnableSSL true
804 # SSLCACertificateFile "/path/to/root.pem"
805 # SSLCertificateFile "/path/to/server.pem"
806 # SSLCertificateKeyFile "/path/to/server.key"
807 # </Server>
808 # <Listen "0.0.0.0" "50051">
809 # EnableSSL true
810 # SSLCACertificateFile "/path/to/root.pem"
811 # SSLCertificateFile "/path/to/client.pem"
812 # SSLCertificateKeyFile "/path/to/client.key"
813 # VerifyPeer true
814 # </Listen>
815 #</Plugin>
816
817 #<Plugin hddtemp>
818 # Host "127.0.0.1"
819 # Port "7634"
820 #</Plugin>
821
822 #<Plugin hugepages>
823 # ReportPerNodeHP true
824 # ReportRootHP true
825 # ValuesPages true
826 # ValuesBytes false
827 # ValuesPercentage false
828 #</Plugin>
829
830 #<Plugin intel_pmu>
831 # ReportHardwareCacheEvents true
832 # ReportKernelPMUEvents true
833 # ReportSoftwareEvents true
834 # EventList "/var/cache/pmu/GenuineIntel-6-2D-core.json"
835 # HardwareEvents "L2_RQSTS.CODE_RD_HIT,L2_RQSTS.CODE_RD_MISS" "L2_RQSTS.ALL_CODE_RD"
836 # Cores "[0-3]"
837 # DispatchMultiPmu false
838 #</Plugin>
839
840 #<Plugin "intel_rdt">
841 # Cores "0-2"
842 # Processes "sshd"
843 #</Plugin>
844
845 #<Plugin interface>
846 # Interface "eth0"
847 # IgnoreSelected false
848 # ReportInactive true
849 # UniqueName false
850 #</Plugin>
851
852 #<Plugin ipmi>
853 # <Instance "local">
854 # Sensor "some_sensor"
855 # Sensor "another_one"
856 # IgnoreSelected false
857 # NotifySensorAdd false
858 # NotifySensorRemove true
859 # NotifySensorNotPresent false
860 # NotifyIPMIConnectionState false
861 # SELEnabled false
862 # SELSensor "some_sensor"
863 # SELSensor "another_one"
864 # SELIgnoreSelected false
865 # SELClearEvent false
866 # </Instance>
867 # <Instance "remote">
868 # Host "server.example.com"
869 # Address "1.2.3.4"
870 # Username "user"
871 # Password "secret"
872 # #AuthType "md5"
873 # Sensor "some_sensor"
874 # Sensor "another_one"
875 # IgnoreSelected false
876 # NotifySensorAdd false
877 # NotifySensorRemove true
878 # NotifySensorNotPresent false
879 # NotifyIPMIConnectionState false
880 # SELEnabled false
881 # SELSensor "some_sensor"
882 # SELSensor "another_one"
883 # SELIgnoreSelected false
884 # SELClearEvent false
885 # </Instance>
886 #</Plugin>
887
888 #<Plugin iptables>
889 # Chain table chain
890 # Chain6 table chain
891 #</Plugin>
892
893 #<Plugin irq>
894 # Irq 7
895 # Irq 8
896 # Irq 9
897 # IgnoreSelected true
898 #</Plugin>
899
900 #<Plugin java>
901 # JVMArg "-verbose:jni"
902 # JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
903 #
904 # LoadPlugin "org.collectd.java.Foobar"
905 # <Plugin "org.collectd.java.Foobar">
906 # # To be parsed by the plugin
907 # </Plugin>
908 #</Plugin>
909
910 #<Plugin load>
911 # ReportRelative true
912 #</Plugin>
913
914 #<Plugin lpar>
915 # CpuPoolStats false
916 # ReportBySerial false
917 #</Plugin>
918
919 #<Plugin logparser>
920 # <Logfile "/var/log/syslog">
921 # FirstFullRead false
922 # <Message "pcie_errors">
923 # DefaultType "pcie_error"
924 # DefaultSeverity "warning"
925 # <Match "aer error">
926 # Regex "AER:.*error received"
927 # SubmatchIdx -1
928 # </Match>
929 # <Match "incident time">
930 # Regex "(... .. ..:..:..) .* pcieport.*AER"
931 # SubmatchIdx 1
932 # IsMandatory false
933 # </Match>
934 # <Match "root port">
935 # Regex "pcieport (.*): AER:"
936 # SubmatchIdx 1
937 # IsMandatory true
938 # </Match>
939 # <Match "device">
940 # PluginInstance true
941 # Regex " ([0-9a-fA-F:\\.]*): PCIe Bus Error"
942 # SubmatchIdx 1
943 # IsMandatory false
944 # </Match>
945 # <Match "severity_mandatory">
946 # Regex "severity="
947 # SubMatchIdx -1
948 # </Match>
949 # <Match "nonfatal">
950 # Regex "severity=.*\\([nN]on-[fF]atal"
951 # TypeInstance "non_fatal"
952 # IsMandatory false
953 # </Match>
954 # <Match "fatal">
955 # Regex "severity=.*\\([fF]atal"
956 # Severity "failure"
957 # TypeInstance "fatal"
958 # IsMandatory false
959 # </Match>
960 # <Match "corrected">
961 # Regex "severity=Corrected"
962 # TypeInstance "correctable"
963 # IsMandatory false
964 # </Match>
965 # <Match "error type">
966 # Regex "type=(.*),"
967 # SubmatchIdx 1
968 # IsMandatory false
969 # </Match>
970 # <Match "id">
971 # Regex ", id=(.*)"
972 # SubmatchIdx 1
973 # </Match>
974 # </Message>
975 # </Logfile>
976 #</Plugin>
977
978 #<Plugin lua>
979 # BasePath "@prefix@/share/@PACKAGE_NAME@/lua"
980 # Script "script1.lua"
981 # Script "script2.lua"
982 #</Plugin>
983
984 #<Plugin madwifi>
985 # Interface "wlan0"
986 # IgnoreSelected false
987 # Source "SysFS"
988 # WatchSet "None"
989 # WatchAdd "node_octets"
990 # WatchAdd "node_rssi"
991 # WatchAdd "is_rx_acl"
992 # WatchAdd "is_scan_active"
993 #</Plugin>
994
995 #<Plugin mbmon>
996 # Host "127.0.0.1"
997 # Port "411"
998 #</Plugin>
999
1000 #<Plugin mcelog>
1001 # <Memory>
1002 # McelogClientSocket "/var/run/mcelog-client"
1003 # PersistentNotification false
1004 # </Memory>
1005 # McelogLogfile "/var/log/mcelog"
1006 #</Plugin>
1007
1008 #<Plugin md>
1009 # Device "/dev/md0"
1010 # IgnoreSelected false
1011 #</Plugin>
1012
1013 #<Plugin mdevents>
1014 # Event ""
1015 # IgnoreEvent False
1016 # Array ""
1017 # IgnoreArray False
1018 #</Plugin>
1019
1020 #<Plugin memcachec>
1021 # <Page "plugin_instance">
1022 # Server "localhost"
1023 # Key "page_key"
1024 # <Match>
1025 # Regex "(\\d+) bytes sent"
1026 # ExcludeRegex "<lines to be excluded>"
1027 # DSType CounterAdd
1028 # Type "ipt_octets"
1029 # Instance "type_instance"
1030 # </Match>
1031 # </Page>
1032 #</Plugin>
1033
1034 #<Plugin memcached>
1035 # <Instance "local">
1036 # #Host "memcache.example.com"
1037 # Address "127.0.0.1"
1038 # Port "11211"
1039 # </Instance>
1040 #</Plugin>
1041
1042 #<Plugin memory>
1043 # ValuesAbsolute true
1044 # ValuesPercentage false
1045 #</Plugin>
1046
1047 #<Plugin modbus>
1048 # <Data "data_name">
1049 # RegisterBase 1234
1050 # RegisterCmd ReadHolding
1051 # RegisterType float
1052 # Type gauge
1053 # Instance "..."
1054 # #Scale 1.0
1055 # #Shift 0.0
1056 # </Data>
1057 #
1058 # <Host "name">
1059 # Address "addr"
1060 # Port "1234"
1061 # Interval 60
1062 #
1063 # <Slave 1>
1064 # Instance "foobar" # optional
1065 # Collect "data_name"
1066 # </Slave>
1067 # </Host>
1068 #</Plugin>
1069
1070 #<Plugin mqtt>
1071 # <Publish "name">
1072 # Host "localhost"
1073 # Port 1883
1074 # ClientId "localhost"
1075 # User "user"
1076 # Password "secret"
1077 # QoS 0
1078 # Prefix "collectd"
1079 # StoreRates true
1080 # Retain false
1081 # CACert "/etc/ssl/ca.crt"
1082 # CertificateFile "/etc/ssl/client.crt"
1083 # CertificateKeyFile "/etc/ssl/client.pem"
1084 # TLSProtocol "tlsv1.2"
1085 # CipherSuite "ciphers"
1086 # </Publish>
1087 # <Subscribe "name">
1088 # Host "localhost"
1089 # Port 1883
1090 # ClientId "localhost"
1091 # User "user"
1092 # Password "secret"
1093 # QoS 2
1094 # Topic "collectd/#"
1095 # CleanSession true
1096 # CACert "/etc/ssl/ca.crt"
1097 # CertificateFile "/etc/ssl/client.crt"
1098 # CertificateKeyFile "/etc/ssl/client.pem"
1099 # TLSProtocol "tlsv1.2"
1100 # CipherSuite "ciphers"
1101 # </Subscribe>
1102 #</Plugin>
1103
1104 #<Plugin mysql>
1105 # <Database db_name>
1106 # Host "database.serv.er"
1107 # User "db_user"
1108 # Password "secret"
1109 # Database "db_name"
1110 # SSLKey "/path/to/key.pem"
1111 # SSLCert "/path/to/cert.pem"
1112 # SSLCA "/path/to/ca.pem"
1113 # SSLCAPath "/path/to/cas/"
1114 # SSLCipher "DHE-RSA-AES256-SHA"
1115 # MasterStats true
1116 # ConnectTimeout 10
1117 # InnodbStats true
1118 # </Database>
1119 #
1120 # <Database db_name2>
1121 # Alias "squeeze"
1122 # Host "localhost"
1123 # Socket "/var/run/mysql/mysqld.sock"
1124 # SlaveStats true
1125 # SlaveNotifications true
1126 # </Database>
1127 # <Database galera>
1128 # Alias "galera"
1129 # Host "localhost"
1130 # Socket "/var/run/mysql/mysqld.sock"
1131 # WsrepStats true
1132 # </Database>
1133 #</Plugin>
1134
1135 #<Plugin netapp>
1136 # <Host "netapp1.example.com">
1137 # Protocol "https"
1138 # Address "10.0.0.1"
1139 # Port 443
1140 # User "username"
1141 # Password "aef4Aebe"
1142 # Interval 30
1143 #
1144 # <WAFL>
1145 # Interval 30
1146 # GetNameCache true
1147 # GetDirCache true
1148 # GetBufferCache true
1149 # GetInodeCache true
1150 # </WAFL>
1151 #
1152 # <Disks>
1153 # Interval 30
1154 # GetBusy true
1155 # </Disks>
1156 #
1157 # <VolumePerf>
1158 # Interval 30
1159 # GetIO "volume0"
1160 # IgnoreSelectedIO false
1161 # GetOps "volume0"
1162 # IgnoreSelectedOps false
1163 # GetLatency "volume0"
1164 # IgnoreSelectedLatency false
1165 # </VolumePerf>
1166 #
1167 # <VolumeUsage>
1168 # Interval 30
1169 # GetCapacity "vol0"
1170 # GetCapacity "vol1"
1171 # IgnoreSelectedCapacity false
1172 # GetSnapshot "vol1"
1173 # GetSnapshot "vol3"
1174 # IgnoreSelectedSnapshot false
1175 # </VolumeUsage>
1176 #
1177 # <System>
1178 # Interval 30
1179 # GetCPULoad true
1180 # GetInterfaces true
1181 # GetDiskOps true
1182 # GetDiskIO true
1183 # </System>
1184 # </Host>
1185 #</Plugin>
1186
1187 #<Plugin netlink>
1188 # Interface "All"
1189 # VerboseInterface "All"
1190 # QDisc "eth0" "pfifo_fast-1:0"
1191 # Class "ppp0" "htb-1:10"
1192 # Filter "ppp0" "u32-1:0"
1193 # IgnoreSelected false
1194 # CollectVFStats false
1195 #</Plugin>
1196
1197 @LOAD_PLUGIN_NETWORK@<Plugin network>
1198 # # client setup:
1199 @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826"
1200 @LOAD_PLUGIN_NETWORK@ <Server "239.192.74.66" "25826">
1201 # SecurityLevel Encrypt
1202 # Username "user"
1203 # Password "secret"
1204 # Interface "eth0"
1205 # ResolveInterval 14400
1206 @LOAD_PLUGIN_NETWORK@ </Server>
1207 # TimeToLive 128
1208 #
1209 # # server setup:
1210 # Listen "ff18::efc0:4a42" "25826"
1211 # <Listen "239.192.74.66" "25826">
1212 # SecurityLevel Sign
1213 # AuthFile "/etc/collectd/passwd"
1214 # Interface "eth0"
1215 # </Listen>
1216 # MaxPacketSize 1452
1217 #
1218 # # proxy setup (client and server as above):
1219 # Forward true
1220 #
1221 # # statistics about the network plugin itself
1222 # ReportStats false
1223 #
1224 # # "garbage collection"
1225 # CacheFlush 1800
1226 @LOAD_PLUGIN_NETWORK@</Plugin>
1227
1228 #<Plugin nfs>
1229 # ReportV2 false
1230 # #ReportV3 false
1231 # #ReportV4 false
1232 #</Plugin>
1233
1234 #<Plugin nginx>
1235 # URL "http://localhost/status?auto"
1236 # User "www-user"
1237 # Password "secret"
1238 # CACert "/etc/ssl/ca.crt"
1239 #</Plugin>
1240
1241 #<Plugin notify_desktop>
1242 # OkayTimeout 1000
1243 # WarningTimeout 5000
1244 # FailureTimeout 0
1245 #</Plugin>
1246
1247 #<Plugin notify_email>
1248 # SMTPServer "localhost"
1249 # SMTPPort 25
1250 # SMTPUser "my-username"
1251 # SMTPPassword "my-password"
1252 # From "[email protected]"
1253 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
1254 # Subject "Aaaaaa!! %s on %s!!!!!"
1255 # Recipient "[email protected]"
1256 # Recipient "[email protected]"
1257 #</Plugin>
1258
1259 #<Plugin notify_nagios>
1260 # CommandFile "/usr/local/nagios/var/rw/nagios.cmd"
1261 #</Plugin>
1262
1263 #<Plugin ntpd>
1264 # Host "localhost"
1265 # Port 123
1266 # ReverseLookups false
1267 # IncludeUnitID true
1268 #</Plugin>
1269
1270 #<Plugin nut>
1271 # UPS "upsname@hostname:port"
1272 # ForceSSL true
1273 # VerifyPeer true
1274 # CAPath "/path/to/folder"
1275 # #ConnectTimeout 5000
1276 #</Plugin>
1277
1278 #<Plugin olsrd>
1279 # Host "127.0.0.1"
1280 # Port "2006"
1281 # CollectLinks "Summary"
1282 # CollectRoutes "Summary"
1283 # CollectTopology "Summary"
1284 #</Plugin>
1285
1286 #<Plugin onewire>
1287 # Device "-s localhost:4304"
1288 # Sensor "F10FCA000800"
1289 # IgnoreSelected false
1290 #</Plugin>
1291
1292 #<Plugin openldap>
1293 # <Instance "localhost">
1294 # URL "ldap://localhost:389"
1295 # StartTLS false
1296 # VerifyHost true
1297 # CACert "/path/to/ca.crt"
1298 # Timeout -1
1299 # Version 3
1300 # </Instance>
1301 #</Plugin>
1302
1303 #<Plugin openvpn>
1304 # StatusFile "/etc/openvpn/openvpn-status.log"
1305 # ImprovedNamingSchema false
1306 # CollectCompression true
1307 # CollectIndividualUsers true
1308 # CollectUserCount false
1309 #</Plugin>
1310
1311 #<Plugin oracle>
1312 # <Query "out_of_stock">
1313 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
1314 # <Result>
1315 # Type "gauge"
1316 # InstancesFrom "category"
1317 # ValuesFrom "value"
1318 # </Result>
1319 # </Query>
1320 # <Database "product_information">
1321 # #Plugin "warehouse"
1322 # ConnectID "db01"
1323 # Username "oracle"
1324 # Password "secret"
1325 # Query "out_of_stock"
1326 # </Database>
1327 #</Plugin>
1328
1329 #<Plugin ovs_events>
1330 # Port "6640"
1331 # Address "127.0.0.1"
1332 # Socket "/var/run/openvswitch/db.sock"
1333 # Interfaces "br0" "veth0"
1334 # SendNotification true
1335 # DispatchValues false
1336 #</Plugin>
1337
1338 #<Plugin ovs_stats>
1339 # Port "6640"
1340 # Address "127.0.0.1"
1341 # Socket "/var/run/openvswitch/db.sock"
1342 # Bridges "br0" "br_ext"
1343 #</Plugin>
1344
1345 #<Plugin pcie_errors>
1346 # Source "sysfs"
1347 # ReportMasked false
1348 # PersistentNotifications false
1349 #</Plugin>
1350
1351 #<Plugin perl>
1352 # IncludeDir "/my/include/path"
1353 # BaseName "Collectd::Plugins"
1354 # EnableDebugger ""
1355 # LoadPlugin Monitorus
1356 # LoadPlugin OpenVZ
1357 #
1358 # <Plugin foo>
1359 # Foo "Bar"
1360 # Qux "Baz"
1361 # </Plugin>
1362 #</Plugin>
1363
1364 #<Plugin pinba>
1365 # Address "::0"
1366 # Port "30002"
1367 # <View "name">
1368 # Host "host name"
1369 # Server "server name"
1370 # Script "script name"
1371 # </View>
1372 #</Plugin>
1373
1374 #<Plugin ping>
1375 # Host "host.foo.bar"
1376 # Interval 1.0
1377 # Timeout 0.9
1378 # TTL 255
1379 # SourceAddress "1.2.3.4"
1380 # AddressFamily "any"
1381 # Device "eth0"
1382 # MaxMissed -1
1383 #</Plugin>
1384
1385 #<Plugin postgresql>
1386 # <Query magic>
1387 # Statement "SELECT magic FROM wizard WHERE host = $1;"
1388 # Param hostname
1389 # <Result>
1390 # Type gauge
1391 # InstancePrefix "magic"
1392 # ValuesFrom magic
1393 # </Result>
1394 # </Query>
1395 # <Query rt36_tickets>
1396 # Statement "SELECT COUNT(type) AS count, type \
1397 # FROM (SELECT CASE \
1398 # WHEN resolved = 'epoch' THEN 'open' \
1399 # ELSE 'resolved' END AS type \
1400 # FROM tickets) type \
1401 # GROUP BY type;"
1402 # <Result>
1403 # Type counter
1404 # InstancePrefix "rt36_tickets"
1405 # InstancesFrom "type"
1406 # ValuesFrom "count"
1407 # </Result>
1408 # </Query>
1409 # <Writer sqlstore>
1410 # # See contrib/postgresql/collectd_insert.sql for details
1411 # Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
1412 # StoreRates true
1413 # </Writer>
1414 # <Database foo>
1415 # #Plugin "kingdom"
1416 # Host "hostname"
1417 # Port "5432"
1418 # User "username"
1419 # Password "secret"
1420 # SSLMode "prefer"
1421 # KRBSrvName "kerberos_service_name"
1422 # Query magic
1423 # </Database>
1424 # <Database bar>
1425 # Interval 60
1426 # Service "service_name"
1427 # Query backends # predefined
1428 # Query rt36_tickets
1429 # </Database>
1430 # <Database qux>
1431 # Service "collectd_store"
1432 # Writer sqlstore
1433 # # see collectd.conf(5) for details
1434 # CommitInterval 30
1435 # </Database>
1436 #</Plugin>
1437
1438 #<Plugin powerdns>
1439 # <Server "server_name">
1440 # Collect "latency"
1441 # Collect "udp-answers" "udp-queries"
1442 # Socket "/var/run/pdns.controlsocket"
1443 # </Server>
1444 # <Recursor "recursor_name">
1445 # Collect "questions"
1446 # Collect "cache-hits" "cache-misses"
1447 # Socket "/var/run/pdns_recursor.controlsocket"
1448 # </Recursor>
1449 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
1450 #</Plugin>
1451
1452 #<Plugin processes>
1453 # CollectFileDescriptor true
1454 # CollectContextSwitch true
1455 # CollectMemoryMaps true
1456 # CollectDelayAccounting false
1457 # Process "name"
1458 # ProcessMatch "name" "regex"
1459 # <Process "collectd">
1460 # CollectFileDescriptor false
1461 # CollectContextSwitch false
1462 # CollectDelayAccounting true
1463 # </Process>
1464 # <ProcessMatch "name" "regex">
1465 # CollectFileDescriptor false
1466 # CollectContextSwitch true
1467 # </Process>
1468 #</Plugin>
1469
1470 #<Plugin "procevent">
1471 # BufferLength 10
1472 # ProcessRegex "/^ovs.*$/"
1473 # Process tuned
1474 #</Plugin>
1475
1476 #<Plugin protocols>
1477 # Value "/^Tcp:/"
1478 # IgnoreSelected false
1479 #</Plugin>
1480
1481 #<Plugin python>
1482 # ModulePath "/path/to/your/python/modules"
1483 # LogTraces true
1484 # Interactive true
1485 # Import "spam"
1486 #
1487 # <Module spam>
1488 # spam "wonderful" "lovely"
1489 # </Module>
1490 #</Plugin>
1491
1492 #<Plugin redis>
1493 # <Node example>
1494 # Host "redis.example.com"
1495 # Port "6379"
1496 # #Socket "/var/run/redis/redis.sock"
1497 # Timeout 2000
1498 # <Query "LLEN myqueue">
1499 # #Database 0
1500 # Type "queue_length"
1501 # Instance "myqueue"
1502 # <Query>
1503 # </Node>
1504 #</Plugin>
1505
1506 #<Plugin redfish>
1507 # <Query "fans">
1508 # Endpoint "/redfish/v1/Chassis/Chassis-1/Thermal"
1509 # <Resource "Fans">
1510 # <Property "ReadingRPM">
1511 # PluginInstance "chassis-1"
1512 # Type "rpm"
1513 # </Property>
1514 # </Resource>
1515 # </Query>
1516 # <Query "temperatures">
1517 # Endpoint "/redfish/v1/Chassis/Chassis-1/Thermal"
1518 # <Resource "Temperatures">
1519 # <Property "ReadingCelsius">
1520 # PluginInstance "chassis-1"
1521 # Type "degrees"
1522 # </Property>
1523 # </Resource>
1524 # </Query>
1525 # <Query "voltages">
1526 # Endpoint "/redfish/v1/Chassis/Chassis-1/Power"
1527 # <Resource "Voltages">
1528 # <Property "ReadingVolts">
1529 # PluginInstance "chassis-1"
1530 # Type "volts"
1531 # </Property>
1532 # </Resource>
1533 # </Query>
1534 # <Service "local">
1535 # Host "127.0.0.1:5000"
1536 # User "user"
1537 # Passwd "passwd"
1538 # Queries "fans" "voltages" "temperatures"
1539 # </Service>
1540 #</Plugin>
1541 #
1542
1543 #<Plugin routeros>
1544 # <Router>
1545 # Host "router.example.com"
1546 # Port "8728"
1547 # User "admin"
1548 # Password "dozaiTh4"
1549 # CollectInterface true
1550 # CollectRegistrationTable true
1551 # CollectCPULoad true
1552 # CollectMemory true
1553 # CollectDF true
1554 # CollectDisk true
1555 # CollectHealth true
1556 # </Router>
1557 #</Plugin>
1558
1559 #<Plugin rrdcached>
1560 # DaemonAddress "unix:/tmp/rrdcached.sock"
1561 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1562 # CreateFiles true
1563 # CreateFilesAsync false
1564 # CollectStatistics true
1565 #</Plugin>
1566
1567 #<Plugin rrdtool>
1568 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1569 # CreateFilesAsync false
1570 # CacheTimeout 120
1571 # CacheFlush 900
1572 # WritesPerSecond 50
1573 #</Plugin>
1574
1575 #<Plugin sensors>
1576 # SensorConfigFile "/etc/sensors.conf"
1577 # Sensor "it8712-isa-0290/temperature-temp1"
1578 # Sensor "it8712-isa-0290/fanspeed-fan3"
1579 # Sensor "it8712-isa-0290/voltage-in8"
1580 # IgnoreSelected false
1581 #</Plugin>
1582
1583 #<Plugin sigrok>
1584 # LogLevel 3
1585 # <Device "AC Voltage">
1586 # Driver "fluke-dmm"
1587 # MinimumInterval 10
1588 # Conn "/dev/ttyUSB2"
1589 # </Device>
1590 # <Device "Sound Level">
1591 # Driver "cem-dt-885x"
1592 # Conn "/dev/ttyUSB1"
1593 # </Device>
1594 #</Plugin>
1595
1596 #<Plugin smart>
1597 # Disk "/^[hs]d[a-f][0-9]?$/"
1598 # IgnoreSelected false
1599 #</Plugin>
1600
1601 #<Plugin snmp>
1602 # <Data "powerplus_voltge_input">
1603 # Table false
1604 # Type "voltage"
1605 # TypeInstance "input_line1"
1606 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
1607 # </Data>
1608 # <Data "hr_users">
1609 # Table false
1610 # Type "users"
1611 # TypeInstance ""
1612 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
1613 # </Data>
1614 # <Data "std_traffic">
1615 # Table true
1616 # Type "if_octets"
1617 # TypeInstanceOID "IF-MIB::ifDescr"
1618 # #TypeInstancePrefix "port"
1619 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1620 # #FilterOID "IF-MIB::ifOperStatus"
1621 # #FilterValues "1", "2"
1622 # </Data>
1623 # <Data "interface_traffic">
1624 # Table true
1625 # Type "if_octets"
1626 # Plugin "interface"
1627 # PluginInstanceOID "IF-MIB::ifDescr"
1628 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1629 # </Data>
1630 # <Data "lancom_stations_total">
1631 # Type "counter"
1632 # PluginInstance "stations_total"
1633 # Table true
1634 # Count true
1635 # Values "SNMPv2-SMI::enterprises.2356.11.1.3.32.1.10" # SNMPv2-SMI::enterprises.lancom-systems.lcos.lcsStatus.lcsStatusWlan.lcsStatusWlanStationTableTable.lcsStatusWlanStationTableEntry.lcsStatusWlanStationTableEntryState
1636 # </Data>
1637 # <Data "lancom_stations_connected">
1638 # Type "counter"
1639 # PluginInstance "stations_connected"
1640 # Table true
1641 # Count true
1642 # Values "SNMPv2-SMI::enterprises.2356.11.1.3.32.1.10" # SNMPv2-SMI::enterprises.lancom-systems.lcos.lcsStatus.lcsStatusWlan.lcsStatusWlanStationTableTable.lcsStatusWlanStationTableEntry.lcsStatusWlanStationTableEntryState
1643 # FilterOID "SNMPv2-SMI::enterprises.2356.11.1.3.32.1.10"
1644 # FilterValues "3" # eConnected
1645 # </Data>
1646 #
1647 # <Host "some.switch.mydomain.org">
1648 # Address "192.168.0.2"
1649 # Version 1
1650 # Community "community_string"
1651 # Collect "std_traffic"
1652 # Interval 120
1653 # Timeout 10
1654 # Retries 1
1655 # </Host>
1656 # <Host "some.server.mydomain.org">
1657 # Address "192.168.0.42"
1658 # Version 2
1659 # Community "another_string"
1660 # Collect "std_traffic" "hr_users"
1661 # BulkSize 0
1662 # </Host>
1663 # <Host "some.ups.mydomain.org">
1664 # Address "192.168.0.3"
1665 # Version 1
1666 # Community "more_communities"
1667 # Collect "powerplus_voltge_input"
1668 # Interval 300
1669 # Timeout 5
1670 # Retries 5
1671 # </Host>
1672 # <Host "highend.switch.example.org">
1673 # Address "192.168.0.3"
1674 # Version 2
1675 # Community "another_string"
1676 # Collect "std_traffic"
1677 # Interval 10
1678 # Timeout 10
1679 # BulkSize 100
1680 # </Host>
1681 #</Plugin>
1682
1683 #<Plugin snmp_agent>
1684 # <Data "memAvailReal">
1685 # Plugin "memory"
1686 # Type "memory"
1687 # TypeInstance "free"
1688 # OIDs "1.3.6.1.4.1.2021.4.6.0"
1689 # </Data>
1690 # <Table "ifTable">
1691 # IndexOID "IF-MIB::ifIndex"
1692 # SizeOID "IF-MIB::ifNumber"
1693 # <Data "ifDescr">
1694 # <IndexKey>
1695 # Source "PluginInstance"
1696 # </IndexKey>
1697 # Plugin "interface"
1698 # OIDs "IF-MIB::ifDescr"
1699 # </Data>
1700 # <Data "ifOctets">
1701 # Plugin "interface"
1702 # Type "if_octets"
1703 # TypeInstance ""
1704 # OIDs "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1705 # </Data>
1706 # </Table>
1707 #</Plugin>
1708
1709 #<Plugin statsd>
1710 # Host "::"
1711 # Port "8125"
1712 # DeleteCounters false
1713 # DeleteTimers false
1714 # DeleteGauges false
1715 # DeleteSets false
1716 # CounterSum false
1717 # TimerPercentile 90.0
1718 # TimerPercentile 95.0
1719 # TimerPercentile 99.0
1720 # TimerLower false
1721 # TimerUpper false
1722 # TimerSum false
1723 # TimerCount false
1724 #</Plugin>
1725
1726 #<Plugin swap>
1727 # ReportByDevice false
1728 # ReportBytes true
1729 # ValuesAbsolute true
1730 # ValuesPercentage false
1731 # ReportIO true
1732 #</Plugin>
1733
1734 #<Plugin sysevent>
1735 # Listen "127.0.0.1" "6666"
1736 # BufferSize 1024
1737 # BufferLength 10
1738 # RegexFilter "regex"
1739 #</Plugin>
1740
1741 #<Plugin table>
1742 # <Table "/proc/slabinfo">
1743 # #Plugin "table"
1744 # Instance "slabinfo"
1745 # Separator " "
1746 # <Result>
1747 # Type gauge
1748 # InstancePrefix "active_objs"
1749 # InstancesFrom 0
1750 # ValuesFrom 1
1751 # </Result>
1752 # <Result>
1753 # Type gauge
1754 # InstancePrefix "objperslab"
1755 # InstancesFrom 0
1756 # ValuesFrom 4
1757 # </Result>
1758 # </Table>
1759 #</Plugin>
1760
1761 #<Plugin tail>
1762 # <File "/var/log/exim4/mainlog">
1763 # Instance "exim"
1764 # Interval 60
1765 # <Match>
1766 # Regex "S=([1-9][0-9]*)"
1767 # DSType "CounterAdd"
1768 # Type "ipt_bytes"
1769 # Instance "total"
1770 # </Match>
1771 # <Match>
1772 # Regex "\\<R=local_user\\>"
1773 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1774 # DSType "CounterInc"
1775 # Type "counter"
1776 # Instance "local_user"
1777 # </Match>
1778 # </File>
1779 # <File "/var/log/nginx/apache-time.log">
1780 # #Use the following log format in nginx:
1781 # #log_format response_time '[$host] "$upstream_response_time" ...'
1782 # Instance "apache"
1783 # <Match>
1784 # Regex "^\\S+ \"([0-9.]+)\""
1785 # <DSType Distribution>
1786 # Percentile 80 # -> latency-foo-80
1787 # Percentile 95 # -> latency-foo-95
1788 # Percentile 99 # -> latency-foo-99
1789 # Bucket 0 0.1 # -> bucket-latency-foo-0_0.1
1790 # Bucket 0.1 0.2 # -> bucket-latency-foo-0.1_0.2
1791 # Bucket 0.2 0.5 # -> bucket-latency-foo-0.2_0.5
1792 # Bucket 0.5 1.0 # -> bucket-latency-foo-0.5_1
1793 # Bucket 1.0 2.0 # -> bucket-latency-foo-1_2
1794 # Bucket 2.0 0 # -> bucket-latency-foo-2_inf
1795 # #BucketType "bucket"
1796 # </DSType>
1797 # Type "latency"
1798 # Instance "foo"
1799 # </Match>
1800 # </File>
1801 #</Plugin>
1802
1803 #<Plugin tail_csv>
1804 # <Metric "dropped">
1805 # Type "percent"
1806 # Instance "dropped"
1807 # ValueFrom 1
1808 # </Metric>
1809 # <Metric "mbps">
1810 # Type "bytes"
1811 # Instance "wire-realtime"
1812 # ValueFrom 2
1813 # </Metric>
1814 # <Metric "alerts">
1815 # Type "alerts_per_second"
1816 # ValueFrom 3
1817 # </Metric>
1818 # <Metric "kpps">
1819 # Type "kpackets_wire_per_sec.realtime"
1820 # ValueFrom 4
1821 # </Metric>
1822 # <File "/var/log/snort/snort.stats">
1823 # Instance "snort-eth0"
1824 # Interval 600
1825 # Collect "dropped" "mbps" "alerts" "kpps"
1826 # TimeFrom 0
1827 # </File>
1828 #</Plugin>
1829
1830 #<Plugin tcpconns>
1831 # ListeningPorts false
1832 # AllPortsSummary false
1833 # LocalPort "25"
1834 # RemotePort "25"
1835 #</Plugin>
1836
1837 #<Plugin teamspeak2>
1838 # Host "127.0.0.1"
1839 # Port "51234"
1840 # Server "8767"
1841 #</Plugin>
1842
1843 #<Plugin ted>
1844 # Device "/dev/ttyUSB0"
1845 # Retries 0
1846 #</Plugin>
1847
1848 #<Plugin thermal>
1849 # ForceUseProcfs false
1850 # Device "THRM"
1851 # IgnoreSelected false
1852 #</Plugin>
1853
1854 #<Plugin tokyotyrant>
1855 # Host "localhost"
1856 # Port "1978"
1857 #</Plugin>
1858
1859 #<Plugin turbostat>
1860 ## None of the following option should be set manually
1861 ## This plugin automatically detect most optimal options
1862 ## Only set values here if:
1863 ## - The module asks you to
1864 ## - You want to disable the collection of some data
1865 ## - Your (Intel) CPU is not supported (yet) by the module
1866 ## - The module generates a lot of errors 'MSR offset 0x... read failed'
1867 ## In the last two cases, please open a bug request
1868 #
1869 # TCCActivationTemp "100"
1870 # CoreCstates "392"
1871 # PackageCstates "396"
1872 # SystemManagementInterrupt true
1873 # DigitalTemperatureSensor true
1874 # PackageThermalManagement true
1875 # RunningAveragePowerLimit "7"
1876 #</Plugin>
1877
1878 #<Plugin ubi>
1879 # Device "ubi0"
1880 # IgnoreSelected false
1881 #</Plugin>
1882
1883 #<Plugin unixsock>
1884 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1885 # SocketGroup "collectd"
1886 # SocketPerms "0660"
1887 # DeleteSocket false
1888 #</Plugin>
1889
1890 #<Plugin uuid>
1891 # UUIDFile "/etc/uuid"
1892 #</Plugin>
1893
1894 #<Plugin mic>
1895 # ShowCPU true
1896 # ShowCPUCores true
1897 # ShowMemory true
1898 # ShowTemperatures true
1899 ## Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1900 ## then inverted with a IgnoreSelectedTemperature.
1901 ## Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1902 # Temperature vddg
1903 # IgnoreSelectedTemperature true
1904 # ShowPower true
1905 ## Power Sensors can be ignored/shown by repeated #Power lines, and
1906 ## then inverted with a IgnoreSelectedTemperature.
1907 ## Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1908 # Power total1
1909 # IgnoreSelectedPower true
1910 #</Plugin>
1911
1912 #<Plugin varnish>
1913 # This tag support an argument if you want to
1914 # monitor the local instance just use </Instance>
1915 # If you prefer defining another instance you can do
1916 # so by using <Instance "myinstance">
1917 # <Instance>
1918 # CollectBackend true
1919 # CollectBan false # Varnish 3 and above
1920 # CollectCache true
1921 # CollectConnections true
1922 # CollectDirectorDNS false # Varnish 3 only
1923 # CollectESI false
1924 # CollectFetch false
1925 # CollectHCB false
1926 # CollectObjects false
1927 # CollectPurge false # Varnish 2 only
1928 # CollectSession false
1929 # CollectSHM true
1930 # CollectSMA false # Varnish 2 & Varnish 4 and above
1931 # CollectSMS false
1932 # CollectSM false # Varnish 2 only
1933 # CollectStruct false
1934 # CollectTotals false
1935 # CollectUptime false # Varnish 3 and above
1936 # CollectVCL false
1937 # CollectVSM false # Varnish 4 only
1938 # CollectWorkers false
1939 # CollectLock false # Varnish 4 and above
1940 # CollectMempool false # Varnish 4 and above
1941 # CollectManagement false # Varnish 4 and above
1942 # CollectSMF false # Varnish 4 and above
1943 # CollectVBE false # Varnish 4 and above
1944 # CollectMSE false # Varnish-Plus only
1945 # CollectGOTO false # Varnish-Plus 6 only
1946 # </Instance>
1947 #</Plugin>
1948
1949 #<Plugin virt>
1950 # Connection "xen:///"
1951 # RefreshInterval 60
1952 # Domain "name"
1953 # ReportBlockDevices true
1954 # ReportNetworkInterfaces true
1955 # BlockDevice "name:device"
1956 # BlockDeviceFormat target
1957 # BlockDeviceFormatBasename false
1958 # InterfaceDevice "name:device"
1959 # IgnoreSelected false
1960 # HostnameFormat name
1961 # HostnameMetadataXPath "/instance/name/text()"
1962 # HostnameMetadataNS "http://openstack.org/xmlns/libvirt/nova/1.0"
1963 # InterfaceFormat name
1964 # PluginInstanceFormat name
1965 # Instances 1
1966 # ExtraStats "cpu_util disk disk_err domain_state fs_info job_stats_background pcpu perf vcpu vcpupin disk_physical disk_allocation disk_capacity memory"
1967 # PersistentNotification false
1968 #</Plugin>
1969
1970 #<Plugin vmem>
1971 # Verbose false
1972 #</Plugin>
1973
1974 #<Plugin write_graphite>
1975 # <Node "example">
1976 # Host "localhost"
1977 # Port "2003"
1978 # Protocol "tcp"
1979 # ReconnectInterval 0
1980 # LogSendErrors true
1981 # Prefix "collectd"
1982 # Postfix "collectd"
1983 # StoreRates true
1984 # AlwaysAppendDS false
1985 # EscapeCharacter "_"
1986 # SeparateInstances false
1987 # PreserveSeparator false
1988 # DropDuplicateFields false
1989 # ReverseHost false
1990 # </Node>
1991 #</Plugin>
1992
1993 #<Plugin write_http>
1994 # <Node "example">
1995 # URL "http://example.com/collectd-post"
1996 # User "collectd"
1997 # Password "weCh3ik0"
1998 # VerifyPeer true
1999 # VerifyHost true
2000 # CACert "/etc/ssl/ca.crt"
2001 # CAPath "/etc/ssl/certs/"
2002 # ClientKey "/etc/ssl/client.pem"
2003 # ClientCert "/etc/ssl/client.crt"
2004 # ClientKeyPass "secret"
2005 # Header "X-Custom-Header: custom_value"
2006 # SSLVersion "TLSv1"
2007 # Format "Command"
2008 # Prefix "collectd" # metric prefix, only available for KAIROSDB format
2009 # Attribute "key" "value" # only available for KAIROSDB format
2010 # TTL 0 # data ttl, only available for KAIROSDB format
2011 # Metrics true
2012 # Notifications false
2013 # StoreRates false
2014 # BufferSize 4096
2015 # LowSpeedLimit 0
2016 # Timeout 0
2017 # </Node>
2018 #</Plugin>
2019
2020 #<Plugin write_influxdb_udp>
2021 # Server "localhost"
2022 # StoreRates true
2023 # MaxPacketSize 32768
2024 # TimeToLive 128
2025 #</Plugin>
2026
2027 #<Plugin write_kafka>
2028 # Property "metadata.broker.list" "localhost:9092"
2029 # <Topic "collectd">
2030 # Format JSON
2031 # </Topic>
2032 #</Plugin>
2033
2034 #<Plugin write_mongodb>
2035 # <Node "example">
2036 # Host "localhost"
2037 # Port "27017"
2038 # Timeout 1000
2039 # StoreRates false
2040 # Database "auth_db"
2041 # User "auth_user"
2042 # Password "auth_passwd"
2043 # </Node>
2044 #</Plugin>
2045
2046 #<Plugin write_prometheus>
2047 # Port "9103"
2048 #</Plugin>
2049
2050 #<Plugin write_redis>
2051 # <Node "example">
2052 # Host "localhost"
2053 # Port "6379"
2054 # Timeout 1000
2055 # Prefix "collectd/"
2056 # </Node>
2057 #</Plugin>
2058
2059 #<Plugin write_riemann>
2060 # <Node "example">
2061 # Host "localhost"
2062 # Port 5555
2063 # Protocol TCP
2064 # Batch true
2065 # BatchMaxSize 8192
2066 # StoreRates true
2067 # AlwaysAppendDS false
2068 # TTLFactor 2.0
2069 # Notifications true
2070 # CheckThresholds false
2071 # EventServicePrefix ""
2072 # </Node>
2073 # Tag "foobar"
2074 # Attribute "foo" "bar"
2075 #</Plugin>
2076
2077 #<Plugin write_sensu>
2078 # <Node "example">
2079 # Host "localhost"
2080 # Port 3030
2081 # StoreRates true
2082 # AlwaysAppendDS false
2083 # IncludeSource false
2084 # Notifications true
2085 # Metrics true
2086 # EventServicePrefix ""
2087 # MetricHandler "influx"
2088 # MetricHandler "default"
2089 # NotificationHandler "flapjack"
2090 # NotificationHandler "howling_monkey"
2091 # </Node>
2092 # Tag "foobar"
2093 # Attribute "foo" "bar"
2094 #</Plugin>
2095
2096 #<Plugin write_stackdriver>
2097 # Project "stackdriver-account"
2098 # CredentialFile "/path/to/gcp-project-id-12345.json"
2099 # Email "[email protected]"
2100 # <Resource "global">
2101 # Label "project_id" "gcp-project-id"
2102 # </Resource>
2103 # Url "https://monitoring.googleapis.com/v3"
2104 #</Plugin>
2105
2106 #<Plugin write_syslog>
2107 # <Node>
2108 # Host "localhost"
2109 # Port "44514"
2110 # Prefix "collectd"
2111 # MessageFormat "human"
2112 # HostTags ""
2113 # StoreRates false
2114 # AlwaysAppendDS false
2115 # </Node>
2116 #</Plugin>
2117
2118 #<Plugin write_tsdb>
2119 # <Node>
2120 # Host "localhost"
2121 # Port "4242"
2122 # HostTags "status=production"
2123 # StoreRates false
2124 # AlwaysAppendDS false
2125 # </Node>
2126 #</Plugin>
2127
2128 #<Plugin zookeeper>
2129 # Host "localhost"
2130 # Port "2181"
2131 #</Plugin>
2132
2133 ##############################################################################
2134 # Filter configuration #
2135 #----------------------------------------------------------------------------#
2136 # The following configures collectd's filtering mechanism. Before changing #
2137 # anything in this section, please read the `FILTER CONFIGURATION' section #
2138 # in the collectd.conf(5) manual page. #
2139 ##############################################################################
2140
2141 # Load required matches:
2142 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
2143 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
2144 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
2145 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
2146 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
2147
2148 # Load required targets:
2149 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
2150 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
2151 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
2152 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
2153 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
2154
2155 #----------------------------------------------------------------------------#
2156 # The following block demonstrates the default behavior if no filtering is #
2157 # configured at all: All values will be sent to all available write plugins. #
2158 #----------------------------------------------------------------------------#
2159
2160 #<Chain "PostCache">
2161 # Target "write"
2162 #</Chain>
2163
2164 ##############################################################################
2165 # Threshold configuration #
2166 #----------------------------------------------------------------------------#
2167 # The following outlines how to configure collectd's threshold checking #
2168 # plugin. The plugin and possible configuration options are documented in #
2169 # the collectd-threshold(5) manual page. #
2170 ##############################################################################
2171
2172 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
2173 #<Plugin threshold>
2174 # <Type "foo">
2175 # WarningMin 0.00
2176 # WarningMax 1000.00
2177 # FailureMin 0.00
2178 # FailureMax 1200.00
2179 # Invert false
2180 # Instance "bar"
2181 # </Type>
2182 #
2183 # <Plugin "interface">
2184 # Instance "eth0"
2185 # <Type "if_octets">
2186 # FailureMax 10000000
2187 # DataSource "rx"
2188 # </Type>
2189 # </Plugin>
2190 #
2191 # <Host "hostname">
2192 # <Type "cpu">
2193 # Instance "idle"
2194 # FailureMin 10
2195 # </Type>
2196 #
2197 # <Plugin "memory">
2198 # <Type "memory">
2199 # Instance "cached"
2200 # WarningMin 100000000
2201 # </Type>
2202 # </Plugin>
2203 #
2204 # <Type "load">
2205 # DataSource "midterm"
2206 # FailureMax 4
2207 # Hits 3
2208 # Hysteresis 3
2209 # </Type>
2210 # </Host>
2211 #</Plugin>