[ZBX-20607] Kube-State-Metrcis metrics/cadvisor goes on HTML page and can't parse data correctly Created: 2022 Feb 17  Updated: 2025 May 19

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent2 plugin (G), Server (S)
Affects Version/s: 6.0.0
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Marco Cavalieri Assignee: Alexander Bakaldin
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2022-02-17-15-07-05-290.png    

 Description   

Steps to reproduce:

 Create an AWS ALB for Kubernetes Template for not pointing at Kube-state-metrics IP

Result:

Expected:
We Expected some data from KubeState Metrics before the Prometheus Parsing



 Comments   
Comment by Alexey Pustovalov [ 2022 Feb 18 ]

where do you see such url?

Comment by Marco Cavalieri [ 2022 Feb 18 ]

Hi Alexey,

This is the custom ALB URL I'm using for best practice. I don't want to point directly to the kube-state-metrics endpoint.

Regards,
Marco

Comment by Alexey Pustovalov [ 2022 Feb 18 ]

so you changed URL (what macro), where? did you try to use cadvisor/metrics ?

Comment by Marco Cavalieri [ 2022 Feb 18 ]

Hi,

Yes i changed the {$KUBE.KUBELET.URL} and I tried cadvisor/metrics but with the same results.

Regards,
Marco

Comment by Alexey Pustovalov [ 2022 Feb 20 ]

where did you change it?

Comment by Marco Cavalieri [ 2022 Feb 20 ]

On the Host Macros.

Comment by Alexey Pustovalov [ 2022 Feb 21 ]

did you try to specify cadvisor/metrics on template level?

Comment by Marco Cavalieri [ 2022 Feb 21 ]

Yes I Tried but with the same result

Comment by Marco Cavalieri [ 2022 Mar 04 ]

Hi Guys,

Any news about this topic?

Regards,
Marco

Generated at Tue Jun 24 06:40:44 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.