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

Kubelet - Container memory discovery - preprocessing issue

    XMLWordPrintable

Details

    • Problem report
    • Status: Confirmed
    • Trivial
    • Resolution: Unresolved
    • 6.0.7
    • None
    • Templates (T)
    • None
    • K8s/kubelet 1.22.5 / Ubuntu 20.04

    Description

      Steps to reproduce:

      1. Container memory discovery is working, but the Prometheus to JSON parameter filters out all the results - thus no item prototypes are delivered.
      2. Prometheus to JSON contains the following:
        container_memory_cache\{container =~ ".*", namespace =~ ".*", pod =~ "POD"}
        

        Result:

          No item prototypes are created for any running pods on the system

      Expected:
          I believe the intent may have been to filter accordingly:

           container_memory_cache\{container !~ "POD", namespace =~ ".*", pod =~ ".*"}
      

      After updating the discovery rule's preprocessing steps to the above I can see all the expected output in the results.

      Attachments

        Activity

          People

            zit Zabbix Integration Team
            jkoyle John Koyle
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: