Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.26 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.26 KB

Assorted stuff to use Zabbix with Oracle

Under /redhat there is a RPM spec file to create zabbix-server-oracle package, based in the original by Kodai Terashima [email protected] from the Zabbix official repo at http://repo.zabbix.com.

In order to build the package it's necessary to install the Oracle Instant Client packages available at http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html

Some include file from Oracle overlaps with openldap-devel, so it's necessary to do something like this to build the package:

mv /usr/include/oracle/11.2/client64/ldap.h /usr/include/oracle/11.2/client64/ldap.h.disabled

(that's related to what it's described here https://www.zabbix.com/forum/showthread.php?t=20066)

To install zabbix-server-oracle, as it provides something that zabbix-server requires and the other way around, a quick solution is:

rpm -i zabbix-server-2.0.9-1.el6.x86_64.rpm zabbix-server-oracle-2.0.9-1.el6.x86_64.rpm 

Last, but not least, to build we require the package rpm-macros-rpmforge (http://pkgs.repoforge.org/rpm-macros-rpmforge/) to let rpmnuild filter out the creation of Requires for libs that they are not explicitly provided by the Oracle packages.