当前位置:网站首页>Deploy zabbix-agaent2 and verify
Deploy zabbix-agaent2 and verify
2022-07-19 06:58:00 【wfp___ zzzz】
1. Machine environment preparation 、2 platform zabbix client
2. Pay attention to the right time
yum install ntpdate -y
ntpdate -u ntp.aliyun.com
3. Unified configuration of time zones
mv /etc/localtime{,.bak}
ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
4. Set it up in advance zabbix Of yum Source ,
rpm -Uvh https://mirrors.aliyun.com/zabbix/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm
sed -i ‘s#http://repo.zabbix.com#https://mirrors.aliyun.com/zabbix#' /etc/yum.repos.d/zabbix.repo
yum install -y zabbix-agent2
5. View the configuration file
vi /etc/zabbix/zabbix_agent2.conf
6. Start command
ll /usr/sbin/zabbix_agent2
7. Start client
systemctl enable --now zabbix-agent2
netstat -tnlp | grep zabbix
8. modify agent2 The configuration file
vi /etc/zabbix/zabbix_agent2.conf
Server= Server side ip
ServerActive= Server side ip
Hostname=Hostname
9. restart zabbix-agent2
10. Command on the server side , Take the initiative to get data
yum install -y zabbix-get
11. Command to check whether the server is connected to the client
zabbix_get -s 'ip' -p port -k 'system.hostname'
边栏推荐
- Double code time scale network diagram
- Intranet penetration server building tutorial, NPs use tutorial
- day01(Flume)
- Alien Slackware
- 华为云 鲲鹏ARM云服务器 和 x86云服务器 性能评测对比
- Redraiment的遭遇
- slackware 14.2 安装KDE 5 plasma
- 小迪-网络安全 笔记(1)
- Comparison of advantages and disadvantages between SD NAND and EMMC
- 【自动化测试】——robotframework实战(二)新建测试用例
猜你喜欢

opensuse 安装网易云音乐(tumbleweed)(leap)

Double code time scale network diagram

传奇游戏架设教程

开发板训练:STM32下的多任务程序

阿里云 杭州 ARM 云服务器性能评测

我的世界 1.18.1 Forge版 开服教程,可装MOD,带面板

Tianyi cloud Hangzhou virtual machine (VPS) performance evaluation

Ucloud Shanghai arm cloud server evaluation

Programming learning based on ardunio ide software development

Minecraft Paper 1.18.1 版开服教程,我的世界开服教程,MCSManager9面板使用教程
随机推荐
【自动化测试】——robotframework实战(三)编写测试用例
可怜小凡(模拟)
传奇手游怎么开服?需要投资多少?需要那些东西?
Homework
寄居蟹和海葵
Good partner of single chip microcomputer - CS Genesis SD NAND flash
Learning about STM assembler design
Weight matching (greedy)
Galaxy Kirin server system building local and LAN Yum source
Application case of CS brand sdnand in color detector industry
Hermit crab and anemone
Minecraft Paper 1.18.1 版开服教程,我的世界开服教程,MCSManager9面板使用教程
文本三剑客之awk命令--截取
内网穿透服务器搭建教程,NPS使用教程
[ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter :
ARM服务器搭建 我的世界(MC) 1.18.2 版私服教程
Xiaodi network security - note encryption coding algorithm (6)
Mingming loves drinking water
What is tsd/qsd? What is CS Genesis SD NAND?
Tianyi cloud Hangzhou virtual machine (VPS) performance evaluation