1 menuconfig BR2_PACKAGE_COLLECTD
5 depends on BR2_TOOLCHAIN_HAS_THREADS
6 depends on !BR2_STATIC_LIBS
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.
14 if BR2_PACKAGE_COLLECTD
18 config BR2_PACKAGE_COLLECTD_EMPTY_COUNTER
21 Match counter values which are currently zero.
23 config BR2_PACKAGE_COLLECTD_HASHED
26 Match values using a hash function of the hostname.
28 config BR2_PACKAGE_COLLECTD_REGEX
31 Match values by their identifier based on regular expressions.
33 config BR2_PACKAGE_COLLECTD_TIMEDIFF
36 Match values with an invalid timestamp.
38 config BR2_PACKAGE_COLLECTD_VALUE
41 Select values by their data sources' values.
47 config BR2_PACKAGE_COLLECTD_AGGREGATION
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
58 Writes log messages to a file or STDOUT/STDERR.
60 config BR2_PACKAGE_COLLECTD_LOGSTASH
62 select BR2_PACKAGE_YAJL
64 Writes log messages formatted as logstash JSON events.
66 config BR2_PACKAGE_COLLECTD_NOTIFY_EMAIL
68 depends on !BR2_STATIC_LIBS # libesmtp
69 select BR2_PACKAGE_LIBESMTP
70 select BR2_PACKAGE_OPENSSL
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
81 Sends notifications to Nagios as a passive check result.
83 config BR2_PACKAGE_COLLECTD_SYSLOG
87 Logs to the standard UNIX logging mechanism.
89 config BR2_PACKAGE_COLLECTD_THRESHOLD
92 Checks values against configured thresholds and creates notifications
93 if values are out of bounds.
99 comment "Select at least one for collectd to be useful"
101 config BR2_PACKAGE_COLLECTD_APACHE
103 select BR2_PACKAGE_LIBCURL
105 Collects Apache's mod_status information.
107 config BR2_PACKAGE_COLLECTD_APCUPS
110 Collects UPS statistics from apcupsd.
112 config BR2_PACKAGE_COLLECTD_BATTERY
115 Collects the battery's charge, the drawn current and voltage.
117 config BR2_PACKAGE_COLLECTD_BIND
119 select BR2_PACKAGE_LIBCURL
120 select BR2_PACKAGE_LIBXML2
122 Collects BIND DNS statistics.
124 config BR2_PACKAGE_COLLECTD_CEPH
126 select BR2_PACKAGE_YAJL
128 Statistics from the Ceph distributed storage system.
130 config BR2_PACKAGE_COLLECTD_CHRONY
133 Collects NTP data from the chrony NTP server.
135 config BR2_PACKAGE_COLLECTD_CGROUPS
138 Collects CGroups CPU usage accounting.
140 config BR2_PACKAGE_COLLECTD_CONNTRACK
143 Collects the number of entries in Linux's connection tracking table.
145 config BR2_PACKAGE_COLLECTD_CONTEXTSWITCH
148 Collects the number of context switches done by the operating system.
150 config BR2_PACKAGE_COLLECTD_CPU
153 Collects the amount of time spent by the CPU in various states.
155 config BR2_PACKAGE_COLLECTD_CPUFREQ
158 Collects the current CPU's frequency.
160 config BR2_PACKAGE_COLLECTD_CPUSLEEP
163 Measures time spent by CPU in deep sleep mode.
165 config BR2_PACKAGE_COLLECTD_CURL
167 select BR2_PACKAGE_LIBCURL
169 Uses libcurl to read files and then parses them according
170 to the configuration.
172 config BR2_PACKAGE_COLLECTD_CURL_JSON
174 select BR2_PACKAGE_LIBCURL
175 select BR2_PACKAGE_YAJL
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
182 select BR2_PACKAGE_LIBCURL
183 select BR2_PACKAGE_LIBXML2
185 Reads files using libcurl and parses it as XML.
187 config BR2_PACKAGE_COLLECTD_DF
190 Collects file system usage information.
192 config BR2_PACKAGE_COLLECTD_DISK
195 Collects performance statistics of hard-disks and partitions.
197 config BR2_PACKAGE_COLLECTD_DNS
199 select BR2_PACKAGE_LIBPCAP
201 Collects statistics of DNS traffic using libpcap.
203 config BR2_PACKAGE_COLLECTD_DRBD
206 Collect individual drbd resource statistics.
208 config BR2_PACKAGE_COLLECTD_ENTROPY
211 Collects the available entropy on a system.
213 config BR2_PACKAGE_COLLECTD_ETHSTAT
216 Collects network interface card statistics.
218 config BR2_PACKAGE_COLLECTD_EXEC
221 Executes scripts and reads values back that are printed
222 to STDOUT by that program.
224 config BR2_PACKAGE_COLLECTD_FHCOUNT
227 File handles statistics.
229 config BR2_PACKAGE_COLLECTD_FILECOUNT
232 Counts the number of files in a directory and all its subdirectories.
234 config BR2_PACKAGE_COLLECTD_FSCACHE
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
242 select BR2_PACKAGE_GPSD
244 Reports the number of sattelites seen by and precision
247 config BR2_PACKAGE_COLLECTD_HUGEPAGES
250 Reports the number of used and free hugepages on Linux.
252 config BR2_PACKAGE_COLLECTD_INTERFACE
255 Collects information about the traffic of network interfaces.
257 config BR2_PACKAGE_COLLECTD_IPC
260 IPC counters: semaphores used, number of allocated segments
261 in shared memory and more.
263 config BR2_PACKAGE_COLLECTD_IPTABLES
265 select BR2_PACKAGE_IPTABLES
267 Gather statistics from iptables packet filter.
269 config BR2_PACKAGE_COLLECTD_IPVS
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
281 Collects the number of interrupts.
283 config BR2_PACKAGE_COLLECTD_LOAD
286 Collects the system load.
288 config BR2_PACKAGE_COLLECTD_MD
291 Collects software-RAID device information.
293 config BR2_PACKAGE_COLLECTD_MEMCACHEC
295 depends on BR2_INSTALL_LIBSTDCPP
296 select BR2_PACKAGE_LIBMEMCACHED
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
306 Collects statistics from a memcached daemon.
308 config BR2_PACKAGE_COLLECTD_MEMORY
311 Collects physical memory utilization.
313 config BR2_PACKAGE_COLLECTD_MODBUS
315 select BR2_PACKAGE_LIBMODBUS
317 Reads register values from a modbus "slave" via Modbus/TCP.
319 config BR2_PACKAGE_COLLECTD_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
326 Connects to a MySQL database and issues a "show status" command.
328 config BR2_PACKAGE_COLLECTD_NETLINK
330 select BR2_PACKAGE_LIBMNL
332 Get statistics for interfaces, qdiscs, classes, and filters.
334 config BR2_PACKAGE_COLLECTD_NFS
337 Collects information about the usage of the Network File System.
339 config BR2_PACKAGE_COLLECTD_NGINX
341 select BR2_PACKAGE_LIBCURL
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
349 Queries an NTP server and extracts parameters.
351 config BR2_PACKAGE_COLLECTD_OLSRD
354 Reads information about meshed networks from olsrd.
356 config BR2_PACKAGE_COLLECTD_OPENLDAP
358 depends on BR2_USE_WCHAR
359 select BR2_PACKAGE_OPENLDAP
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
369 Reads the status file of OpenVPN to collect statistics.
371 config BR2_PACKAGE_COLLECTD_PING
373 select BR2_PACKAGE_LIBOPING
375 Mesures network latency using ICMP "echo requests".
377 config BR2_PACKAGE_COLLECTD_POSTGRESQL
379 select BR2_PACKAGE_POSTGRESQL
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
389 Collects the number of processes gruped by state.
391 config BR2_PACKAGE_COLLECTD_PROTOCOLS
394 Collects information about the network protocols.
396 config BR2_PACKAGE_COLLECTD_SENSORS
398 select BR2_PACKAGE_LM_SENSORS
400 Collects data from lm-sensors.
402 config BR2_PACKAGE_COLLECTD_SERIAL
405 Collects the traffic on serial interfaces.
407 config BR2_PACKAGE_COLLECTD_SMART
409 depends on BR2_PACKAGE_HAS_UDEV # libatasmart
410 select BR2_PACKAGE_LIBATASMART
412 Collect SMART statistics, notably load cycle count, temperature
415 comment "SMART requires udev to be enabled"
416 depends on !BR2_PACKAGE_HAS_UDEV
418 config BR2_PACKAGE_COLLECTD_STATSD
421 StatsD network protocol to allow clients to report "events".
423 config BR2_PACKAGE_COLLECTD_SNMP
425 select BR2_PACKAGE_NETSNMP
427 Reads values from SNMP devices.
429 config BR2_PACKAGE_COLLECTD_SWAP
432 Collects the amount of memory currently written to disk.
434 config BR2_PACKAGE_COLLECTD_TABLE
437 Parses table-like structured plain-text files.
439 config BR2_PACKAGE_COLLECTD_TAIL
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
448 Follows (tails) files in CSV format, parses each line and submits
451 config BR2_PACKAGE_COLLECTD_TCPCONNS
454 Counts the number of TCP connections to/from a specified port.
456 config BR2_PACKAGE_COLLECTD_THERMAL
459 Reads ACPI thermal zone information.
461 config BR2_PACKAGE_COLLECTD_UPTIME
464 Keeps track of the system uptime.
466 config BR2_PACKAGE_COLLECTD_USERS
469 Counts the number of users currently logged in.
471 config BR2_PACKAGE_COLLECTD_VMEM
474 Collects information about the virtual memory subsystem.
476 config BR2_PACKAGE_COLLECTD_WIRELESS
479 Collects signal quality, power and noise ratio for WLAN cards.
481 config BR2_PACKAGE_COLLECTD_ZOOKEEPER
484 Read data from Zookeeper's MNTR command.
488 menu "target plugins"
490 config BR2_PACKAGE_COLLECTD_NOTIFICATION
493 Create and dispatch a notification.
495 config BR2_PACKAGE_COLLECTD_REPLACE
498 Replace parts of an identifier using regular expressions.
500 config BR2_PACKAGE_COLLECTD_SCALE
503 Scale (multiply) values by an arbitrary number.
505 config BR2_PACKAGE_COLLECTD_SET
508 Set (overwrite) entire parts of an identifier.
514 comment "Select at least one for collectd to be useful"
516 config BR2_PACKAGE_COLLECTD_CSV
519 Writes values to a plain-text file in Comma Separated Values format.
521 config BR2_PACKAGE_COLLECTD_GRAPHITE
524 Writes data collected to Carbon (Graphite's) storage API.
525 http://graphite.wikidot.com/start
527 config BR2_PACKAGE_COLLECTD_MQTT
529 depends on BR2_TOOLCHAIN_HAS_SYNC_4 # mosquitto
530 select BR2_PACKAGE_MOSQUITTO
532 Sends metrics to and/or receives metrics from an MQTT broker.
534 config BR2_PACKAGE_COLLECTD_NETWORK
537 Send/receive values from other instances of collectd.
539 config BR2_PACKAGE_COLLECTD_RRDTOOL
541 depends on BR2_USE_WCHAR # rrdtool
542 select BR2_PACKAGE_RRDTOOL
544 Writes values to RRD-files.
546 comment "rrdtool support needs a toolchain w/ wchar"
547 depends on !BR2_USE_WCHAR
549 config BR2_PACKAGE_COLLECTD_RIEMANN
551 depends on BR2_INSTALL_LIBSTDCPP # protobuf
552 # protobuf-c -> host-protobuf
553 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
554 select BR2_PACKAGE_RIEMANN_C_CLIENT
555 select BR2_PACKAGE_LIBTOOL
557 Sends data to Riemann, a stream processing and monitoring system.
559 config BR2_PACKAGE_COLLECTD_UNIXSOCK
562 Opens a UNIX domain socket and accepts connections.
563 One can send commands to the daemon and receive information.
565 config BR2_PACKAGE_COLLECTD_WRITEHTTP
567 select BR2_PACKAGE_LIBCURL
569 Sends values collected to a web-server using HTTP POST and PUTVAL.
571 config BR2_PACKAGE_COLLECTD_WRITELOG
574 Writes data to the log.
576 config BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS
577 bool "write_prometheus"
578 depends on BR2_INSTALL_LIBSTDCPP # protobuf-c
579 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c
580 select BR2_PACKAGE_LIBMICROHTTPD
581 select BR2_PACKAGE_PROTOBUF_C
583 Publishes values using an embedded HTTP server, in a format
584 compatible with Prometheus' collectd_exporter.
586 comment "write_prometheus needs a toolchain w/ C++"
587 depends on !BR2_INSTALL_LIBSTDCPP
588 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
590 config BR2_PACKAGE_COLLECTD_WRITESENSU
593 Sends data to Sensu, a stream processing and monitoring system,
594 via the Sensu client local TCP socket.
596 config BR2_PACKAGE_COLLECTD_WRITETSDB
599 Sends data OpenTSDB, a scalable no master, no shared state time
606 comment "collectd needs a toolchain w/ threads, dynamic library"
607 depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
608 depends on BR2_USE_MMU