zabbix6监控k8s
zabbix6监控k8s
·
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
更多推荐
已为社区贡献33条内容
所有评论(0)