/zabbix-kubernetes-monitoring

Zabbix Kubernetes monitoring

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Description

zabbix-kubernetes-monitoring is zabbix-agent script and template for zabbix server. It is used for Kubernetes monitoring by Zabbix. Easy to deploy and configure. Auto discovery of pods, deployments, services, etc.

Installation

  1. Copy k8s-stats.py to /etc/zabbix/scripts/ and k8s.conf to /etc/zabbix/zabbix_agentd.d/
  2. Import Zabbix template (k8s-zabbix-template.xml) to Zabbix server
  3. Create zabbix user in Kubernetes (can use zabbix-user-example.yml) and set it's token and API server url in k8s-stats.py.
  4. Apply template to host