Ad Widget

Collapse

Zabbix Agent 2, Active and Oracle query

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • StormScorpion
    Junior Member
    • Feb 2024
    • 22

    #1

    Zabbix Agent 2, Active and Oracle query

    Hi,

    I want to use Zabbix Agent 2 on RHEL8 in ActiveMode with Oracle Monitoring by Zabbix Agent. This seems not possible, is this right?

    The host is configured with the Templates ​Oracle by Zabbix agent 2 and Linux by Zabbix agent active and an Agent interface.
    Linux Monitoring is working, Oracle not as Zabbix Server is not able to reach the Zabbix Host.
  • Answer selected by StormScorpion at 07-03-2024, 09:54.
    StormScorpion
    Junior Member
    • Feb 2024
    • 22

    Found the solution.
    • Make a Full Clone of the Template "Oracle by Zabbix agent 2" and name it "Oracle by Zabbix agent 2 active"\
    • Edit all items, item prototypes in discovery and all discovery roles - change type from "Zabbix agent" to "Zabbix agent (active)"
    • Now you can assign and use the new template to your hosts with active agent without an Agent interface
    Tested with Oracle and Postgres template.

    Comment

    • LenR
      Senior Member
      • Sep 2009
      • 1005

      #2
      Take small steps. Is the agent2 for Oracle monitoring OS being monitored by Zabbix? Is it Linux or Windows? If the agent2 host is being monitored, you know Zabbix and that host work. Now debug the agent2 accessing the Oracle environment. (I'll bet that is your problem). Follow this https://www.zabbix.com/integrations/oracle. Check the zabbix agent2 logs, validate that the oracle user can logon, check the logs to see if it IS getting in.

      Comment

      • StormScorpion
        Junior Member
        • Feb 2024
        • 22

        #3
        The Linux OS is monitored by Zabbix. OS monitoring with Zabbix Agent 2 in active mode is working.
        OS and Oracle Monitoring with Zabbix Agent 2 in passive mode is working with a local Zabbix proxy. But I cannot use a proxy at some sites, so I want to have active Agents sending their data to a single Zabbix server.

        This is why I asked if active mode with Oracle is possible, as adding the Oracle template requires an Agent Interface which I don't need for active agent. I tried with the monitored hosts ip and 127.0.0.1, but it didn"t work as they are not reachable from Zabbix server.

        Comment

        • StormScorpion
          Junior Member
          • Feb 2024
          • 22

          #4
          Found the solution.
          • Make a Full Clone of the Template "Oracle by Zabbix agent 2" and name it "Oracle by Zabbix agent 2 active"\
          • Edit all items, item prototypes in discovery and all discovery roles - change type from "Zabbix agent" to "Zabbix agent (active)"
          • Now you can assign and use the new template to your hosts with active agent without an Agent interface
          Tested with Oracle and Postgres template.

          Comment

          Working...