Update for 2016.11-rc3
[buildroot-gz.git] / package / collectd / Config.in
blob6405af6a892393a9810135099951a3aa86de0921
1 menuconfig BR2_PACKAGE_COLLECTD
2         bool "collectd"
3         # Uses fork()
4         depends on BR2_USE_MMU
5         depends on BR2_TOOLCHAIN_HAS_THREADS
6         depends on !BR2_STATIC_LIBS
7         help
8           collectd is a daemon which collects system performance
9           statistics periodically and provides mechanisms to store
10           the values in a variety of ways, for example in RRD files.
12           http://collectd.org/
14 if BR2_PACKAGE_COLLECTD
16 menu "match plugins"
18 config BR2_PACKAGE_COLLECTD_EMPTY_COUNTER
19         bool "empty counter"
20         help
21           Match counter values which are currently zero.
23 config BR2_PACKAGE_COLLECTD_HASHED
24         bool "hashed"
25         help
26           Match values using a hash function of the hostname.
28 config BR2_PACKAGE_COLLECTD_REGEX
29         bool "regex"
30         help
31           Match values by their identifier based on regular expressions.
33 config BR2_PACKAGE_COLLECTD_TIMEDIFF
34         bool "timediff"
35         help
36           Match values with an invalid timestamp.
38 config BR2_PACKAGE_COLLECTD_VALUE
39         bool "value"
40         help
41           Select values by their data sources' values.
43 endmenu
45 menu "misc plugins"
47 config BR2_PACKAGE_COLLECTD_AGGREGATION
48         bool "aggregation"
49         help
50           The Aggregate plugin allows to aggregate multiple values into
51           a single value using one or several consolidation functions,
52           e.g. summation and average.
54 config BR2_PACKAGE_COLLECTD_LOGFILE
55         bool "logfile"
56         default y
57         help
58           Writes log messages to a file or STDOUT/STDERR.
60 config BR2_PACKAGE_COLLECTD_LOGSTASH
61         bool "logstash"
62         select BR2_PACKAGE_YAJL
63         help
64           Writes log messages formatted as logstash JSON events.
66 config BR2_PACKAGE_COLLECTD_NOTIFY_EMAIL
67         bool "notify_email"
68         depends on !BR2_STATIC_LIBS # libesmtp
69         select BR2_PACKAGE_LIBESMTP
70         select BR2_PACKAGE_OPENSSL
71         help
72           Send an E-mail with the notification message to the
73           configured recipients.
75 comment "notify_email needs a toolchain w/ dynamic library"
76         depends on BR2_STATIC_LIBS
78 config BR2_PACKAGE_COLLECTD_SYSLOG
79         bool "syslog"
80         default y
81         help
82           Logs to the standard UNIX logging mechanism.
84 config BR2_PACKAGE_COLLECTD_THRESHOLD
85         bool "threshold"
86         help
87           Checks values against configured thresholds and creates notifications
88           if values are out of bounds.
90 endmenu
92 menu "read plugins"
94 comment "Select at least one for collectd to be useful"
96 config BR2_PACKAGE_COLLECTD_APACHE
97         bool "apache"
98         select BR2_PACKAGE_LIBCURL
99         help
100           Collects Apache's mod_status information.
102 config BR2_PACKAGE_COLLECTD_APCUPS
103         bool "apcups"
104         help
105           Collects UPS statistics from apcupsd.
107 config BR2_PACKAGE_COLLECTD_BATTERY
108         bool "battery"
109         help
110           Collects the battery's charge, the drawn current and voltage.
112 config BR2_PACKAGE_COLLECTD_BIND
113         bool "bind"
114         select BR2_PACKAGE_LIBCURL
115         select BR2_PACKAGE_LIBXML2
116         help
117           Collects BIND DNS statistics.
119 config BR2_PACKAGE_COLLECTD_CEPH
120         bool "ceph"
121         select BR2_PACKAGE_YAJL
122         help
123           Statistics from the Ceph distributed storage system.
125 config BR2_PACKAGE_COLLECTD_CGROUPS
126         bool "cgroups"
127         help
128           Collects CGroups CPU usage accounting.
130 config BR2_PACKAGE_COLLECTD_CONNTRACK
131         bool "conntrack"
132         help
133           Collects the number of entries in Linux's connection tracking table.
135 config BR2_PACKAGE_COLLECTD_CONTEXTSWITCH
136         bool "contextswitch"
137         help
138           Collects the number of context switches done by the operating system.
140 config BR2_PACKAGE_COLLECTD_CPU
141         bool "cpu"
142         help
143           Collects the amount of time spent by the CPU in various states.
145 config BR2_PACKAGE_COLLECTD_CPUFREQ
146         bool "cpufreq"
147         help
148           Collects the current CPU's frequency.
150 config BR2_PACKAGE_COLLECTD_CURL
151         bool "curl"
152         select BR2_PACKAGE_LIBCURL
153         help
154           Uses libcurl to read files and then parses them according
155           to the configuration.
157 config BR2_PACKAGE_COLLECTD_CURL_JSON
158         bool "curl-json"
159         select BR2_PACKAGE_LIBCURL
160         select BR2_PACKAGE_YAJL
161         help
162           Queries JSON data using the cURL library and parses it
163           according to the user's configuration using YAJL.
165 config BR2_PACKAGE_COLLECTD_CURL_XML
166         bool "curl-xml"
167         select BR2_PACKAGE_LIBCURL
168         select BR2_PACKAGE_LIBXML2
169         help
170           Reads files using libcurl and parses it as XML.
172 config BR2_PACKAGE_COLLECTD_DF
173         bool "df"
174         help
175           Collects file system usage information.
177 config BR2_PACKAGE_COLLECTD_DISK
178         bool "disk"
179         help
180           Collects performance statistics of hard-disks and partitions.
182 config BR2_PACKAGE_COLLECTD_DNS
183         bool "dns"
184         select BR2_PACKAGE_LIBPCAP
185         help
186           Collects statistics of DNS traffic using libpcap.
188 config BR2_PACKAGE_COLLECTD_DRBD
189         bool "drbd"
190         help
191           Collect individual drbd resource statistics.
193 config BR2_PACKAGE_COLLECTD_ENTROPY
194         bool "entropy"
195         help
196           Collects the available entropy on a system.
198 config BR2_PACKAGE_COLLECTD_ETHSTAT
199         bool "ethstat"
200         help
201           Collects network interface card statistics.
203 config BR2_PACKAGE_COLLECTD_EXEC
204         bool "exec"
205         help
206           Executes scripts and reads values back that are printed
207           to STDOUT by that program.
209 config BR2_PACKAGE_COLLECTD_FHCOUNT
210         bool "fhcount"
211         help
212           File handles statistics.
214 config BR2_PACKAGE_COLLECTD_FILECOUNT
215         bool "filecount"
216         help
217           Counts the number of files in a directory and all its subdirectories.
219 config BR2_PACKAGE_COLLECTD_FSCACHE
220         bool "fscache"
221         help
222           Collects information about the file-system based caching
223           infrastructure for network file-systems and other slow media.
225 config BR2_PACKAGE_COLLECTD_INTERFACE
226         bool "interface"
227         help
228           Collects information about the traffic of network interfaces.
230 config BR2_PACKAGE_COLLECTD_IPC
231         bool "ipc"
232         help
233           IPC counters: semaphores used, number of allocated segments
234           in shared memory and more.
236 config BR2_PACKAGE_COLLECTD_IPTABLES
237         bool "iptables"
238         select BR2_PACKAGE_IPTABLES
239         help
240           Gather statistics from iptables packet filter.
242 config BR2_PACKAGE_COLLECTD_IPVS
243         bool "ipvs"
244         help
245           Extracts statistics from IP Virtual Server (IPVS), the
246           transport-layer load-balancer of the LVS project.
247           It stores traffic and connections history for each of the
248           Real Servers (RS) behind a local Virtual Server (VS).
249           Collectd must be run on Directors (in LVS jargon).
251 config BR2_PACKAGE_COLLECTD_IRQ
252         bool "irq"
253         help
254           Collects the number of interrupts.
256 config BR2_PACKAGE_COLLECTD_LOAD
257         bool "load"
258         help
259           Collects the system load.
261 config BR2_PACKAGE_COLLECTD_MD
262         bool "md"
263         help
264           Collects software-RAID device information.
266 config BR2_PACKAGE_COLLECTD_MEMCACHEC
267         bool "memcachec"
268         depends on BR2_INSTALL_LIBSTDCPP
269         select BR2_PACKAGE_LIBMEMCACHED
270         help
271           Query and parse data from a memcache daemon.
273 comment "memcachec needs a toolchain w/ C++"
274         depends on !BR2_INSTALL_LIBSTDCPP
276 config BR2_PACKAGE_COLLECTD_MEMCACHED
277         bool "memcached"
278         help
279           Collects statistics from a memcached daemon.
281 config BR2_PACKAGE_COLLECTD_MEMORY
282         bool "memory"
283         help
284           Collects physical memory utilization.
286 config BR2_PACKAGE_COLLECTD_MODBUS
287         bool "modbus"
288         select BR2_PACKAGE_LIBMODBUS
289         help
290           Reads register values from a modbus "slave" via Modbus/TCP.
292 config BR2_PACKAGE_COLLECTD_MYSQL
293         bool "mysql"
294         depends on BR2_INSTALL_LIBSTDCPP # mysql
295         depends on BR2_USE_MMU # mysql
296         depends on BR2_TOOLCHAIN_HAS_THREADS # mysql
297         select BR2_PACKAGE_MYSQL
298         help
299           Connects to a MySQL database and issues a "show status" command.
301 config BR2_PACKAGE_COLLECTD_NETLINK
302         bool "netlink"
303         select BR2_PACKAGE_LIBMNL
304         help
305           Get statistics for interfaces, qdiscs, classes, and filters.
307 config BR2_PACKAGE_COLLECTD_NFS
308         bool "nfs"
309         help
310           Collects information about the usage of the Network File System.
312 config BR2_PACKAGE_COLLECTD_NGINX
313         bool "nginx"
314         select BR2_PACKAGE_LIBCURL
315         help
316           Collects the number of requests handled by the nginx daemon
317           since startup and the number of current connections by state.
319 config BR2_PACKAGE_COLLECTD_NTPD
320         bool "ntpd"
321         help
322           Queries an NTP server and extracts parameters.
324 config BR2_PACKAGE_COLLECTD_OLSRD
325         bool "olsrd"
326         help
327           Reads information about meshed networks from olsrd.
329 config BR2_PACKAGE_COLLECTD_OPENLDAP
330         bool "openldap"
331         depends on BR2_USE_WCHAR
332         select BR2_PACKAGE_OPENLDAP
333         help
334           Read monitoring information from OpenLDAP's cn=Monitor subtree.
336 comment "openldap support needs a toolchain w/ wchar"
337         depends on !BR2_USE_WCHAR
339 config BR2_PACKAGE_COLLECTD_OPENVPN
340         bool "openvpn"
341         help
342           Reads the status file of OpenVPN to collect statistics.
344 config BR2_PACKAGE_COLLECTD_PING
345         bool "ping"
346         select BR2_PACKAGE_LIBOPING
347         help
348           Mesures network latency using ICMP "echo requests".
350 config BR2_PACKAGE_COLLECTD_POSTGRESQL
351         bool "postgresql"
352         select BR2_PACKAGE_POSTGRESQL
353         help
354           Connects to and executes SQL statements on a PostgreSQL
355           database. It then reads back the results and, depending on the
356           configuration, the returned values are then converted into
357           collectd “value lists”.
359 config BR2_PACKAGE_COLLECTD_PROCESSES
360         bool "processes"
361         help
362           Collects the number of processes gruped by state.
364 config BR2_PACKAGE_COLLECTD_PROTOCOLS
365         bool "protocols"
366         help
367           Collects information about the network protocols.
369 config BR2_PACKAGE_COLLECTD_SENSORS
370         bool "sensors"
371         select BR2_PACKAGE_LM_SENSORS
372         help
373           Collects data from lm-sensors.
375 config BR2_PACKAGE_COLLECTD_SERIAL
376         bool "serial"
377         help
378           Collects the traffic on serial interfaces.
380 config BR2_PACKAGE_COLLECTD_SMART
381         bool "SMART"
382         depends on BR2_PACKAGE_HAS_UDEV # libatasmart
383         select BR2_PACKAGE_LIBATASMART
384         help
385           Collect SMART statistics, notably load cycle count, temperature
386           and bad sectors.
388 comment "SMART requires udev to be enabled"
389         depends on !BR2_PACKAGE_HAS_UDEV
391 config BR2_PACKAGE_COLLECTD_STATSD
392         bool "StatsD"
393         help
394           StatsD network protocol to allow clients to report "events".
396 config BR2_PACKAGE_COLLECTD_SNMP
397         bool "snmp"
398         select BR2_PACKAGE_NETSNMP
399         help
400           Reads values from SNMP devices.
402 config BR2_PACKAGE_COLLECTD_SWAP
403         bool "swap"
404         help
405           Collects the amount of memory currently written to disk.
407 config BR2_PACKAGE_COLLECTD_TABLE
408         bool "table"
409         help
410           Parses table-like structured plain-text files.
412 config BR2_PACKAGE_COLLECTD_TAIL
413         bool "tail"
414         help
415           Tails log files and each line is given to one or more matches
416           which test if the line is relevant for any statistics.
418 config BR2_PACKAGE_COLLECTD_TAIL_CSV
419         bool "tail csv"
420         help
421           Follows (tails) files in CSV format, parses each line and submits
422           extracted values.
424 config BR2_PACKAGE_COLLECTD_TCPCONNS
425         bool "tcpconns"
426         help
427           Counts the number of TCP connections to/from a specified port.
429 config BR2_PACKAGE_COLLECTD_THERMAL
430         bool "thermal"
431         help
432           Reads ACPI thermal zone information.
434 config BR2_PACKAGE_COLLECTD_UPTIME
435         bool "uptime"
436         help
437           Keeps track of the system uptime.
439 config BR2_PACKAGE_COLLECTD_USERS
440         bool "users"
441         help
442           Counts the number of users currently logged in.
444 config BR2_PACKAGE_COLLECTD_VMEM
445         bool "vmem"
446         help
447           Collects information about the virtual memory subsystem.
449 config BR2_PACKAGE_COLLECTD_WIRELESS
450         bool "wireless"
451         help
452           Collects signal quality, power and noise ratio for WLAN cards.
454 config BR2_PACKAGE_COLLECTD_ZOOKEEPER
455         bool "zookeeper"
456         help
457           Read data from Zookeeper's MNTR command.
459 endmenu
461 menu "target plugins"
463 config BR2_PACKAGE_COLLECTD_NOTIFICATION
464         bool "notification"
465         help
466           Create and dispatch a notification.
468 config BR2_PACKAGE_COLLECTD_REPLACE
469         bool "replace"
470         help
471           Replace parts of an identifier using regular expressions.
473 config BR2_PACKAGE_COLLECTD_SCALE
474         bool "scale"
475         help
476           Scale (multiply) values by an arbitrary number.
478 config BR2_PACKAGE_COLLECTD_SET
479         bool "set"
480         help
481           Set (overwrite) entire parts of an identifier.
483 endmenu
485 menu "write plugins"
487 comment "Select at least one for collectd to be useful"
489 config BR2_PACKAGE_COLLECTD_CSV
490         bool "csv"
491         help
492           Writes values to a plain-text file in Comma Separated Values format.
494 config BR2_PACKAGE_COLLECTD_GRAPHITE
495         bool "graphite"
496         help
497           Writes data collected to Carbon (Graphite's) storage API.
498           http://graphite.wikidot.com/start
500 config BR2_PACKAGE_COLLECTD_NETWORK
501         bool "network"
502         help
503           Send/receive values from other instances of collectd.
505 config BR2_PACKAGE_COLLECTD_RRDTOOL
506         bool "rrdtool"
507         depends on BR2_USE_WCHAR # rrdtool
508         select BR2_PACKAGE_RRDTOOL
509         help
510           Writes values to RRD-files.
512 comment "rrdtool support needs a toolchain w/ wchar"
513         depends on !BR2_USE_WCHAR
515 config BR2_PACKAGE_COLLECTD_RIEMANN
516         bool "riemann"
517         depends on BR2_INSTALL_LIBSTDCPP # protobuf
518         # protobuf-c -> host-protobuf
519         depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
520         select BR2_PACKAGE_PROTOBUF_C
521         select BR2_PACKAGE_LIBTOOL
522         help
523           Sends data to Riemann, a stream processing and monitoring system.
525 config BR2_PACKAGE_COLLECTD_UNIXSOCK
526         bool "unixsock"
527         help
528           Opens a UNIX domain socket and accepts connections.
529           One can send commands to the daemon and receive information.
531 config BR2_PACKAGE_COLLECTD_WRITEHTTP
532         bool "write_http"
533         select BR2_PACKAGE_LIBCURL
534         help
535           Sends values collected to a web-server using HTTP POST and PUTVAL.
537 config BR2_PACKAGE_COLLECTD_WRITELOG
538         bool "write_log"
539         help
540           Writes data to the log.
542 config BR2_PACKAGE_COLLECTD_WRITESENSU
543         bool "write_sensu"
544         help
545           Sends data to Sensu, a stream processing and monitoring system,
546           via the Sensu client local TCP socket.
548 config BR2_PACKAGE_COLLECTD_WRITETSDB
549         bool "write_tsdb"
550         help
551           Sends data OpenTSDB, a scalable no master, no shared state time
552           series database.
554 endmenu
556 endif
558 comment "collectd needs a toolchain w/ threads, dynamic library"
559         depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
560         depends on BR2_USE_MMU