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

Actions discovery do not work after update to 7.0.6

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 7.0.7rc1, 7.2.0rc3
    • 7.0.6
    • Server (S)
    • None
    • psql (PostgreSQL) 16.3 (Ubuntu 16.3-1.pgdg20.04+1)
    • S24-W48/49
    • 0.125

      Steps to reproduce:

      1. Update from 7.0.0 to 7.0.6

      Result:
      In /var/log/zabbix_server.log when action processing, error:
      2615712:20241205:114920.250 [Z3005] query failed: [0] PGRES_FATAL_ERROR:ERROR:  invalid reference to FROM-clause entry for table "h"

       

      Query:

      select distinct h.hostid,h.proxyid,h.host,h.tls_connect,h.ipmi_authtype,h.ipmi_privilege,h.ipmi_username,h.ipmi_password,h.tls_issuer,h.tls_subject,h.tls_psk_identity,h.tls_psk,h.monitored_by,hp.proxyid 
          from hosts h,interface i,dservices ds 
          left join host_proxy hp on h.hostid=hp.hostid 
          where h.hostid=i.hostid and i.ip=ds.ip and i.useip=1 and h.status=0 and ds.dhostid=399

      Error:

      ERROR: There is an entry for table "h", but it cannot be referenced from this part of the query.invalid reference to FROM-clause entry for table "h" ERROR: invalid reference to FROM-clause entry for table "h" SQL state: 42P01 Detail: There is an entry for table "h", but it cannot be referenced from this part of the query. Character: 273

      Problem maybe in bugfix https://support.zabbix.com/browse/ZBX-25322

            wiper Andris Zeila
            Firestorm1k Dmitry Gladkovskiy
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: