当前位置:网站首页>Zabbix4.0使用SNMP代理方式监控vcenter6.5
Zabbix4.0使用SNMP代理方式监控vcenter6.5
2022-07-27 20:43:00 【星哥玩云】
公司使用的是vSphere6.5,使用vSphere 6.5进行管理,vSphere部署的是vcsa(vCenter Server Appliance),本质是一台Linux虚拟机。
在使用vsphere client,登陆的时候,发现只能对vcenter配置SNMP trap,将snmp告警信息发送给指定主机,不支持get操作,所以zabbix上不能很好的监控。
vcenter上配置snmp agent
如果配置 vCenter Server Appliance SNMP 代理以用于轮询,则它可以侦听和响应来自 SNMP 管理客户端系统的请求,如 GET、GETNEXT 和 GETBULK 请求.
使用root身份进入vcenter命令行
开启snmp代理
snmp.enable设置snmp端口
snmp.set --port 161配置snmp社区
nmp.set --communities public然后再zabbix服务器上使用snmpwalk命令,看能否获取OID
snmpwalk -v 1 -c public 172.31.207.20
有结果标明配置成功
zabbix上配置
zabbix官网上有现成的模板https://share.zabbix.com/virtualization/vmware/snmp-check-vcenter-vcsa-6-5
导入即可使用
然后再主机中配置,按照常规snmp主机监控方式配置,套用模板即可
这里要注意的是,需要再宏中配置{$SNMP_PORT},不然模板监控项不起作用
等待一段时间,即可自动生效
接下来就是配置合适的触发器和图形即可完成对vcenter的监控。
边栏推荐
- Nature review: preferential effects in the formation of microbial communities
- Helm chart explanation and common commands: helm template / package / plugin
- 怎么使用C# Winform实现复制文件显示进度
- Simple and practical data visualization cases
- The wechat installation package has expanded 575 times in 11 years, and the up owner: "98% of the documents are garbage"; Apple App store was exposed to a large number of pornographic apps; Four techn
- Huawei Hongmeng 3 was officially released, and this security feature has solved a major pain point
- Node-RED系列(三十):使用持久化ui-table 刷新页面不清空上一次的table数据
- Test article
- 360 was selected into the panorama of China's security industry, and isc2022 talked about the direction of security services in 63 fields
- Lanproxy映射本地开发环境
猜你喜欢

机器学习项目可视化展示方法

"The faster the code is written, the slower the program runs."

Learn more about xxE injection

Microsoft Office 2019 download installation activation tutorial (full process diagram)

Introduction to the paper | language model for long text under transformer architecture

【GNN报告】加拿大蒙特利尔唐建:Geometric Deep Learning For Drug Discovery

看GAN如何一步步控制图像生成风格?详解StyleGAN进化过程

Safety foundation 2

Cloud native enthusiast weekly: a complete collection of client go examples

深入了解 XXE 注射
随机推荐
记录一下使用R语言中关于formatC的错误
Node-RED系列(三十):使用持久化ui-table 刷新页面不清空上一次的table数据
[elm classification] classification of UCI data sets based on nuclear limit learning machine and limit learning machine, with matlab code
Tips and extensions of graph theory
Harmonyos third operation
三次握手的Socket交互流程
小程序容器技术超有料,可以让移动研发效率大幅提升
Winform怎么使用FTP实现自动更新
2022/7/24-7/25
CaEGCN: Cross-Attention Fusion based Enhanced Graph Convolutional Network for Clustering 2021
Flink怎么使用Savepoint
How to quickly view the API properties and usage of the h.265 video player easyplayer?
QT with OpenGL(Shadow Mapping)(平行光篇)
营收、利润两位数增长,华润怡宝悄悄打造了这些过亿新品
WWW 2019 | HAN:异质图注意力网络
怎么使用C# Winform实现复制文件显示进度
Simple and practical data visualization cases
Www 2019 | Han: heterograph attention network
Keming food: the average increase in the sales price of various series of products is about 5%
"The faster the code is written, the slower the program runs."