k8s节点安装agent

https://git.zabbix.com/projects/ZT/repos/kubernetes-helm/browse?at=refs%2Fheads%2Frelease%2F6.0

helm repo add zabbix-chart-6.0  https://cdn.zabbix.com/zabbix/integrations/kubernetes-helm/6.0

#导出配置,修改配置
helm show values zabbix-chart-6.0/zabbix-helm-chrt > $HOME/zabbix_values.yaml


kubectl create namespace monitoring
helm install zabbix zabbix-chart-6.0/zabbix-helm-chrt --dependency-update -f $HOME/zabbix_values.yaml -n monitoring

k8s模板

在这里插入图片描述

修改模板宏

#获取token
kubectl -n monitoring describe secrets zabbix-service-account-token-jq27d

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

zabbix监控mongodb,需要单独安装插件

wget https://mirrors.tuna.tsinghua.edu.cn/zabbix/zabbix-agent2-plugins/1/rhel/7/x86_64/zabbix-agent2-plugin-mongodb-1.0.0-1.el7.x86_64.rpm
Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐