Where does one obtain DBD::Oracle RPMs for RHEL
Where does one obtain DBD::Oracle RPMs for RHEL
Nagios XI 5.2.9 installed on RHEL 6.8.
I want to monitor Oracle databases using one of the check_oracle plugins, so I need DBI (no problem) and DBD::Oracle.
Unfortunately, DBD::Oracle is not available in any RedHat repositories it seems, nor have I been able to find it in any other legit repository.
Compilation from CPAN source is the last option (and it works, I did it in the proof of concept phase) but that is a nuisance because it is difficult to fit that into our monthly patch cycle.
How did others solve this issue?
*Edit: Nagios version incorrect*
I want to monitor Oracle databases using one of the check_oracle plugins, so I need DBI (no problem) and DBD::Oracle.
Unfortunately, DBD::Oracle is not available in any RedHat repositories it seems, nor have I been able to find it in any other legit repository.
Compilation from CPAN source is the last option (and it works, I did it in the proof of concept phase) but that is a nuisance because it is difficult to fit that into our monthly patch cycle.
How did others solve this issue?
*Edit: Nagios version incorrect*
--
Martijn
Martijn
Re: Where does one obtain DBD::Oracle RPMs for RHEL
Did you try yum list perl-dbd-oracle, or yum list | grep dbd?
I think perl modules are in the format shown or lower case, separated w/ a dash. Try yum list | grep ^perl for examples. It looks like a lor of modules come from epel and repoforge.
I think perl modules are in the format shown or lower case, separated w/ a dash. Try yum list | grep ^perl for examples. It looks like a lor of modules come from epel and repoforge.
Code: Select all
perl-Sys-Syslog.x86_64 0.27-1.el6.rf rpmforge
perl-Sys-Virt.x86_64 0.10.2-6.el6 rhel-6-server-rpms
perl-Sysadm-Install.noarch 0.36-1.el6 epel
perl-SyslogScan.noarch 0.32-1.2.el6.rf rpmforge
perl-SystemC-Vregs.noarch 1.463-2.el6 epel-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Where does one obtain DBD::Oracle RPMs for RHEL
Admittedly I'm using CentOS 7.0.1406, but
I poked around online for that module, but I came up with the same thing you did.
What is it that you want to monitor that you can't with XI's built in Oracle support? Maybe we can help you find another way.
Code: Select all
[root@localhost ~]# yum list | grep dbd
libdbi-dbd-mysql.x86_64 0.8.3-16.el7 base
libdbi-dbd-pgsql.x86_64 0.8.3-16.el7 base
libdbi-dbd-sqlite.x86_64 0.8.3-16.el7 base
What is it that you want to monitor that you can't with XI's built in Oracle support? Maybe we can help you find another way.
Re: Where does one obtain DBD::Oracle RPMs for RHEL
I tried a yum list | grep -I dbd and now see some w/ perl-DBI in the name, but not oracle.
It looks like you first want to install DBI: yum install perl-dbi
The package is a tar file so it wants to be compiled. DBDs are usually modules that use a binary, hence compiling is needed.
http://search.cpan.org/~pythian/DBD-Ora ... /Oracle.pm
I did see some reference to an rpm, but didn't chase it down. The OP may want to ask the internet, or see if support answers...
It looks like you first want to install DBI: yum install perl-dbi
The package is a tar file so it wants to be compiled. DBDs are usually modules that use a binary, hence compiling is needed.
http://search.cpan.org/~pythian/DBD-Ora ... /Oracle.pm
I did see some reference to an rpm, but didn't chase it down. The OP may want to ask the internet, or see if support answers...
Re: Where does one obtain DBD::Oracle RPMs for RHEL
You can also try installing DBD::Oracle via cpan:
Code: Select all
cpan -i DBD::OracleBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Where does one obtain DBD::Oracle RPMs for RHEL
Yeah. That module has to be built against the Oracle client libraries. Went through the same exercise myself. I just used cpan, after installing the Oracle client. You can use the instantclient, available as a package from Oracle. Or you can download the full thing.
Re: Where does one obtain DBD::Oracle RPMs for RHEL
Thanks all, for the replies and suggestions.
Regarding the DBD modules that are available on our system (which has the standard RHEL repos configured as well as some optional ones): there's no Oracle there:
Regarding the DBD modules that are available on our system (which has the standard RHEL repos configured as well as some optional ones): there's no Oracle there:
Code: Select all
[root@host ~]# yum list | grep dbd
libdbi-dbd-mysql.x86_64 0.8.3-5.1.el6 rhel6-x86_64
libdbi-dbd-pgsql.x86_64 0.8.3-5.1.el6 rhel6-x86_64
libdbi-dbd-sqlite.x86_64 0.8.3-5.1.el6 rhel6-x86_64-optionalI was under the impression that DBD::Oracle is a requirement to be able to connect to Oracle itself (i.e., as a service) and monitor things like table space usage, fragmentation, etc. In fact, Installing-Oracle-Plugins-in-Nagios-XI.pdf also shows that DBD is a requirement for check_xi_oraclequery / check_xi_oracleserverspace / check_xi_oracletablespace.dwhitfield wrote:What is it that you want to monitor that you can't with XI's built in Oracle support? Maybe we can help you find another way.
I'm aware of that method, but CPAN is not currently whitelisted in our environment. That is, it's not accessible from within the datacenter.lmiltchev wrote:You can also try installing DBD::Oracle via cpan
--
Martijn
Martijn
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Where does one obtain DBD::Oracle RPMs for RHEL
If it's not in the base repositories then you'll either have to compile or find a repository that meets your requirements.
I know our Oracle documentation works as I tested it for some updates a few days ago. It also clearly states we are not authorized to redistribute Oracle software and offers our customers an Oracle licensing safe method. This includes a scripted compilation of the CPAN module. How to Install & Configure the Oracle Client & Plugins
I know our Oracle documentation works as I tested it for some updates a few days ago. It also clearly states we are not authorized to redistribute Oracle software and offers our customers an Oracle licensing safe method. This includes a scripted compilation of the CPAN module. How to Install & Configure the Oracle Client & Plugins
Previous Nagios employee
Re: Where does one obtain DBD::Oracle RPMs for RHEL
At least DBD::Oracle doesn't change often... (latest update in 2014).avandemore wrote:If it's not in the base repositories then you'll either have to compile or find a repository that meets your requirements.
Interesting... DBD::Oracle is NOT Oracle software. The copyright is not held by Oracle, and the software is distributed under the GPL. From the LICENSE file:avandemore wrote:I know our Oracle documentation works as I tested it for some updates a few days ago. It also clearly states we are not authorized to redistribute Oracle software and offers our customers an Oracle licensing safe method. This includes a scripted compilation of the CPAN module. How to Install & Configure the Oracle Client & Plugins
Looks like someone got themselves handcuffed by OracleThis software is copyright (c) 1994 by Tim Bunce.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
--
Martijn
Martijn
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Where does one obtain DBD::Oracle RPMs for RHEL
It's build and runtime requirements require Oracle software.Interesting... DBD::Oracle is NOT Oracle software. The copyright is not held by Oracle, and the software is distributed under the GPL. From the LICENSE file:
Previous Nagios employee