Ad Widget

Collapse

Oracle database, monitor multiple instances on the same host

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mitchell-Zabbix
    Junior Member
    • Feb 2023
    • 10

    #1

    Oracle database, monitor multiple instances on the same host

    Hi all,

    I'm running Zabbix server 6.0.21 LTS and I'm trying to monitor multiple Oracle instances on a RHEL 7.4 host.
    I am using the built in "Template DB Oracle By Zabbix Agent 2​" for this.

    At the moment it works for one instance, so I know the connection works without issues.
    I have configured this by adding the ORACLE_HOME and LD_LIBRARY_PATH variables to /etc/sysconfig/zabbix-agent2.

    Naturally, as the other Oracle instances have different home paths, it can not find those.

    How do I go about this? Is it possible to configure this for multiple instances?

    Thanks in advance!
  • Answer selected by Mitchell-Zabbix at 05-12-2023, 10:43.
    Mitchell-Zabbix
    Junior Member
    • Feb 2023
    • 10

    For anyone running into the same issue, I have managed to achieve this by using ODBC.
    I've used following blog to achieve this: https://blog.zabbix.com/agentless-or...th-odbc/15589/ => configured this on a seperate Zabbix Proxy.

    The blog is no longer fully up to date but it works mostly.
    Follow the instructions on https://www.zabbix.com/integrations/oracle#oracle_odbc for the macros.


    Comment

    • Mitchell-Zabbix
      Junior Member
      • Feb 2023
      • 10

      #2
      For anyone running into the same issue, I have managed to achieve this by using ODBC.
      I've used following blog to achieve this: https://blog.zabbix.com/agentless-or...th-odbc/15589/ => configured this on a seperate Zabbix Proxy.

      The blog is no longer fully up to date but it works mostly.
      Follow the instructions on https://www.zabbix.com/integrations/oracle#oracle_odbc for the macros.


      Comment

      Working...