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

Add preferably cluster name in host group name in template_kubernetes_nodes

XMLWordPrintable

    • Sprint 89 (Jun 2022), Sprint 90 (Jul 2022)
    • 1

      Configure Kubernetes monitoring on multiple OpenShift clusters
      The first cluster will discover its nodes and add them to the respective Kubelet, Worker and Master groups
      The second and higher cluster discovers the nodes but does not add them to the kubelet worker and master groups.
      Error message: Cannot create group: group with the same name [insert kubelet, worker or master group here] already exists.
      'Kubernetes/Nodes/Role: {#ROLES}'

      Apparently, getting the name of the cluster through the api request will not work (https://github.com/kubernetes/kubernetes/issues/44954 ?)

      As a simple solution, you can add the cluster name to the group name explicitly or through a User macro, but it will be more convenient if this is automated.
      Alternatively, it can be taken from the API address - host (<scheme>://<host>:<port>/api)
      '<HOST>: Kubernetes/Nodes/Role: {#ROLES}'

      Regards, Elina

            ychukina Yulia Chukina (Inactive)
            elina.kuzyutkina Elina Kuzyutkina (Inactive)
            Team INT
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: