Config.in.legacy: add missing select BR2_LEGACY
[buildroot-gz.git] / package / collectd / Config.in
blob5cdb24eed04ab70b59e8260ade1deb62cc69142a
1 config 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.
42 endmenu
44 menu "misc plugins"
46 config BR2_PACKAGE_COLLECTD_AGGREGATION
47         bool "aggregation"
48         help
49           The Aggregate plugin allows to aggregate multiple values into
50           a single value using one or several consolidation functions,
51           e.g. summation and average.
53 config BR2_PACKAGE_COLLECTD_LOGFILE
54         bool "logfile"
55         default y
56         help
57           Writes log messages to a file or STDOUT/STDERR.
59 config BR2_PACKAGE_COLLECTD_LOGSTASH
60         bool "logstash"
61         select BR2_PACKAGE_YAJL
62         help
63           Writes log messages formatted as logstash JSON events.
65 config BR2_PACKAGE_COLLECTD_NOTIFY_EMAIL
66         bool "notify_email"
67         depends on !BR2_STATIC_LIBS # libesmtp
68         select BR2_PACKAGE_LIBESMTP
69         select BR2_PACKAGE_OPENSSL
70         help
71           Send an E-mail with the notification message to the
72           configured recipients.
74 comment "notify_email needs a toolchain w/ dynamic library"
75         depends on BR2_STATIC_LIBS
77 config BR2_PACKAGE_COLLECTD_SYSLOG
78         bool "syslog"
79         default y
80         help
81           Logs to the standard UNIX logging mechanism.
83 config BR2_PACKAGE_COLLECTD_THRESHOLD
84         bool "threshold"
85         help
86           Checks values against configured thresholds and creates notifications
87           if values are out of bounds.
89 endmenu
91 menu "read plugins"
93 comment "Select at least one for collectd to be useful"
95 config BR2_PACKAGE_COLLECTD_APACHE
96         bool "apache"
97         select BR2_PACKAGE_LIBCURL
98         help
99           Collects Apache's mod_status information.
101 config BR2_PACKAGE_COLLECTD_APCUPS
102         bool "apcups"
103         help
104           Collects UPS statistics from apcupsd.
106 config BR2_PACKAGE_COLLECTD_BATTERY
107         bool "battery"
108         help
109           Collects the battery's charge, the drawn current and voltage.
111 config BR2_PACKAGE_COLLECTD_BIND
112         bool "bind"
113         select BR2_PACKAGE_LIBCURL
114         select BR2_PACKAGE_LIBXML2
115         help
116           Collects BIND DNS statistics.
118 config BR2_PACKAGE_COLLECTD_CEPH
119         bool "ceph"
120         select BR2_PACKAGE_YAJL
121         help
122           Statistics from the Ceph distributed storage system.
124 config BR2_PACKAGE_COLLECTD_CGROUPS
125         bool "cgroups"
126         help
127           Collects CGroups CPU usage accounting.
129 config BR2_PACKAGE_COLLECTD_CONNTRACK
130         bool "conntrack"
131         help
132           Collects the number of entries in Linux's connection tracking table.
134 config BR2_PACKAGE_COLLECTD_CONTEXTSWITCH
135         bool "contextswitch"
136         help
137           Collects the number of context switches done by the operating system.
139 config BR2_PACKAGE_COLLECTD_CPU
140         bool "cpu"
141         help
142           Collects the amount of time spent by the CPU in various states.
144 config BR2_PACKAGE_COLLECTD_CPUFREQ
145         bool "cpufreq"
146         help
147           Collects the current CPU's frequency.
149 config BR2_PACKAGE_COLLECTD_CURL
150         bool "curl"
151         select BR2_PACKAGE_LIBCURL
152         help
153           Uses libcurl to read files and then parses them according
154           to the configuration.
156 config BR2_PACKAGE_COLLECTD_CURL_JSON
157         bool "curl-json"
158         select BR2_PACKAGE_LIBCURL
159         select BR2_PACKAGE_YAJL
160         help
161           Queries JSON data using the cURL library and parses it
162           according to the user's configuration using YAJL.
164 config BR2_PACKAGE_COLLECTD_CURL_XML
165         bool "curl-xml"
166         select BR2_PACKAGE_LIBCURL
167         select BR2_PACKAGE_LIBXML2
168         help
169           Reads files using libcurl and parses it as XML.
171 config BR2_PACKAGE_COLLECTD_DF
172         bool "df"
173         help
174           Collects file system usage information.
176 config BR2_PACKAGE_COLLECTD_DISK
177         bool "disk"
178         help
179           Collects performance statistics of hard-disks and partitions.
181 config BR2_PACKAGE_COLLECTD_DNS
182         bool "dns"
183         select BR2_PACKAGE_LIBPCAP
184         help
185           Collects statistics of DNS traffic using libpcap.
187 config BR2_PACKAGE_COLLECTD_DRBD
188         bool "drbd"
189         help
190           Collect individual drbd resource statistics.
192 config BR2_PACKAGE_COLLECTD_ENTROPY
193         bool "entropy"
194         help
195           Collects the available entropy on a system.
197 config BR2_PACKAGE_COLLECTD_ETHSTAT
198         bool "ethstat"
199         help
200           Collects network interface card statistics.
202 config BR2_PACKAGE_COLLECTD_EXEC
203         bool "exec"
204         help
205           Executes scripts and reads values back that are printed
206           to STDOUT by that program.
208 config BR2_PACKAGE_COLLECTD_FHCOUNT
209         bool "fhcount"
210         help
211           File handles statistics.
213 config BR2_PACKAGE_COLLECTD_FILECOUNT
214         bool "filecount"
215         help
216           Counts the number of files in a directory and all its subdirectories.
218 config BR2_PACKAGE_COLLECTD_FSCACHE
219         bool "fscache"
220         help
221           Collects information about the file-system based caching
222           infrastructure for network file-systems and other slow media.
224 config BR2_PACKAGE_COLLECTD_INTERFACE
225         bool "interface"
226         help
227           Collects information about the traffic of network interfaces.
229 config BR2_PACKAGE_COLLECTD_IPC
230         bool "ipc"
231         help
232           IPC counters: semaphores used, number of allocated segments
233           in shared memory and more.
235 config BR2_PACKAGE_COLLECTD_IPTABLES
236         bool "iptables"
237         select BR2_PACKAGE_IPTABLES
238         help
239           Gather statistics from iptables packet filter.
241 config BR2_PACKAGE_COLLECTD_IPVS
242         bool "ipvs"
243         help
244           Extracts statistics from IP Virtual Server (IPVS), the
245           transport-layer load-balancer of the LVS project.
246           It stores traffic and connections history for each of the
247           Real Servers (RS) behind a local Virtual Server (VS).
248           Collectd must be run on Directors (in LVS jargon).
250 config BR2_PACKAGE_COLLECTD_IRQ
251         bool "irq"
252         help
253           Collects the number of interrupts.
255 config BR2_PACKAGE_COLLECTD_LOAD
256         bool "load"
257         help
258           Collects the system load.
260 config BR2_PACKAGE_COLLECTD_MD
261         bool "md"
262         help
263           Collects software-RAID device information.
265 config BR2_PACKAGE_COLLECTD_MEMCACHEC
266         bool "memcachec"
267         depends on BR2_INSTALL_LIBSTDCPP
268         select BR2_PACKAGE_LIBMEMCACHED
269         help
270           Query and parse data from a memcache daemon.
272 comment "memcachec needs a toolchain w/ C++"
273         depends on !BR2_INSTALL_LIBSTDCPP
275 config BR2_PACKAGE_COLLECTD_MEMCACHED
276         bool "memcached"
277         help
278           Collects statistics from a memcached daemon.
280 config BR2_PACKAGE_COLLECTD_MEMORY
281         bool "memory"
282         help
283           Collects physical memory utilization.
285 config BR2_PACKAGE_COLLECTD_MODBUS
286         bool "modbus"
287         select BR2_PACKAGE_MODBUS
288         help
289           Reads register values from a modbus "slave" via Modbus/TCP.
291 config BR2_PACKAGE_COLLECTD_MYSQL
292         bool "mysql"
293         depends on BR2_INSTALL_LIBSTDCPP # mysql
294         depends on BR2_USE_MMU # mysql
295         depends on BR2_TOOLCHAIN_HAS_THREADS # mysql
296         select BR2_PACKAGE_MYSQL
297         help
298           Connects to a MySQL database and issues a "show status" command.
300 config BR2_PACKAGE_COLLECTD_NETLINK
301         bool "netlink"
302         select BR2_PACKAGE_LIBMNL
303         help
304           Get statistics for interfaces, qdiscs, classes, and filters.
306 config BR2_PACKAGE_COLLECTD_NFS
307         bool "nfs"
308         help
309           Collects information about the usage of the Network File System.
311 config BR2_PACKAGE_COLLECTD_NGINX
312         bool "nginx"
313         select BR2_PACKAGE_LIBCURL
314         help
315           Collects the number of requests handled by the nginx daemon
316           since startup and the number of current connections by state.
318 config BR2_PACKAGE_COLLECTD_NTPD
319         bool "ntpd"
320         help
321           Queries an NTP server and extracts parameters.
323 config BR2_PACKAGE_COLLECTD_OLSRD
324         bool "olsrd"
325         help
326           Reads information about meshed networks from olsrd.
328 config BR2_PACKAGE_COLLECTD_OPENLDAP
329         bool "openldap"
330         depends on BR2_USE_WCHAR
331         select BR2_PACKAGE_OPENLDAP
332         help
333           Read monitoring information from OpenLDAP's cn=Monitor subtree.
335 comment "openldap support needs a toolchain w/ wchar"
336         depends on !BR2_USE_WCHAR
338 config BR2_PACKAGE_COLLECTD_OPENVPN
339         bool "openvpn"
340         help
341           Reads the status file of OpenVPN to collect statistics.
343 config BR2_PACKAGE_COLLECTD_PING
344         bool "ping"
345         select BR2_PACKAGE_LIBOPING
346         help
347           Mesures network latency using ICMP "echo requests".
349 config BR2_PACKAGE_COLLECTD_POSTGRESQL
350         bool "postgresql"
351         select BR2_PACKAGE_POSTGRESQL
352         help
353           Connects to and executes SQL statements on a PostgreSQL
354           database. It then reads back the results and, depending on the
355           configuration, the returned values are then converted into
356           collectd “value lists”.
358 config BR2_PACKAGE_COLLECTD_PROCESSES
359         bool "processes"
360         help
361           Collects the number of processes gruped by state.
363 config BR2_PACKAGE_COLLECTD_PROTOCOLS
364         bool "protocols"
365         help
366           Collects information about the network protocols.
368 config BR2_PACKAGE_COLLECTD_SENSORS
369         bool "sensors"
370         select BR2_PACKAGE_LM_SENSORS
371         help
372           Collects data from lm-sensors.
374 config BR2_PACKAGE_COLLECTD_SERIAL
375         bool "serial"
376         help
377           Collects the traffic on serial interfaces.
379 config BR2_PACKAGE_COLLECTD_SMART
380         bool "SMART"
381         depends on BR2_PACKAGE_HAS_UDEV # libatasmart
382         select BR2_PACKAGE_LIBATASMART
383         help
384           Collect SMART statistics, notably load cycle count, temperature
385           and bad sectors.
387 comment "SMART requires udev to be enabled"
388         depends on !BR2_PACKAGE_HAS_UDEV
390 config BR2_PACKAGE_COLLECTD_STATSD
391         bool "StatsD"
392         help
393           StatsD network protocol to allow clients to report "events".
395 config BR2_PACKAGE_COLLECTD_SNMP
396         bool "snmp"
397         select BR2_PACKAGE_NETSNMP
398         help
399           Reads values from SNMP devices.
401 config BR2_PACKAGE_COLLECTD_SWAP
402         bool "swap"
403         help
404           Collects the amount of memory currently written to disk.
406 config BR2_PACKAGE_COLLECTD_TABLE
407         bool "table"
408         help
409           Parses table-like structured plain-text files.
411 config BR2_PACKAGE_COLLECTD_TAIL
412         bool "tail"
413         help
414           Tails log files and each line is given to one or more matches
415           which test if the line is relevant for any statistics.
417 config BR2_PACKAGE_COLLECTD_TAIL_CSV
418         bool "tail csv"
419         help
420           Follows (tails) files in CSV format, parses each line and submits
421           extracted values.
423 config BR2_PACKAGE_COLLECTD_TCPCONNS
424         bool "tcpconns"
425         help
426           Counts the number of TCP connections to/from a specified port.
428 config BR2_PACKAGE_COLLECTD_THERMAL
429         bool "thermal"
430         help
431           Reads ACPI thermal zone information.
433 config BR2_PACKAGE_COLLECTD_UPTIME
434         bool "uptime"
435         help
436           Keeps track of the system uptime.
438 config BR2_PACKAGE_COLLECTD_USERS
439         bool "users"
440         help
441           Counts the number of users currently logged in.
443 config BR2_PACKAGE_COLLECTD_VMEM
444         bool "vmem"
445         help
446           Collects information about the virtual memory subsystem.
448 config BR2_PACKAGE_COLLECTD_WIRELESS
449         bool "wireless"
450         help
451           Collects signal quality, power and noise ratio for WLAN cards.
453 config BR2_PACKAGE_COLLECTD_ZOOKEEPER
454         bool "zookeeper"
455         help
456           Read data from Zookeeper's MNTR command.
458 endmenu
460 menu "target plugins"
462 config BR2_PACKAGE_COLLECTD_NOTIFICATION
463         bool "notification"
464         help
465           Create and dispatch a notification.
467 config BR2_PACKAGE_COLLECTD_REPLACE
468         bool "replace"
469         help
470           Replace parts of an identifier using regular expressions.
472 config BR2_PACKAGE_COLLECTD_SCALE
473         bool "scale"
474         help
475           Scale (multiply) values by an arbitrary number.
477 config BR2_PACKAGE_COLLECTD_SET
478         bool "set"
479         help
480           Set (overwrite) entire parts of an identifier.
482 endmenu
484 menu "write plugins"
486 comment "Select at least one for collectd to be useful"
488 config BR2_PACKAGE_COLLECTD_CSV
489         bool "csv"
490         help
491           Writes values to a plain-text file in Comma Separated Values format.
493 config BR2_PACKAGE_COLLECTD_GRAPHITE
494         bool "graphite"
495         help
496           Writes data collected to Carbon (Graphite's) storage API.
497           http://graphite.wikidot.com/start
499 config BR2_PACKAGE_COLLECTD_NETWORK
500         bool "network"
501         help
502           Send/receive values from other instances of collectd.
504 config BR2_PACKAGE_COLLECTD_RRDTOOL
505         bool "rrdtool"
506         depends on BR2_USE_WCHAR # rrdtool
507         select BR2_PACKAGE_RRDTOOL
508         help
509           Writes values to RRD-files.
511 comment "rrdtool support needs a toolchain w/ wchar"
512         depends on !BR2_USE_WCHAR
514 config BR2_PACKAGE_COLLECTD_RIEMANN
515         bool "riemann"
516         depends on BR2_INSTALL_LIBSTDCPP # protobuf
517         # protobuf-c -> host-protobuf
518         depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
519         select BR2_PACKAGE_PROTOBUF_C
520         select BR2_PACKAGE_LIBTOOL
521         help
522           Sends data to Riemann, a stream processing and monitoring system.
524 config BR2_PACKAGE_COLLECTD_UNIXSOCK
525         bool "unixsock"
526         help
527           Opens a UNIX domain socket and accepts connections.
528           One can send commands to the daemon and receive information.
530 config BR2_PACKAGE_COLLECTD_WRITEHTTP
531         bool "write_http"
532         select BR2_PACKAGE_LIBCURL
533         help
534           Sends values collected to a web-server using HTTP POST and PUTVAL.
536 config BR2_PACKAGE_COLLECTD_WRITELOG
537         bool "write_log"
538         help
539           Writes data to the log.
541 config BR2_PACKAGE_COLLECTD_WRITESENSU
542         bool "write_sensu"
543         help
544           Sends data to Sensu, a stream processing and monitoring system,
545           via the Sensu client local TCP socket.
547 config BR2_PACKAGE_COLLECTD_WRITETSDB
548         bool "write_tsdb"
549         help
550           Sends data OpenTSDB, a scalable no master, no shared state time
551           series database.
553 endmenu
555 endif
557 comment "collectd needs a toolchain w/ threads, dynamic library"
558         depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
559         depends on BR2_USE_MMU