[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: |
![]() ![]() ![]() ![]() ![]() |
||||||||||||||||||||||||||||||||||||||||
Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||
Sub-Tasks: |
|
||||||||||||||||||||||||||||||||||||||||
Epic Name: | Kubernetes | ||||||||||||||||||||||||||||||||||||||||
Team: | |||||||||||||||||||||||||||||||||||||||||
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 |
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 ] |
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, |
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? |
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 |
Comment by Richard Ostrochovský [ 2022 Feb 15 ] |
Hello ychukina, I also found and fixed some dnsPolicy-related issue in combination with DaemonSet, please see |
Comment by Richard Ostrochovský [ 2022 Feb 15 ] |
Hello ychukina, suggested also some further parametrization of K8S service names in the helmchart ( |