Ad Widget

Collapse

Kubernetes: Get State Metrics gives an error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Stav
    Junior Member
    • May 2022
    • 4

    #1

    Kubernetes: Get State Metrics gives an error

    Hello everyone!
    I'm trying to configure zabbix template appeared on Zabbix 6. I installed zabbix helm on the cluster by instruction, added a host and applied the template "Kubernetes cluster state by HTTP". Added the cluster URL and tocken.
    Everything works well, I tested several items and they are okay except one, but important one.

    If I go to "Get state metrics" and test it, I get the following message:

    {"error":"Error: cannot get URL: Timeout was reached."}

    I tried to install another helm with state metrics, tried to write the direct URL on the script file, etc; I'm still getting the same error. Also, I tried to run it on a completely new zabbix server: it still doesn't work. If I go to Lens and open zabbix-kube-state-metrics URL, it works well, I can see the metrics.

    Please, tell me what am I doing wrong. Thanks in advance.
  • Stav
    Junior Member
    • May 2022
    • 4

    #2
    Does anyone use the monitoring for Kubernetes? Is it working?
    Maybe, the problem is the version: I see in the description that it was tested only with 1.19, and I need to use 1.21. I was sure that there's a problem with my configuration, but maybe I should send a bug report?

    Comment

    • pizzulicchio
      Junior Member
      • Sep 2013
      • 5

      #3
      Hi,
      i'm having the same errors with Openshift.
      Try to see that case and vote for it: https://support.zabbix.com/browse/ZBXNEXT-7486
      Maybe the same problem ?

      Comment

      Working...