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

Dublicate rows in dservices with Oracle DB

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 1.8.3, 1.9.0 (alpha)
    • 1.8.1, 1.9.0 (alpha)
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: