Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

How to configure and enable Kubernetes Monitoring using Zabbix?

  • Method 1 – Using Zabbix in Kubernetes Template
  • Method 2 – Using prometheus operator in Kubernetes clustor & Zabbix Integration with prometheus
  • Method 3 – Using Zabbix operator – Under Developement

Method 1 – Using Zabbix in Kubernetes Template

Step 1 – Setup a Kubernetes Clustor

Step 2 – How Kubernetes Monitoring Works?

All the moniotring is done using

  • Docker – Its a running deamon, you can find in each host
  • Kubelet – Its a running deamon, you can find in each host
  • API of Kubernetes Components such API server,Controller manager, Scheduler etc

Step 3 – Understand How to fetch metrices from API in Kubernetes?

You need 2 information

  • API Adress(URL). ie. {$KUBE.API.SERVER.URL}
  • Access (Password – Token – Certificate). ie. {$KUBE.API.TOKEN}

Step 4 – Decice what you want to monitor? Choose a template accordingly.

  • Kubernetes API server by HTTP
  • Kubernetes cluster state by HTTP
  • Kubernetes Controller manager by HTTP
  • Kubernetes kubelet by HTTP
  • Kubernetes nodes by HTTP
  • Kubernetes Scheduler by HTTP

Step 5 – Add Host in Zabbix and Choose Kubernetes template and Set your template Macros as the per setup

  • https://github.com/sleepka/zabbix-kubernetes-monitoring
  • https://github.com/FU-Solutions/zabbix_kubernetes_checks

Method 2 – Using prometheus operator in Kubernetes clustor & Zabbix Integration with prometheus

  • prometheus is written in golang
  • kubernetes is written in golang
  • prometheus is a cncf project like kubernetes
  • prometheus integ with kubernetes is very powerful compare to all
  • To monitor kubernetes, prometheus has kubernetes operator which is very powerful and easy

https://www.zabbix.com/integrations/prometheus

Method 3 – Using Zabbix operator – Under Developement

Rajesh Kumar
Follow me
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x