Dependency modules for Oracle plugin

Installation of the dependency modules for Oracle plugin if you have Centos/RHEL OS

To use the Oracle plugin, ensure the following modules are installed to connect to the Oracle database:
  1. oracle-instantclient-basic-linux
  2. oracle-instantclient-sdk-linux
  3. cx_Oracle - Python Interface for Oracle Database
Follow the below steps for Centos/RHEL based OS:
  1. Download oracle instantclient rpm from oracle official website -
    Note: If you are using Oracle version 10, go with Oracle Instantclient Version
  2. Move the downloaded rpm to "/tmp" folder.
  3. Execute the below commands:
    cd /tmp
    rpm -ivh <downloaded rpm name>
    sudo yum install libaio
  4. Add Oracle client to library path.
    cd /etc/
    sudo vi oracle.conf
    Add the text "/usr/lib/oracle/12.2/client64/lib" to the end of the file.
    Note: Make sure that this path exists. Path will change based on the instant client version downloaded in Step 1. If "oracle.conf" file is not present, create that file and then add the text.
  5. Install dependency repo
    sudo yum install epel-release
    sudo yum install gcc python-pip.noarch python-devel
  6. Install cx_Oracle python library
    sudo pip install cx_Oracle
    Note: If "pip" is not installed already, install pip using command
    sudo yum install python-pip
Once the modules are installed, download and install the latest version of the Site24x7 Linux monitoring agent and the plugin files. Learn more.

    • Related Articles

    • Install and configure an Oracle plugin in Windows

      Prerequisites Ensure that the Site24x7 Windows server monitoring agent is installed in the system where the Oracle instance is running. Ensure python3 is installed in the system and add it to the Windows path. Refer to the link below for adding ...
    • Troubleshoot the [Errno 111] Connection refused error for Oracle plugins

      When installing Oracle database monitoring plugins, you may encounter the following error: DPY-6005: cannot connect to database. [Errno 111] Connection refused This error indicates that there is an error connecting to the Oracle database server. Here ...
    • Troubleshoot the "ORA-12514" error when installing Oracle plugins

      When installing the Oracle database monitoring plugins, you may encounter the following error: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor: This error typically occurs during attempts to establish a ...
    • What are the dependency modules to be installed while adding a plugin?

      Please find below the list of plugins with their required dependency modules: MySQL - pymysql Redis - redis Postgres - psycopg2 Memcached - memcached MongoDB - pymongo DB2 - ibm_db StatsD - statsd iNode - psutil Twilio - twilio Supervisord - ...
    • How do I add the Dell iDRAC plugin for Windows?

      Prerequisites Install the latest version of the Net-SNMP package. Follow these steps to install and configure it. Install Python 3.6. Plugin Installation Create a folder named idrac. Download the files from our GitHub repository and place them in the ...