Config.in 15 KB

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