I had some difficulties when trying to install collectd on Redhat 7 – the error was
No package collectd available.
I tried different method, and ends up with this solution
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -i epel-release-latest-7.noarch.rpm
yum install collectd