当前位置:网站首页>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


边栏推荐
- 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
- 程序员写PPT的小技巧
- Meta公司新探索 | 利用Alluxio数据缓存降低Presto延迟
- Common functions of pytorch
- 国际顶会OSDI首度收录淘宝系统论文,端云协同智能获大会主旨演讲推荐
- About the directory structure of the web application
- C语言基础知识梳理总结:零基础入门请看这一篇
- 【OpenCV从入门到实践】图像处理技术[像素](全网最详细)
- 分布式文件存储服务器之Minio对象存储技术参考指南
- zabbix自动发现和自动注册
猜你喜欢

APT + Transform to realize multi module Application distributed Application life cycle

nacos安装配置和单机部署教程

A list of 300+ learning resources compiled by senior engineers of the Tao Department (the latest version in 2021)

上海交大牵手淘宝成立媒体计算实验室:推动视频超分等关键技术发展

Deep learning - CNN realizes the recognition of MNIST handwritten digits

【漫画】2021满分程序员行为对照表(最新版)

金山云团队分享 | 5000字读懂Presto如何与Alluxio搭配

保证家里和企业中的WIFI安全-附AC与AP组网实验

51 MCU peripherals: ADC

npm、cnpm的安装
随机推荐
使用TinkerPop框架对GDB增删改查
回文串求解的进阶方法
Shell 脚本不同玩法
APT + Transform 实现多模块应用Application生命周期分发
Meta公司新探索 | 利用Alluxio数据缓存降低Presto延迟
Differences between i++ and ++i in loops in C language
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
25K test old bird's 6-year experience in interviews, four types of companies, four types of questions...
OAuth 授权协议 | 都云原生时代了,我们应该多懂一点OAuth ?
C# 编码规范手册
MySql统计函数COUNT详解
引领需求 为HR价值正名——“人力资源领先模型HRLM”成功首发
A detailed introduction to the deployment and usage of the Nacos registry
Linux CentOS8安装Redis6
nacos registry
leetcode solves the linked list merge problem in one step
Analysis of port 9848 error at startup of Nacos client (non-version upgrade problem)
金山云团队分享 | 5000字读懂Presto如何与Alluxio搭配
Point Density-Aware Voxels for LiDAR 3D Object Detection 论文笔记
腾讯大咖分享 | 腾讯Alluxio(DOP)在金融场景的落地与优化实践