[ZBXNEXT-4635] Zabbix Integration with Kubernetes Created: 2018 Jul 11  Updated: 2024 Apr 10  Resolved: 2022 Mar 25

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Agent (G), Frontend (F), Proxy (P), Server (S), Templates (T)
Affects Version/s: 3.4.11
Fix Version/s: 6.0.0beta3, 6.0 (plan), 6.2.0alpha1

Type: Epic Priority: Minor
Reporter: Tammy T Assignee: Yulia Chukina (Inactive)
Resolution: Fixed Votes: 27
Labels: docker, feature, integration, kubernetes, new
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Attachments: Zip Archive K8S icons.zip     PNG File Screenshot 2022-02-07 at 16.23.43.png     PNG File image-2019-08-19-08-38-15-552.png     PNG File image-2021-09-03-02-52-04-891.png     PNG File image-2021-09-03-02-52-35-394.png    
Issue Links:
Duplicate
is duplicated by ZBXNEXT-4639 Zabbix Integration with Kubernetes 2 Closed
Sub-task
depends on ZBXNEXT-7049 Prometheus should support bulk proces... Closed
depends on ZBXNEXT-4865 Prometheus format native support Closed
depends on ZBX-20311 Issue with PromQL rate() and histogra... Closed
part of ZBXNEXT-7047 Prometheus functions should be extended Closed
part of ZBXNEXT-7486 Zabbix Integration with OpenShift Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
ZBXNEXT-6932 Kubernetes Nodes Specification change (Sub-task) Closed Anton Fayantsev  
ZBXNEXT-6933 Zabbix Kuberenetes Helm chart Specification change (Sub-task) Closed Yulia Chukina  
ZBXNEXT-6953 Main template Kubernetes State Metric... Specification change (Sub-task) Closed Anton Fayantsev  
ZBXNEXT-7002 Kubernetes API server  Specification change (Sub-task) Closed Yulia Chukina  
ZBXNEXT-7086 Template Kubernetes Controller manager Specification change (Sub-task) Closed Yulia Chukina  
ZBXNEXT-7087 Template Kubernetes kubelet Specification change (Sub-task) Closed Anton Fayantsev  
ZBXNEXT-7090 Collect metrics from Kubernetes Sched... Specification change (Sub-task) Closed Yulia Chukina  
Epic Name: Kubernetes
Team: Team INT
Team: Team INT
Sprint: Sprint 58 (Nov 2019), Sprint 59 (Dec 2019), Sprint 60 (Jan 2020), Sprint 61 (Feb 2020), Sprint 62 (Mar 2020), Sprint 63 (Apr 2020), Sprint 64 (May 2020), Sprint 65 (Jun 2020), Sprint 66 (Jul 2020), Sprint 67 (Aug 2020), Sprint 68 (Sep 2020), Sprint 69 (Oct 2020), Sprint 70 (Nov 2020), Sprint 71 (Dec 2020), Sprint 72 (Jan 2021), Sprint 73 (Feb 2021), Sprint 74 (Mar 2021), Sprint 75 (Apr 2021), Sprint 76 (May 2021), Sprint 77 (Jun 2021), Sprint 78 (Jul 2021), Sprint 79 (Aug 2021), Sprint 80 (Sep 2021), Sprint 81 (Oct 2021), Sprint 82 (Nov 2021), Sprint 83 (Dec 2021), Sprint 84 (Jan 2022)
Story Points: 8

 Description   

Hello there

 

I know that Zabbix has a few templates that integrate with Docker, but in the last few weeks we've been trying to test the integration with Docker+Kubernetes, with no success.

As Kubernetes use is kinda of new around, we could not find anything on the internet related to this integration, besides a paid customized agent.

Zabbix is an amazing tool and is not fair that the integration with another amazing tool that is Kubernetes is not being "enjoyed" for more users.

 

 



 Comments   
Comment by choijinho [ 2018 Jul 15 ]

plz I know that Zabbix has a few templates that integrate with Docker, but in the last few weeks we've been trying to test the integration with Docker+Kubernetes, with no success. source site plz

Comment by Vitaly Zhuravlev [ 2018 Nov 13 ]

This will be possible to create such template when native Prometheus exporter integration will be implemented: https://www.zabbix.com/roadmap#v4_2

see ZBXNEXT-4865

Comment by gofree [ 2019 Aug 19 ]

Hi, this sounds awesome - looking to the roadmap of 4.4. I sthere a cahnce that zabbix will support monitoring of k8s/openshift clusters ( including pods, deployments, replicas , ... ) ?

 

I did play a bit with kube lld but couldnt get it work fully. Officially supported option will be great if thats the case. It's like everybody is asking for it - zabbix has it all except this one.

 

 

 

 

Comment by gofree [ 2019 Sep 01 ]

any news on this ? nothing has been mentioned in 4.4 alpha versions, also the speech on the event has been withdrawn

Comment by Alex King [ 2019 Oct 01 ]

Also wondering about any news on this. Has this been pushed out or has the release been pushed out and thi swill be still be included? I noticed some recent additions to the whats new list in the 4.4 docs. 

Comment by gofree [ 2019 Oct 14 ]

we're looking to version 5

Comment by gofree [ 2019 Dec 19 ]

is it planned also to monitor conatiner metrics like memory, cpu, storage ? I did play a bit with it and it seemed it was possible via summary endpoint - guess other approacehs could be possible

Comment by Dimitri Bellini [ 2020 Apr 10 ]

Hi DevTeam,

i only ask because most of customers/community are curious about the state of this integration, there are some news on it? Maybe for 5.0?

Thanks

Comment by Dimitri Bellini [ 2021 Jul 22 ]

Hi guys,
some news about it
Thanks

Comment by Richard Ostrochovský [ 2021 Sep 03 ]

I feel, this integration is going to be great thing .

And I would also share something - just yesterday finished ZBX maps "icon pack" for K8S, with images taken from here: https://github.com/kubernetes/community/tree/master/icons.

Here is how it looks like in ZBX:

Maybe not all icons are meaningful for monitoring map, and some were exploited to usages out of K8S concepts, but maybe this would be useful for somebody anyway.

ZIP bundle attached. (I just haven't found a way how to export/import whole pack from/to ZBX.)

Comment by Dimitri Bellini [ 2021 Sep 03 ]

@Richard Ostrochovský: Thanks so much to share this icon package, could be useful as soon we have the K8S integration in Zabbix.

Best regards

Comment by Marco Cavalieri [ 2021 Dec 10 ]

Hi everybody,

Any news about this Topic?
I see it on the roadmap 6.0 and it could be useful with EKS

Comment by Anton Fayantsev (Inactive) [ 2022 Jan 21 ]

Available in:

 

Documentation updated (e00a4d8e470):

Comment by Mathew [ 2022 Jan 24 ]

I've done some testing of the new Templates and fouind an issue.

 

The template uses v1/ComponentStatus which is deprecated in v1.19+. This is because it doesnt work in may  clusters (e.g anyone who has controller-manager and scheduler in seperate containers - such as those using managed clusters)

 

https://github.com/kubernetes/kubernetes/issues/96848

afayantsev Thank you! Fixed. For version 1.19+ ComponentStatus will be ignored.

Comment by Richard Ostrochovský [ 2022 Feb 09 ]

Hello afayantsev, thank you for the solution.

I read, that helmchart requires ZBX 5.4+:

but templates ZBX 6.0+:

I would like to ask, what are limitations,  if Kubernetes monitoring deployed to ZBX 5.4 (and upgrade to 6.0 later, when it will be released). Is such approach doable, or could there be any issues caused by some incompleteness of this monitoring on ZBX 5.4?

Comment by Richard Ostrochovský [ 2022 Feb 14 ]

Hello ychukina / afayantsev, I am not sure if you are notified about comments to closed subtasks, but I reported something about /etc/passwd into ZBXNEXT-6932.

Comment by Richard Ostrochovský [ 2022 Feb 15 ]

Hello ychukina, I also found and fixed some dnsPolicy-related issue in combination with DaemonSet, please see ZBXNEXT-6933. Richard

Comment by Richard Ostrochovský [ 2022 Feb 15 ]

Hello ychukina, suggested also some further parametrization of K8S service names in the helmchart (ZBXNEXT-6933).

Generated at Sat Apr 20 00:54:24 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.