zabbix-tools/zabbix-module-systemd

Include instructions for compiling against 3.0.x packaged versions from yum repos

JCCyC opened this issue · 1 comments

JCCyC commented

Compiling the agent module:

  • Download the exact version of the Zabbix sources that correspond to your running version. Mine is 3.0.9, I put it under /root/src
  • yum groupinstall "Development Tools"
  • yum install dbus-devel libtool gettext autoconf automake
  • ./autogen.sh
  • ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib64 --with-zabbix=/root/src/zabbix-3.0.9 (omit --libdir switch if 32 bit machine; replace src download path with your own)
  • make && make install
  • service zabbix-agent restart
  • pidof zabbix_agentd to see if it's running properly

Importing template XML into zabbix:

  • Edit version tag from 3.2 to 3.0
  • Remove empty <httptests /> tag

Example template has been downgraded to 2.0 version, so any supported Zabbix version should import it without any problem. Commit b210bda.