当前位置:网站首页>zabbix auto-discovery and auto-registration
zabbix auto-discovery and auto-registration
2022-08-02 06:45:00 【Palm nine】
Article table of contents
Configure zabbix auto-discovery and auto-registration.
I. Automatic discovery
1. Configure Network Discovery Rules

Configure Action
Configuration Action



2. Configure agent
Modify three parameters[[email protected] ~]# vim /etc/zabbix/zabbix_agent2.conf### Option: ServerServer=192.168.43.116##### Active checks relatedServerActive=192.168.43.116### Option: HostnameHostname=node23. Verify Autodiscover
Note: Solve the problem that the host name is the IP address after zabbix automatically discovers the host
Solution: dns support, or configure hosts resolution, otherwise the default is the IP address.

Configure host resolution
[[email protected] ~]# cat /etc/hosts127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4::1 localhost localhost.localdomain localhost6 localhost6.localdomain6192.168.43.112 node2192.168.43.116 zabbix[[email protected] ~]# cat /etc/hosts127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4::1 localhost localhost.localdomain localhost6 localhost6.localdomain6192.168.43.112 node2192.168.43.116 zabbixDelete the discovered host; server, client restart
[[email protected] ~]# systemctl restart zabbix-server.service[[email protected] ~]# systemctl restart zabbix-agent2.service
Second, automatic detection
Pause auto discovery first to prevent interference (on the same network segment)
Configure agent
[[email protected] ~]# yum install https://mirrors.aliyun.com/zabbix/zabbix/5.4/rhel/7/x86_64/zabbix-agent2-5.4.0-8.el7.x86_64.rpm[[email protected] ~]# vim /etc/zabbix/zabbix_agent2.conf### Option: ServerServer=192.168.43.116##### Active checks relatedServerActive=192.168.43.116### Option: HostnameHostname=node3[[email protected] ~]# systemctl enable --now zabbix-agent2.serviceCreated symlink from /etc/systemd/system/multi-user.target.wants/zabbix-agent2.service to/usr/lib/systemd/system/zabbix-agent2.service.1. Configure automatic registration
Configure>Action>Autoregistraion action




Restart server and client, quick test


边栏推荐
- There are more and more talents in software testing. Why are people still reluctant to take the road of software testing?
- C language entry combat (13): decimal number to binary
- 51 MCU Peripherals: Infrared Communication
- MySQL联合查询(多表查询)
- Thread Basics (1)
- Point Density-Aware Voxels for LiDAR 3D Object Detection 论文笔记
- Nacos installation configuration and single-machine deployment tutorial
- 上海交大牵手淘宝成立媒体计算实验室:推动视频超分等关键技术发展
- flex layout (flexible layout)
- Automated operation and maintenance tools - ansible, overview, installation, module introduction
猜你喜欢

zabbix邮件报警和微信报警

Integrate ssm (1)

Thread Basics (1)

MySQL Index Common Interview Questions (2022 Edition)
![[Cartoon] 2021 full score programmer behavior comparison table (latest version)](/img/18/2679b35f39b909aa6e013ddf01114b.png)
[Cartoon] 2021 full score programmer behavior comparison table (latest version)

Point Density-Aware Voxels for LiDAR 3D Object Detection Paper Notes

Kingdee International: Lost in half a year and last year, how does the business model of frantically burning money continue

npm does not recognize the "npm" item as the name of a cmdlet, function, script file, or runnable program.Please check the spelling of the name, and if the path is included, make sure the path is corr

APT + Transform 实现多模块应用Application生命周期分发

字节面试题:如何保证缓存和数据库的一致性
随机推荐
Shuttle + Alluxio 加速内存Shuffle起飞
node安装和配置(node-v12.20.2-x64 ) 以及node版本切换介绍
【OpenCV从入门到实践】图像处理技术[像素](全网最详细)
MySQL联合查询(多表查询)
Alluxio为Presto赋能跨云的自助服务能力
Analysis of port 9848 error at startup of Nacos client (non-version upgrade problem)
金山云团队分享 | 5000字读懂Presto如何与Alluxio搭配
如何进行并发数计算(稳定性测试和压力测试)?
Nacos installation configuration and single-machine deployment tutorial
Features and installation of non-relational database MongoDB
Shell 脚本不同玩法
Common functions of pytorch
洛谷小游戏大全(用洛谷的人都得知道)
国际顶会OSDI首度收录淘宝系统论文,端云协同智能获大会主旨演讲推荐
从入门到精通的MySQL数据库视频教程
OAuth 授权协议 | 都云原生时代了,我们应该多懂一点OAuth ?
科技赋能拉萨之“肺”,华为助力拉鲁湿地智慧管理守护绿水青山
MySQL高阶---存储引擎、索引、锁
mysql索引失效的常见9种原因详解
npm ---- install yarn