package/collectd: add lvm support
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
d9147c5b4e
commit
cad40006ef
@ -289,6 +289,19 @@ config BR2_PACKAGE_COLLECTD_LOAD
|
||||
help
|
||||
Collects the system load.
|
||||
|
||||
config BR2_PACKAGE_COLLECTD_LVM
|
||||
bool "lvm"
|
||||
depends on !BR2_TOOLCHAIN_USES_MUSL # lvm2 app library
|
||||
select BR2_PACKAGE_LVM2
|
||||
select BR2_PACKAGE_LVM2_APP_LIBRARY
|
||||
help
|
||||
Collects the size of logical volumes (LV) and free space
|
||||
inside a volume group (VG) from Linux' Logical Volume Manager
|
||||
(LVM).
|
||||
|
||||
comment "lvm needs a glibc or uClibc toolchain"
|
||||
depends on BR2_TOOLCHAIN_USES_MUSL
|
||||
|
||||
config BR2_PACKAGE_COLLECTD_MD
|
||||
bool "md"
|
||||
help
|
||||
|
@ -18,7 +18,7 @@ COLLECTD_AUTORECONF = YES
|
||||
# These require unmet dependencies, are fringe, pointless or deprecated
|
||||
COLLECTD_PLUGINS_DISABLE = \
|
||||
apple_sensors aquaero ascent barometer dbi dpdkstat email \
|
||||
gmond hddtemp intel_rdt ipmi java lpar lua lvm \
|
||||
gmond hddtemp intel_rdt ipmi java lpar lua \
|
||||
madwifi mbmon mic multimeter netapp notify_desktop numa \
|
||||
nut oracle perl pf pinba powerdns python routeros \
|
||||
rrdcached sigrok tape target_v5upgrade teamspeak2 ted \
|
||||
@ -89,6 +89,7 @@ COLLECTD_CONF_OPTS += \
|
||||
$(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_LVM),--enable-lvm,--disable-lvm) \
|
||||
$(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) \
|
||||
@ -161,6 +162,7 @@ COLLECTD_DEPENDENCIES = \
|
||||
$(if $(BR2_PACKAGE_COLLECTD_GRPC),grpc) \
|
||||
$(if $(BR2_PACKAGE_COLLECTD_IPTABLES),iptables) \
|
||||
$(if $(BR2_PACKAGE_COLLECTD_LOGSTASH),yajl) \
|
||||
$(if $(BR2_PACKAGE_COLLECTD_LVM),lvm2) \
|
||||
$(if $(BR2_PACKAGE_COLLECTD_MEMCACHEC),libmemcached) \
|
||||
$(if $(BR2_PACKAGE_COLLECTD_MODBUS),libmodbus) \
|
||||
$(if $(BR2_PACKAGE_COLLECTD_MQTT),mosquitto) \
|
||||
|
Loading…
Reference in New Issue
Block a user