Releases: clear-code/collectd
Releases · clear-code/collectd
collectd 5.12.0.16.g6e9604f
What's this?
This is a forked version of collectd which is intended to use with lua-collectd-monitor.
Changes from original 5.12.0
- Add some missing features to lua plugin
register_config
register_init
register_shutdown
register_notification
dispatch_notification
- Stabilize lua plugin
- Enable to store metadata by postgresql plugin
- Add a new match plugin match_internal
- Add a new match plugin match_ipaddress
- Fix broken "-t" option: collectd#3793
How to installs RPM packages for CentOS 8 to use with lua-collectd-monitor
$ sudo dnf -y install epel-release
$ sudo dnf config-manager --enable epel
$ wget https://github.com/clear-code/collectd/releases/download/5.12.0.16.g6e9604f/collectd-5.12.0.16.g6e9604f-centos8-rpms.tar.xz
$ tar xvf collectd-5.12.0.16.g6e9604f-centos8-rpms.tar.xz
$ cd collectd-5.12.0.16.g6e9604f-centos8-rpms/RPMS/x86_64
$ sudo dnf install collectd-5.12.0.16.g6e9604f-5.el8.x86_64.rpm collectd-lua-5.12.0.16.g6e9604f-5.el8.x86_64.rpm
Appendix: How to install LuaRocks with LuaJIT on CentOS 8
Install prerequisites:
$ sudo dnf -y install epel-release
$ sudo dnf config-manager --enable epel
$ sudo dnf install luajit-devel
Build LuaRocks:
$ wget https://luarocks.org/releases/luarocks-3.3.1.tar.gz
$ tar xvf luarocks-3.3.1.tar.gz
$ cd luarocks-3.3.1
$ ./configure --with-lua-include=/usr/include/luajit-2.1
$ make
$ sudo make install
Appendix: How to build RPM for CentOS-8
Install prerequisites:
$ sudo dnf -y install epel-release
$ sudo dnf config-manager --enable PowerTools --enable epel
$ sudo dnf builddep collectd
$ sudo dnf install git flex bison luajit-devel
Install SRPM and build RPM:
$ wget https://github.com/clear-code/collectd/releases/download/5.12.0.16.g6e9604f/collectd-5.12.0.16.g6e9604f-centos8-rpms.tar.xz
$ tar xvf collectd-5.12.0.16.g6e9604f-centos8-rpms.tar.xz
$ rpm -ivh collectd-5.12.0.16.g6e9604f-centos8-rpms/SRPMS/collectd-5.12.0.16.g6e9604f-5.el8.src.rpm
$ rpmbuild -ba ~/rpmbuild/SPECS/collectd.spec
Appendix: How to build from source code on CentOS-8
Install prerequisites:
$ sudo dnf -y install epel-release
$ sudo dnf config-manager --enable PowerTools --enable epel
$ sudo dnf builddep collectd
$ sudo dnf install git flex bison luajit-devel
Then build collectd:
$ git clone https://github.com/clear-code/collectd.git
$ cd collectd
$ git checkout cc-5.12.0-20210107
$ ./build.sh
$ ./configure LIBLUA_PKG_CONFIG_NAME=luajit
$ make
$ sudo make install