当前位置:网站首页>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
边栏推荐
- Openssl证书工具使用手册
- 文物数字藏品,开启文化传承的新方式
- vmware虚拟机的作用
- Hundreds of CVPR people were recruited as new champions. Emoji became a "court witness". M2 MBP was exposed that the hard disk speed was reduced. Today, more big news is here
- June training (day 29) - divide and rule
- sqlite3入门
- Stable currency risk profile: are usdt and usdc safe?
- Uncover the secret! Pay attention to those machines under the membership system!
- Lecun published a research plan for the next decade: AI autonomous intelligence with a 62 page paper
- 电脑时间校对后不自动更新要如何解决
猜你喜欢

如何让 Dapper 支持 DateOnly 类型

微信小程序:云开发表白墙微信小程序源码下载免服务器和域名支持流量主收益

Want to make a wechat game for answering questions? Reading this article is enough
![[graduation season] it's worth it all the way over the past four years -- advice from the senior students](/img/26/d6363603ff57730970497789a05265.png)
[graduation season] it's worth it all the way over the past four years -- advice from the senior students

Online text filter less than specified length tool

weserver發布地圖服務

Write it down once Net analysis of a property management background service stuck

【毕业季·进击的技术er】1076万毕业生,史上最难就业季?卷又卷不过,躺又躺不平,敢问路在何方?

Applet Wechat: un nouveau réseau exclusif de microgroupes de développement de Cloud

ANSVC无功补偿装置在河北某购物广场中的应用
随机推荐
硬件开发笔记(八): 硬件开发基本流程,制作一个USB转RS232的模块(七):创建基础DIP元器件(晶振)封装并关联原理图元器件
OpenSSL certificate tool user manual
php-fpm 启动参数及重要配置详解
golang6 反射
28000 word summary of callable and future interview knowledge points. After reading it, I went directly to ByteDance. Forgive me for being a little floating (Part 2)
微信小程序:云开发表白墙微信小程序源码下载免服务器和域名支持流量主收益
vmware虚拟机的作用
Autonomous and controllable city! Release of the first domestic artiq architecture quantum computing measurement and control system
Normalization layer of pytorch learning (batchnorm, layernorm, instancenorm, groupnorm) [easy to understand]
动荡的中介生意,不安的租房人
goby全端口扫描
手把手教你在windows上安装mysql8.0最新版本数据库,保姆级教学
逆向调试入门-PE文件节表与区块03/07
【黑马早报】中公教育市值蒸发逾2000亿;新东方直播粉丝破2000万;HM关闭中国首店;万科郁亮称房地产已触底;微信上线“大爆炸”功能...
Online text filter less than specified length tool
Cicd introduction [easy to understand]
Discard Tkinter! Simple configuration to quickly generate cool GUI!
Appkey when applying for offline packaging of uniapp
PHP FPM startup parameters and important configuration details
高校女生穿旗袍答辩!网友:导师说论文要是和旗袍一样漂亮就好了