perl-cross: bump to version 1.1.4
[buildroot-gz.git] / package / collectd / Config.in
blob683141b1209b377eaf1a952c498ffff7794106f5
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_NOTIFY_NAGIOS
79         bool "notify_nagios"
80         help
81           Sends notifications to Nagios as a passive check result.
83 config BR2_PACKAGE_COLLECTD_SYSLOG
84         bool "syslog"
85         default y
86         help
87           Logs to the standard UNIX logging mechanism.
89 config BR2_PACKAGE_COLLECTD_THRESHOLD
90         bool "threshold"
91         help
92           Checks values against configured thresholds and creates notifications
93           if values are out of bounds.
95 endmenu
97 menu "read plugins"
99 comment "Select at least one for collectd to be useful"
101 config BR2_PACKAGE_COLLECTD_APACHE
102         bool "apache"
103         select BR2_PACKAGE_LIBCURL
104         help
105           Collects Apache's mod_status information.
107 config BR2_PACKAGE_COLLECTD_APCUPS
108         bool "apcups"
109         help
110           Collects UPS statistics from apcupsd.
112 config BR2_PACKAGE_COLLECTD_BATTERY
113         bool "battery"
114         help
115           Collects the battery's charge, the drawn current and voltage.
117 config BR2_PACKAGE_COLLECTD_BIND
118         bool "bind"
119         select BR2_PACKAGE_LIBCURL
120         select BR2_PACKAGE_LIBXML2
121         help
122           Collects BIND DNS statistics.
124 config BR2_PACKAGE_COLLECTD_CEPH
125         bool "ceph"
126         select BR2_PACKAGE_YAJL
127         help
128           Statistics from the Ceph distributed storage system.
130 config BR2_PACKAGE_COLLECTD_CHRONY
131         bool "chrony"
132         help
133           Collects NTP data from the chrony NTP server.
135 config BR2_PACKAGE_COLLECTD_CGROUPS
136         bool "cgroups"
137         help
138           Collects CGroups CPU usage accounting.
140 config BR2_PACKAGE_COLLECTD_CONNTRACK
141         bool "conntrack"
142         help
143           Collects the number of entries in Linux's connection tracking table.
145 config BR2_PACKAGE_COLLECTD_CONTEXTSWITCH
146         bool "contextswitch"
147         help
148           Collects the number of context switches done by the operating system.
150 config BR2_PACKAGE_COLLECTD_CPU
151         bool "cpu"
152         help
153           Collects the amount of time spent by the CPU in various states.
155 config BR2_PACKAGE_COLLECTD_CPUFREQ
156         bool "cpufreq"
157         help
158           Collects the current CPU's frequency.
160 config BR2_PACKAGE_COLLECTD_CPUSLEEP
161         bool "cpusleep"
162         help
163           Measures time spent by CPU in deep sleep mode.
165 config BR2_PACKAGE_COLLECTD_CURL
166         bool "curl"
167         select BR2_PACKAGE_LIBCURL
168         help
169           Uses libcurl to read files and then parses them according
170           to the configuration.
172 config BR2_PACKAGE_COLLECTD_CURL_JSON
173         bool "curl-json"
174         select BR2_PACKAGE_LIBCURL
175         select BR2_PACKAGE_YAJL
176         help
177           Queries JSON data using the cURL library and parses it
178           according to the user's configuration using YAJL.
180 config BR2_PACKAGE_COLLECTD_CURL_XML
181         bool "curl-xml"
182         select BR2_PACKAGE_LIBCURL
183         select BR2_PACKAGE_LIBXML2
184         help
185           Reads files using libcurl and parses it as XML.
187 config BR2_PACKAGE_COLLECTD_DF
188         bool "df"
189         help
190           Collects file system usage information.
192 config BR2_PACKAGE_COLLECTD_DISK
193         bool "disk"
194         help
195           Collects performance statistics of hard-disks and partitions.
197 config BR2_PACKAGE_COLLECTD_DNS
198         bool "dns"
199         select BR2_PACKAGE_LIBPCAP
200         help
201           Collects statistics of DNS traffic using libpcap.
203 config BR2_PACKAGE_COLLECTD_DRBD
204         bool "drbd"
205         help
206           Collect individual drbd resource statistics.
208 config BR2_PACKAGE_COLLECTD_ENTROPY
209         bool "entropy"
210         help
211           Collects the available entropy on a system.
213 config BR2_PACKAGE_COLLECTD_ETHSTAT
214         bool "ethstat"
215         help
216           Collects network interface card statistics.
218 config BR2_PACKAGE_COLLECTD_EXEC
219         bool "exec"
220         help
221           Executes scripts and reads values back that are printed
222           to STDOUT by that program.
224 config BR2_PACKAGE_COLLECTD_FHCOUNT
225         bool "fhcount"
226         help
227           File handles statistics.
229 config BR2_PACKAGE_COLLECTD_FILECOUNT
230         bool "filecount"
231         help
232           Counts the number of files in a directory and all its subdirectories.
234 config BR2_PACKAGE_COLLECTD_FSCACHE
235         bool "fscache"
236         help
237           Collects information about the file-system based caching
238           infrastructure for network file-systems and other slow media.
240 config BR2_PACKAGE_COLLECTD_GPS
241         bool "gps"
242         select BR2_PACKAGE_GPSD
243         help
244           Reports the number of sattelites seen by and precision
245           of a GPS receiver.
247 config BR2_PACKAGE_COLLECTD_HUGEPAGES
248         bool "hugepages"
249         help
250           Reports the number of used and free hugepages on Linux.
252 config BR2_PACKAGE_COLLECTD_INTERFACE
253         bool "interface"
254         help
255           Collects information about the traffic of network interfaces.
257 config BR2_PACKAGE_COLLECTD_IPC
258         bool "ipc"
259         help
260           IPC counters: semaphores used, number of allocated segments
261           in shared memory and more.
263 config BR2_PACKAGE_COLLECTD_IPTABLES
264         bool "iptables"
265         select BR2_PACKAGE_IPTABLES
266         help
267           Gather statistics from iptables packet filter.
269 config BR2_PACKAGE_COLLECTD_IPVS
270         bool "ipvs"
271         help
272           Extracts statistics from IP Virtual Server (IPVS), the
273           transport-layer load-balancer of the LVS project.
274           It stores traffic and connections history for each of the
275           Real Servers (RS) behind a local Virtual Server (VS).
276           Collectd must be run on Directors (in LVS jargon).
278 config BR2_PACKAGE_COLLECTD_IRQ
279         bool "irq"
280         help
281           Collects the number of interrupts.
283 config BR2_PACKAGE_COLLECTD_LOAD
284         bool "load"
285         help
286           Collects the system load.
288 config BR2_PACKAGE_COLLECTD_MD
289         bool "md"
290         help
291           Collects software-RAID device information.
293 config BR2_PACKAGE_COLLECTD_MEMCACHEC
294         bool "memcachec"
295         depends on BR2_INSTALL_LIBSTDCPP
296         select BR2_PACKAGE_LIBMEMCACHED
297         help
298           Query and parse data from a memcache daemon.
300 comment "memcachec needs a toolchain w/ C++"
301         depends on !BR2_INSTALL_LIBSTDCPP
303 config BR2_PACKAGE_COLLECTD_MEMCACHED
304         bool "memcached"
305         help
306           Collects statistics from a memcached daemon.
308 config BR2_PACKAGE_COLLECTD_MEMORY
309         bool "memory"
310         help
311           Collects physical memory utilization.
313 config BR2_PACKAGE_COLLECTD_MODBUS
314         bool "modbus"
315         select BR2_PACKAGE_LIBMODBUS
316         help
317           Reads register values from a modbus "slave" via Modbus/TCP.
319 config BR2_PACKAGE_COLLECTD_MYSQL
320         bool "mysql"
321         depends on BR2_INSTALL_LIBSTDCPP # mysql
322         depends on BR2_USE_MMU # mysql
323         depends on BR2_TOOLCHAIN_HAS_THREADS # mysql
324         select BR2_PACKAGE_MYSQL
325         help
326           Connects to a MySQL database and issues a "show status" command.
328 config BR2_PACKAGE_COLLECTD_NETLINK
329         bool "netlink"
330         select BR2_PACKAGE_LIBMNL
331         help
332           Get statistics for interfaces, qdiscs, classes, and filters.
334 config BR2_PACKAGE_COLLECTD_NFS
335         bool "nfs"
336         help
337           Collects information about the usage of the Network File System.
339 config BR2_PACKAGE_COLLECTD_NGINX
340         bool "nginx"
341         select BR2_PACKAGE_LIBCURL
342         help
343           Collects the number of requests handled by the nginx daemon
344           since startup and the number of current connections by state.
346 config BR2_PACKAGE_COLLECTD_NTPD
347         bool "ntpd"
348         help
349           Queries an NTP server and extracts parameters.
351 config BR2_PACKAGE_COLLECTD_OLSRD
352         bool "olsrd"
353         help
354           Reads information about meshed networks from olsrd.
356 config BR2_PACKAGE_COLLECTD_OPENLDAP
357         bool "openldap"
358         depends on BR2_USE_WCHAR
359         select BR2_PACKAGE_OPENLDAP
360         help
361           Read monitoring information from OpenLDAP's cn=Monitor subtree.
363 comment "openldap support needs a toolchain w/ wchar"
364         depends on !BR2_USE_WCHAR
366 config BR2_PACKAGE_COLLECTD_OPENVPN
367         bool "openvpn"
368         help
369           Reads the status file of OpenVPN to collect statistics.
371 config BR2_PACKAGE_COLLECTD_PING
372         bool "ping"
373         select BR2_PACKAGE_LIBOPING
374         help
375           Mesures network latency using ICMP "echo requests".
377 config BR2_PACKAGE_COLLECTD_POSTGRESQL
378         bool "postgresql"
379         select BR2_PACKAGE_POSTGRESQL
380         help
381           Connects to and executes SQL statements on a PostgreSQL
382           database. It then reads back the results and, depending on the
383           configuration, the returned values are then converted into
384           collectd “value lists”.
386 config BR2_PACKAGE_COLLECTD_PROCESSES
387         bool "processes"
388         help
389           Collects the number of processes gruped by state.
391 config BR2_PACKAGE_COLLECTD_PROTOCOLS
392         bool "protocols"
393         help
394           Collects information about the network protocols.
396 config BR2_PACKAGE_COLLECTD_SENSORS
397         bool "sensors"
398         select BR2_PACKAGE_LM_SENSORS
399         help
400           Collects data from lm-sensors.
402 config BR2_PACKAGE_COLLECTD_SERIAL
403         bool "serial"
404         help
405           Collects the traffic on serial interfaces.
407 config BR2_PACKAGE_COLLECTD_SMART
408         bool "SMART"
409         depends on BR2_PACKAGE_HAS_UDEV # libatasmart
410         select BR2_PACKAGE_LIBATASMART
411         help
412           Collect SMART statistics, notably load cycle count, temperature
413           and bad sectors.
415 comment "SMART requires udev to be enabled"
416         depends on !BR2_PACKAGE_HAS_UDEV
418 config BR2_PACKAGE_COLLECTD_STATSD
419         bool "StatsD"
420         help
421           StatsD network protocol to allow clients to report "events".
423 config BR2_PACKAGE_COLLECTD_SNMP
424         bool "snmp"
425         select BR2_PACKAGE_NETSNMP
426         help
427           Reads values from SNMP devices.
429 config BR2_PACKAGE_COLLECTD_SWAP
430         bool "swap"
431         help
432           Collects the amount of memory currently written to disk.
434 config BR2_PACKAGE_COLLECTD_TABLE
435         bool "table"
436         help
437           Parses table-like structured plain-text files.
439 config BR2_PACKAGE_COLLECTD_TAIL
440         bool "tail"
441         help
442           Tails log files and each line is given to one or more matches
443           which test if the line is relevant for any statistics.
445 config BR2_PACKAGE_COLLECTD_TAIL_CSV
446         bool "tail csv"
447         help
448           Follows (tails) files in CSV format, parses each line and submits
449           extracted values.
451 config BR2_PACKAGE_COLLECTD_TCPCONNS
452         bool "tcpconns"
453         help
454           Counts the number of TCP connections to/from a specified port.
456 config BR2_PACKAGE_COLLECTD_THERMAL
457         bool "thermal"
458         help
459           Reads ACPI thermal zone information.
461 config BR2_PACKAGE_COLLECTD_UPTIME
462         bool "uptime"
463         help
464           Keeps track of the system uptime.
466 config BR2_PACKAGE_COLLECTD_USERS
467         bool "users"
468         help
469           Counts the number of users currently logged in.
471 config BR2_PACKAGE_COLLECTD_VMEM
472         bool "vmem"
473         help
474           Collects information about the virtual memory subsystem.
476 config BR2_PACKAGE_COLLECTD_WIRELESS
477         bool "wireless"
478         help
479           Collects signal quality, power and noise ratio for WLAN cards.
481 config BR2_PACKAGE_COLLECTD_ZOOKEEPER
482         bool "zookeeper"
483         help
484           Read data from Zookeeper's MNTR command.
486 endmenu
488 menu "target plugins"
490 config BR2_PACKAGE_COLLECTD_NOTIFICATION
491         bool "notification"
492         help
493           Create and dispatch a notification.
495 config BR2_PACKAGE_COLLECTD_REPLACE
496         bool "replace"
497         help
498           Replace parts of an identifier using regular expressions.
500 config BR2_PACKAGE_COLLECTD_SCALE
501         bool "scale"
502         help
503           Scale (multiply) values by an arbitrary number.
505 config BR2_PACKAGE_COLLECTD_SET
506         bool "set"
507         help
508           Set (overwrite) entire parts of an identifier.
510 endmenu
512 menu "write plugins"
514 comment "Select at least one for collectd to be useful"
516 config BR2_PACKAGE_COLLECTD_CSV
517         bool "csv"
518         help
519           Writes values to a plain-text file in Comma Separated Values format.
521 config BR2_PACKAGE_COLLECTD_GRAPHITE
522         bool "graphite"
523         help
524           Writes data collected to Carbon (Graphite's) storage API.
525           http://graphite.wikidot.com/start
527 config BR2_PACKAGE_COLLECTD_MQTT
528         bool "mqtt"
529         select BR2_PACKAGE_MOSQUITTO
530         help
531           Sends metrics to and/or receives metrics from an MQTT broker.
533 config BR2_PACKAGE_COLLECTD_NETWORK
534         bool "network"
535         help
536           Send/receive values from other instances of collectd.
538 config BR2_PACKAGE_COLLECTD_RRDTOOL
539         bool "rrdtool"
540         depends on BR2_USE_WCHAR # rrdtool
541         select BR2_PACKAGE_RRDTOOL
542         help
543           Writes values to RRD-files.
545 comment "rrdtool support needs a toolchain w/ wchar"
546         depends on !BR2_USE_WCHAR
548 config BR2_PACKAGE_COLLECTD_RIEMANN
549         bool "riemann"
550         depends on BR2_INSTALL_LIBSTDCPP # protobuf
551         # protobuf-c -> host-protobuf
552         depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
553         select BR2_PACKAGE_RIEMANN_C_CLIENT
554         select BR2_PACKAGE_LIBTOOL
555         help
556           Sends data to Riemann, a stream processing and monitoring system.
558 config BR2_PACKAGE_COLLECTD_UNIXSOCK
559         bool "unixsock"
560         help
561           Opens a UNIX domain socket and accepts connections.
562           One can send commands to the daemon and receive information.
564 config BR2_PACKAGE_COLLECTD_WRITEHTTP
565         bool "write_http"
566         select BR2_PACKAGE_LIBCURL
567         help
568           Sends values collected to a web-server using HTTP POST and PUTVAL.
570 config BR2_PACKAGE_COLLECTD_WRITELOG
571         bool "write_log"
572         help
573           Writes data to the log.
575 config BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS
576         bool "write_prometheus"
577         depends on BR2_INSTALL_LIBSTDCPP # protobuf-c
578         depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c
579         select BR2_PACKAGE_LIBMICROHTTPD
580         select BR2_PACKAGE_PROTOBUF_C
581         help
582           Publishes values using an embedded HTTP server, in a format
583           compatible with Prometheus' collectd_exporter.
585 comment "write_prometheus needs a toolchain w/ C++"
586         depends on !BR2_INSTALL_LIBSTDCPP
587         depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
589 config BR2_PACKAGE_COLLECTD_WRITESENSU
590         bool "write_sensu"
591         help
592           Sends data to Sensu, a stream processing and monitoring system,
593           via the Sensu client local TCP socket.
595 config BR2_PACKAGE_COLLECTD_WRITETSDB
596         bool "write_tsdb"
597         help
598           Sends data OpenTSDB, a scalable no master, no shared state time
599           series database.
601 endmenu
603 endif
605 comment "collectd needs a toolchain w/ threads, dynamic library"
606         depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
607         depends on BR2_USE_MMU