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

Template cloud openstack http -

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 7.4.1
    • Templates (T)

      https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/cloud/openstack/template_cloud_openstack_http.yaml?at=refs%2Fheads%2Frelease%2F7.4

      Zabbix test discovery:

      [{"status":"enabled","host":"ctrl01","disabled_reason":null,"id":1,"updated_at":"2025-08-19T12:59:10.000000","state":"up","zone":"internal","binary":"nova-scheduler"},{"status":"enabled","host":"ctrl03","disabled_reason":null,"id":2,"updated_at":"2025-08-19T12:59:13.000000","state":"up","zone":"internal","binary":"nova-scheduler"},{"status":"enabled","host":"ctrl02","disabled_reason":null,"id":5,"updated_at":"2025-08-19T12:59:08.000000","state":"up","zone":"internal","binary":"nova-scheduler"},{"status":"enabled","host":"ctrl01","disabled_reason":null,"id":1,"updated_at":"2025-08-19T12:59:08.000000","state":"up","zone":"internal","binary":"nova-conductor"},{"status":"enabled","host":"ctrl03","disabled_reason":null,"id":2,"updated_at":"2025-08-19T12:59:06.000000","state":"up","zone":"internal","binary":"nova-conductor"},{"status":"enabled","host":"ctrl02","disabled_reason":null,"id":3,"updated_at":"2025-08-19T12:59:14.000000","state":"up","zone":"internal","binary":"nova-conductor"},{"status":"enabled","host":"kvm01","disabled_reason":null,"id":4,"updated_at":"2025-08-19T12:59:12.000000","state":"up","zone":"W1-az","binary":"nova-compute"},{"status":"enabled","host":"kvm03","disabled_reason":null,"id":5,"updated_at":"2025-08-19T12:59:14.000000","state":"up","zone":"W2-az","binary":"nova-compute"},{"status":"enabled","host":"kvm02","disabled_reason":null,"id":6,"updated_at":"2025-08-19T12:59:10.000000","state":"up","zone":"W1-az","binary":"nova-compute"},{"status":"enabled","host":"kvm04","disabled_reason":null,"id":7,"updated_at":"2025-08-19T12:59:06.000000","state":"up","zone":"W2-az","binary":"nova-compute"}]

       

      and error:

       

      Cannot create item "openstack.nova.services.raw[1]": item with the same key already exists.
      Cannot create item "openstack.nova.services.raw[2]": item with the same key already exists.
      Cannot create item "openstack.nova.services.raw[5]": item with the same key already exists.
      Cannot create item "openstack.nova.services.disabled.reason[1]": item with the same key already exists.
      Cannot create item "openstack.nova.services.disabled.reason[2]": item with the same key already exists.
      Cannot create item "openstack.nova.services.disabled.reason[5]": item with the same key already exists.
      Cannot create item "openstack.nova.services.state[1]": item with the same key already exists.
      Cannot create item "openstack.nova.services.state[2]": item with the same key already exists.
      Cannot create item "openstack.nova.services.state[5]": item with the same key already exists.
      Cannot create item "openstack.nova.services.status[1]": item with the same key already exists.
      Cannot create item "openstack.nova.services.status[2]": item with the same key already exists.
      Cannot create item "openstack.nova.services.status[5]": item with the same key already exists.
      

       

       

      Repair proposal:

      Change the item prototype keys to use the new macro combination. For instance, the key openstack.nova.services.raw[{#ID}] should be changed to openstack.nova.services.raw[{#HOST}-{#BINARY}-{#ID}].

            zit Zabbix Integration Team
            yurus11 Piter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: