当前位置:网站首页>zabbix 5.0如何将esxi6.7添加到监控
zabbix 5.0如何将esxi6.7添加到监控
2022-06-29 13:06:00 【姚华】
zabbix 5.0如何将esxi6.7添加到监控
今天有个需求,需要将一台esxi 6.7 server添加到我们的zabbix监控服务器上,将我做的操作踩的一点坑写出来
配置
在配置前,我们需要先修改zabbix server配置文件/etc/zabbix/zabbix_server.conf,启用StartVMwareCollectors参数,默认是不启用的。这里的值我仅设置为2,因为我仅仅需要监控一台esxi服务器,假如有更多的监控数量,可以参考这个servicenum < StartVMwareCollectors < (servicenum * 2)去设置。
修改成功后,重启zabbix-server服务
systemctl restart zabbix-server
然后我们需要在esxi中开启调试功能,在esxi主机管理的高级设置中可以找到Config.HostAgent.plugins.solo.enableMob,将默认的false修改为true,如下图所示
保存后,还需要添加一个独立的只读用户去让zabbix获取esxi参数
添加后赋予权限(主机-->操作-->权限)
配置完成后,我们需要打开https:///mob/?moid=ha-host&doPath=hardware.systemInfo查看主机的uuid
完成后,我们就可以开始在zabbix中添加主机了,这里的主机名称必须是UUID
然后添加宏,这里有一个问题需要注意,因为5.0的变更,宏值现在是
、{VMWARE.USERNAME}、{VMWARE.PASSWORD}、
- {$VMWARE.URL}:这里填https://<esxi_ip>/sdk
- {$VMWARE.USERNAME}:创建的esxi用户
- {$VMWARE.PASSWORD}:创建用户的密码
- {$VMWARE.HV.UUID}:esxi的uuid
边栏推荐
- urllib urllib2
- 在线文本过滤小于指定长度工具
- Detailed explanation of PDB symbol library files
- Getting started with SQLite3
- Problems in replacing RESNET convolution of mmdet with ghost convolution group
- mysql函数和约束
- [graduation season · advanced technology Er] 10.76 million graduates, the most difficult employment season in history? I can't roll it up again. I lie down again and again. Where is the road?
- GBase8s数据库遇到951错误是什么原因?
- [document translation] camouflaged object detection
- Cloud native (31) | kubernetes chapter kubernetes platform basic pre installed resources
猜你喜欢

【黑马早报】中公教育市值蒸发逾2000亿;新东方直播粉丝破2000万;HM关闭中国首店;万科郁亮称房地产已触底;微信上线“大爆炸”功能...

打造一个 API 快速开发平台,牛逼!

WinDbg common commands

Intuition and Implementation: batch normalization
![[document translation] camouflaged object detection](/img/30/73a927c05173a95cc5a5d51e182e3b.png)
[document translation] camouflaged object detection

Weserver publishing map service

Mondo rescue creates an image file (which is conducive to image damage recovery)

goby如何导出扫描结果

二叉树习题总结

Why is the integration of storage and computing a new direction of core making Collision school x Zhicun Technology
随机推荐
vmware虚拟机的作用
Weserver publishing map service
Cloud native (31) | kubernetes chapter kubernetes platform basic pre installed resources
weserver发布地图服务
Use Gerrit + Zadig to realize trunk development and trunk publishing (including byte flying Book Practice)
Industry analysis - quick intercom, building intercom
昨天面试居然聊了半个多小时的异常处理
Openssl证书工具使用手册
How to install MySQL 8.0 on rocky Linux and almalinux
Deecamp2022 officially opened! Likaifu and zhangyaqin personally teach master courses 𞓜 innovation
System.currentTimeMillis() 和 System.nanoTime() 哪个更快?大部分人都会答错!
ANSVC无功补偿装置在河北某购物广场中的应用
How to make dapper support dateonly type
HTAP X 云原生: TiDB 加速释放数据价值,实现数据敏捷
【 网络带宽 】MBps & Mbps
Go unit testing introductory practice
记一次 .NET 某物管后台服务 卡死分析
The node command in the script does not print the execution log on the console
Equivalence class partition method for test case design method
如何优雅的写 Controller 层代码?