Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-2031

Dublicate rows in dservices with Oracle DB

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.1, 1.9.0 (alpha)
    • Fix Version/s: 1.8.3, 1.9.0 (alpha)
    • Component/s: None
    • Labels:
      None

      Description

      if key_ in dservices null and zabbix_server trying search in DB row with discvered service, it execute SQL:
      select dserviceid,dhostid,status,lastup,lastdown,value from dservices where dcheckid=48 and type=12 and key_='' and ip='10.100.187.198' and port=0;

      but for Oracle key_='' not key_=null

      for Oracle need query:
      select dserviceid,dhostid,status,lastup,lastdown,value from dservices where dcheckid=48 and type=12 and key_ is null and ip='10.100.187.198' and port=0;

      I think in sources still encountered similar problems.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dotneft Alexey Pustovalov
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: