summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomofumi Hayashi <tohayash@redhat.com>2018-07-10 13:58:49 +0900
committerTomofumi Hayashi <tohayash@redhat.com>2018-07-10 15:26:57 +0900
commitbfc1db4ee0c098354611b69d2929847a9845f48a (patch)
tree468c92c7471034287b5752b0c49a4fad1060140e
parent3e3432aeec95033853aea02db723d641b558b228 (diff)
Enable write_redis plugin for barometer-collectd
This change is to enable write_redis plugin in collectd due to DMA local-agent is going to use the plugin. Change-Id: I522b41278bb020a48f33ac18f4ad08351e51ca36 Signed-off-by: Tomofumi Hayashi <tohayash@redhat.com>
-rwxr-xr-xci/install_dependencies.sh3
-rw-r--r--src/collectd/Makefile1
-rwxr-xr-xsystems/centos/7/build_base_machine.sh1
-rwxr-xr-xsystems/fedora/22/build_base_machine.sh1
-rwxr-xr-xsystems/rhel/7/build_base_machine.sh1
5 files changed, 7 insertions, 0 deletions
diff --git a/ci/install_dependencies.sh b/ci/install_dependencies.sh
index 3fe1e725..87f8163f 100755
--- a/ci/install_dependencies.sh
+++ b/ci/install_dependencies.sh
@@ -29,6 +29,9 @@ sudo yum -y install rpm-build \
libcap-devel xfsprogs-devel iptables-devel \
libmemcached-devel gtk2-devel libvirt-devel
+# For DMA component
+sudo yum -y install hiredis-devel
+
# For intel-cmt-cat
sudo yum -y install wget
diff --git a/src/collectd/Makefile b/src/collectd/Makefile
index 7d306528..670c14fa 100644
--- a/src/collectd/Makefile
+++ b/src/collectd/Makefile
@@ -47,6 +47,7 @@ CONFIG_CMD += --with-libjevents=/usr/local
CONFIG_CMD += --enable-exec
CONFIG_CMD += --enable-python
CONFIG_CMD += --enable-threshold
+CONFIG_CMD += --enable-write_redis
CONFIG_CMD += --disable-perl
CONFIG_CMD += --with-librdkafka=/usr
CONFIG_CMD += --disable-lvm
diff --git a/systems/centos/7/build_base_machine.sh b/systems/centos/7/build_base_machine.sh
index 68735714..7e1cf2da 100755
--- a/systems/centos/7/build_base_machine.sh
+++ b/systems/centos/7/build_base_machine.sh
@@ -54,6 +54,7 @@ libvirt-daemon
mcelog
wget
net-snmp-devel
+hiredis-devel
# install epel release required for git-review
epel-release
diff --git a/systems/fedora/22/build_base_machine.sh b/systems/fedora/22/build_base_machine.sh
index 5662eb41..c0c61462 100755
--- a/systems/fedora/22/build_base_machine.sh
+++ b/systems/fedora/22/build_base_machine.sh
@@ -49,6 +49,7 @@ git
pciutils
cifs-utils
socat
+hiredis-devel
# install git-review tool
git-review
diff --git a/systems/rhel/7/build_base_machine.sh b/systems/rhel/7/build_base_machine.sh
index 85382ae3..037f87ad 100755
--- a/systems/rhel/7/build_base_machine.sh
+++ b/systems/rhel/7/build_base_machine.sh
@@ -54,6 +54,7 @@ libvirt-daemon
mcelog
wget
net-snmp-devel
+hiredis-devel
# install epel release required for git-review
epel-release