help
Writes log messages to a file or STDOUT/STDERR.
+config BR2_PACKAGE_COLLECTD_LOGSTASH
+ bool "logstash"
+ select BR2_PACKAGE_YAJL
+ help
+ Writes log messages formatted as logstash JSON events.
+
config BR2_PACKAGE_COLLECTD_NOTIFY_EMAIL
bool "notify_email"
depends on !BR2_STATIC_LIBS # libesmtp
help
Collects BIND DNS statistics.
+config BR2_PACKAGE_COLLECTD_CEPH
+ bool "ceph"
+ select BR2_PACKAGE_YAJL
+ help
+ Statistics from the Ceph distributed storage system.
+
config BR2_PACKAGE_COLLECTD_CGROUPS
bool "cgroups"
help
help
Collects statistics of DNS traffic using libpcap.
+config BR2_PACKAGE_COLLECTD_DRBD
+ bool "drbd"
+ help
+ Collect individual drbd resource statistics.
+
config BR2_PACKAGE_COLLECTD_ENTROPY
bool "entropy"
help
Executes scripts and reads values back that are printed
to STDOUT by that program.
+config BR2_PACKAGE_COLLECTD_FHCOUNT
+ bool "fhcount"
+ help
+ File handles statistics.
+
config BR2_PACKAGE_COLLECTD_FILECOUNT
bool "filecount"
help
help
Collects information about the traffic of network interfaces.
+config BR2_PACKAGE_COLLECTD_IPC
+ bool "ipc"
+ help
+ IPC counters: semaphores used, number of allocated segments
+ in shared memory and more.
+
config BR2_PACKAGE_COLLECTD_IPTABLES
bool "iptables"
select BR2_PACKAGE_IPTABLES
help
Reads information about meshed networks from olsrd.
+config BR2_PACKAGE_COLLECTD_OPENLDAP
+ bool "openldap"
+ depends on BR2_USE_WCHAR
+ select BR2_PACKAGE_OPENLDAP
+ help
+ Read monitoring information from OpenLDAP's cn=Monitor subtree.
+
+comment "openldap support needs a toolchain w/ wchar"
+ depends on !BR2_USE_WCHAR
+
config BR2_PACKAGE_COLLECTD_OPENVPN
bool "openvpn"
help
help
Collects the traffic on serial interfaces.
+config BR2_PACKAGE_COLLECTD_SMART
+ bool "SMART"
+ depends on BR2_PACKAGE_HAS_UDEV # libatasmart
+ select BR2_PACKAGE_LIBATASMART
+ help
+ Collect SMART statistics, notably load cycle count, temperature
+ and bad sectors.
+
+comment "SMART requires udev to be enabled"
+ depends on !BR2_PACKAGE_HAS_UDEV
+
config BR2_PACKAGE_COLLECTD_STATSD
bool "StatsD"
help
help
Collects signal quality, power and noise ratio for WLAN cards.
+config BR2_PACKAGE_COLLECTD_ZOOKEEPER
+ bool "zookeeper"
+ help
+ Read data from Zookeeper's MNTR command.
+
endmenu
menu "target plugins"
# protobuf-c -> host-protobuf
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
select BR2_PACKAGE_PROTOBUF_C
+ select BR2_PACKAGE_LIBTOOL
help
Sends data to Riemann, a stream processing and monitoring system.
One can send commands to the daemon and receive information.
config BR2_PACKAGE_COLLECTD_WRITEHTTP
- bool "writehttp"
+ bool "write_http"
select BR2_PACKAGE_LIBCURL
help
Sends values collected to a web-server using HTTP POST and PUTVAL.
+config BR2_PACKAGE_COLLECTD_WRITELOG
+ bool "write_log"
+ help
+ Writes data to the log.
+
+config BR2_PACKAGE_COLLECTD_WRITESENSU
+ bool "write_sensu"
+ help
+ Sends data to Sensu, a stream processing and monitoring system,
+ via the Sensu client local TCP socket.
+
+config BR2_PACKAGE_COLLECTD_WRITETSDB
+ bool "write_tsdb"
+ help
+ Sends data OpenTSDB, a scalable no master, no shared state time
+ series database.
+
endmenu
endif
#
################################################################################
-COLLECTD_VERSION = 5.4.2
+COLLECTD_VERSION = 5.5.0
COLLECTD_SITE = http://collectd.org/files
COLLECTD_SOURCE = collectd-$(COLLECTD_VERSION).tar.bz2
COLLECTD_CONF_ENV = ac_cv_lib_yajl_yajl_alloc=yes
# These require unmet dependencies, are fringe, pointless or deprecated
COLLECTD_PLUGINS_DISABLE = \
- amqp apple_sensors aquaero ascent dbi email \
+ amqp apple_sensors aquaero ascent barometer dbi email \
gmond hddtemp ipmi java libvirt lpar lvm madwifi mbmon \
mic multimeter netapp notify_desktop notify_email numa \
nut onewire oracle perl pf pinba powerdns python redis routeros \
rrdcached sigrok tape target_v5upgrade teamspeak2 ted \
- tokyotyrant uuid varnish vserver write_mongodb write_redis \
- xmms zfs_arc
+ tokyotyrant turbostat uuid varnish virt vserver write_kafka \
+ write_mongodb write_redis xmms zfs_arc
COLLECTD_CONF_ENV += LIBS="-lm"
$(if $(BR2_PACKAGE_COLLECTD_APCUPS),--enable-apcups,--disable-apcups) \
$(if $(BR2_PACKAGE_COLLECTD_BATTERY),--enable-battery,--disable-battery) \
$(if $(BR2_PACKAGE_COLLECTD_BIND),--enable-bind,--disable-bind) \
+ $(if $(BR2_PACKAGE_COLLECTD_CEPH),--enable-ceph,--disable-ceph) \
$(if $(BR2_PACKAGE_COLLECTD_CGROUPS),--enable-cgroups,--disable-cgroups) \
$(if $(BR2_PACKAGE_COLLECTD_CONNTRACK),--enable-conntrack,--disable-conntrack) \
$(if $(BR2_PACKAGE_COLLECTD_CONTEXTSWITCH),--enable-contextswitch,--disable-contextswitch) \
$(if $(BR2_PACKAGE_COLLECTD_DF),--enable-df,--disable-df) \
$(if $(BR2_PACKAGE_COLLECTD_DISK),--enable-disk,--disable-disk) \
$(if $(BR2_PACKAGE_COLLECTD_DNS),--enable-dns,--disable-dns) \
+ $(if $(BR2_PACKAGE_COLLECTD_DRBD),--enable-drbd,--disable-drbd) \
$(if $(BR2_PACKAGE_COLLECTD_EMPTY_COUNTER),--enable-match_empty_counter,--disable-match_empty_counter) \
$(if $(BR2_PACKAGE_COLLECTD_ENTROPY),--enable-entropy,--disable-entropy) \
$(if $(BR2_PACKAGE_COLLECTD_ETHSTAT),--enable-ethstat,--disable-ethstat) \
$(if $(BR2_PACKAGE_COLLECTD_EXEC),--enable-exec,--disable-exec) \
+ $(if $(BR2_PACKAGE_COLLECTD_FHCOUNT),--enable-fhcount,--disable-fhcount) \
$(if $(BR2_PACKAGE_COLLECTD_FILECOUNT),--enable-filecount,--disable-filecount) \
$(if $(BR2_PACKAGE_COLLECTD_FSCACHE),--enable-fscache,--disable-fscache) \
$(if $(BR2_PACKAGE_COLLECTD_GRAPHITE),--enable-write_graphite,--disable-write_graphite) \
$(if $(BR2_PACKAGE_COLLECTD_HASHED),--enable-match_hashed,--disable-match_hashed) \
$(if $(BR2_PACKAGE_COLLECTD_INTERFACE),--enable-interface,--disable-interface) \
+ $(if $(BR2_PACKAGE_COLLECTD_IPC),--enable-ipc,--disable-ipc) \
$(if $(BR2_PACKAGE_COLLECTD_IPTABLES),--enable-iptables,--disable-iptables) \
$(if $(BR2_PACKAGE_COLLECTD_IPVS),--enable-ipvs,--disable-ipvs) \
$(if $(BR2_PACKAGE_COLLECTD_IRQ),--enable-irq,--disable-irq) \
$(if $(BR2_PACKAGE_COLLECTD_LOAD),--enable-load,--disable-load) \
$(if $(BR2_PACKAGE_COLLECTD_LOGFILE),--enable-logfile,--disable-logfile) \
+ $(if $(BR2_PACKAGE_COLLECTD_LOGSTASH),--enable-log_logstash,--disable-log_logstash) \
$(if $(BR2_PACKAGE_COLLECTD_MD),--enable-md,--disable-md) \
$(if $(BR2_PACKAGE_COLLECTD_MEMCACHEC),--enable-memcachec,--disable-memcachec) \
$(if $(BR2_PACKAGE_COLLECTD_MEMCACHED),--enable-memcached,--disable-memcached) \
$(if $(BR2_PACKAGE_COLLECTD_NOTIFY_EMAIL),--enable-notify_email,--disable-notify_email) \
$(if $(BR2_PACKAGE_COLLECTD_NTPD),--enable-ntpd,--disable-ntpd) \
$(if $(BR2_PACKAGE_COLLECTD_OLSRD),--enable-olsrd,--disable-olsrd) \
+ $(if $(BR2_PACKAGE_COLLECTD_OPENLDAP),--enable-openldap,--disable-openldap) \
$(if $(BR2_PACKAGE_COLLECTD_OPENVPN),--enable-openvpn,--disable-openvpn) \
$(if $(BR2_PACKAGE_COLLECTD_PING),--enable-ping,--disable-ping) \
$(if $(BR2_PACKAGE_COLLECTD_POSTGRESQL),--enable-postgresql,--disable-postgresql) \
$(if $(BR2_PACKAGE_COLLECTD_SERIAL),--enable-serial,--disable-serial) \
$(if $(BR2_PACKAGE_COLLECTD_STATSD),--enable-statsd,--disable-statsd) \
$(if $(BR2_PACKAGE_COLLECTD_SET),--enable-target_set,--disable-target_set) \
+ $(if $(BR2_PACKAGE_COLLECTD_SMART),--enable-smart,--disable-smart) \
$(if $(BR2_PACKAGE_COLLECTD_SNMP),--enable-snmp,--disable-snmp) \
$(if $(BR2_PACKAGE_COLLECTD_SWAP),--enable-swap,--disable-swap) \
$(if $(BR2_PACKAGE_COLLECTD_SYSLOG),--enable-syslog,--disable-syslog) \
$(if $(BR2_PACKAGE_COLLECTD_VALUE),--enable-match_value,--disable-match_value) \
$(if $(BR2_PACKAGE_COLLECTD_VMEM),--enable-vmem,--disable-vmem) \
$(if $(BR2_PACKAGE_COLLECTD_WIRELESS),--enable-wireless,--disable-wireless) \
- $(if $(BR2_PACKAGE_COLLECTD_WRITEHTTP),--enable-write_http,--disable-write_http)
+ $(if $(BR2_PACKAGE_COLLECTD_WRITEHTTP),--enable-write_http,--disable-write_http) \
+ $(if $(BR2_PACKAGE_COLLECTD_WRITELOG),--enable-write_log,--disable-write_log) \
+ $(if $(BR2_PACKAGE_COLLECTD_WRITESENSU),--enable-write_sensu,--disable-write_sensu) \
+ $(if $(BR2_PACKAGE_COLLECTD_WRITETSDB),--enable-write_tsdb,--disable-write_tsdb) \
+ $(if $(BR2_PACKAGE_COLLECTD_ZOOKEEPER),--enable-zookeeper,--disable-zookeeper)
COLLECTD_DEPENDENCIES = \
host-pkgconf \
$(if $(BR2_PACKAGE_COLLECTD_APACHE),libcurl) \
$(if $(BR2_PACKAGE_COLLECTD_BIND),libcurl libxml2) \
+ $(if $(BR2_PACKAGE_COLLECTD_CEPH),yajl) \
$(if $(BR2_PACKAGE_COLLECTD_CURL),libcurl) \
$(if $(BR2_PACKAGE_COLLECTD_CURL_JSON),libcurl yajl) \
$(if $(BR2_PACKAGE_COLLECTD_CURL_XML),libcurl libxml2) \
$(if $(BR2_PACKAGE_COLLECTD_DNS),libpcap) \
$(if $(BR2_PACKAGE_COLLECTD_IPTABLES),iptables) \
+ $(if $(BR2_PACKAGE_COLLECTD_LOGSTASH),yajl) \
$(if $(BR2_PACKAGE_COLLECTD_MEMCACHEC),libmemcached) \
$(if $(BR2_PACKAGE_COLLECTD_MODBUS),libmodbus) \
$(if $(BR2_PACKAGE_COLLECTD_MYSQL),mysql) \
$(if $(BR2_PACKAGE_COLLECTD_NETLINK),libmnl) \
$(if $(BR2_PACKAGE_COLLECTD_NGINX),libcurl) \
$(if $(BR2_PACKAGE_COLLECTD_NOTIFY_EMAIL),libesmtp) \
+ $(if $(BR2_PACKAGE_COLLECTD_OPENLDAP),openldap) \
$(if $(BR2_PACKAGE_COLLECTD_PING),liboping) \
$(if $(BR2_PACKAGE_COLLECTD_POSTGRESQL),postgresql) \
- $(if $(BR2_PACKAGE_COLLECTD_RIEMANN),protobuf-c) \
+ $(if $(BR2_PACKAGE_COLLECTD_RIEMANN),libtool protobuf-c) \
$(if $(BR2_PACKAGE_COLLECTD_RRDTOOL),rrdtool) \
$(if $(BR2_PACKAGE_COLLECTD_SENSORS),lm-sensors) \
+ $(if $(BR2_PACKAGE_COLLECTD_SMART),libatasmart) \
$(if $(BR2_PACKAGE_COLLECTD_SNMP),netsnmp) \
$(if $(BR2_PACKAGE_COLLECTD_WRITEHTTP),libcurl)