当前位置:网站首页>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=node2
3. 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 zabbix
Delete 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
边栏推荐
- Analysis of port 9848 error at startup of Nacos client (non-version upgrade problem)
- The installation of NPM, CNPM
- 点云旋转到参考坐标系方向(最小方向包围盒方法)
- Node的安装与环境变量的配置
- The advantages of making web3d dynamic product display
- Double for loop case (use js jiujiu printing multiplication table)
- 无代码生产新模式探索
- [Cartoon] 2021 full score programmer behavior comparison table (latest version)
- Polar Parametrization for Vision-based Surround-View 3D Detection 论文笔记
- 【漫画】2021满分程序员行为对照表(最新版)
猜你喜欢
Machine learning -- - theory of support vector machine (SVM)
View source and switch mirrors in two ways: npm and nrm
金山云团队分享 | 5000字读懂Presto如何与Alluxio搭配
Introduction to coredns
pytorch基本操作:使用神经网络进行分类任务
Block elements, inline elements (
elements, span elements)程序员最重要的能力是什么?
51 MCU Peripherals: Infrared Communication
VMTK环境配置记录
OAuth 授权协议 | 都云原生时代了,我们应该多懂一点OAuth ?
随机推荐
nacos registry
物联网如何改变城市运行效率
What is the most important ability of a programmer?
25K test old bird's 6-year experience in interviews, four types of companies, four types of questions...
HCIP BGP Comprehensive Experiment Establishing peers, route reflectors, federation, route announcement and aggregation
Nacos database configuration
金蝶国际:半年亏掉去年一年,疯狂烧钱的商业模式如何持续
Different ways of shell scripting
线程基础(一)
leetcode-338.比特位计数
Difference between npm and yarn
npm、cnpm的安装
Important concepts of target detection - IOU, receptive field, hole convolution, mAP
C language entry combat (13): decimal number to binary
APT + Transform to realize multi module Application distributed Application life cycle
DNS的解析流程
Machine learning -- - theory of support vector machine (SVM)
深度学习——CNN实现MNIST手写数字的识别
leetcode括号匹配问题——32.最长有效括号
A list of 300+ learning resources compiled by senior engineers of the Tao Department (the latest version in 2021)