Oracle database monitoring using pyora template - pyzabbix ImportError: cannot import name ZabbixMetric

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Minor
    • None
    • Affects Version/s: 3.2.6
    • Component/s: Installation (I)
    • None
    • Environment:
      RHEL 7

      We are configuring Zabbix for oracle database monitoring using Zabbix-PyOra-ActiveCheck template. We will be receiving the error message in discovery rules as "value should be JSON object"

      /usr/lib/zabbix/externalscripts/pyora-active.py -address <hostname>-database <instance_name> -v
      Traceback (most recent call last):
      File "/usr/lib/zabbix/externalscripts/pyora-active.py", line 19, in <module>
      from pyzabbix import ZabbixMetric, ZabbixSender
      ImportError: cannot import name ZabbixMetric

      Could you please assist to configure pyzabbix.

      Thanks in advance.

            Assignee:
            Unassigned
            Reporter:
            Dineshkumar Natarajan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: