当前位置:网站首页>deploy zabbix
deploy zabbix
2022-08-01 19:33:00 【nightingaleV】
准备环境
新建虚拟机,配置dns服务,安装必要软件包
nmcli connection modify ens33 autoconnect yes ipv4.dns 223.5.5.5
dnf install lrzsz wget vim net-tools tree psmisc bash-completion dos2unix -y
dnf install chrony
vim /etc/chrony.conf
vim /etc/chrony.conf
systemctl restart chronyd
systemctl enable chronyd
配置安装yum源
安装zabbix sever
安装zabbix agent
安装zabbix web
安装数据库
配置数据库
配置数据库内容
mysql -e "create database zabbix character set utf8 collate
utf8_bin;" 建库
mysql -e "create user 'zabbix'@'localhost' identified by
'zabbix';" 配置用户
mysql -e "grant all privileges on zabbix.* to
'zabbix'@'localhost';"
导入sql数据
zcat /usr/share/doc/zabbix-sql-scripts/mysql/create.sql.gz | mysql -uzabbix -pzabbix zabbix
mysql -uzabbix -pzabbix zabbix < double.sql
配置zabbix数据库
vim /etc/zabbix/zabbix_server.conf
去掉里面DBpassword的#number and add the password
启动服务
systemctl enable --now httpd.service php-fpm.service zabbix-
server.service zabbix-agent2.service
去weblogin directip加/zabbix/


配置linux和Windows监控
dnf install -y zabbix-agent2
Go to the client installation that needs to be monitored
rpm -ivh
https://mirrors.aliyun.com/zabbix/zabbix/5.0/rhel/8/x86_64/zabbix-release-5.0-
1.el7.noarch.rpm
If the above does not work, install it according to the above deployment method
yum install -y zabbix-agent2
修改/etc/zabbix/zabbix_agent2.confThe following content inside
to the target host
Server=192.168.2.175
ServerActive=192.168.2.175
Hostname=linux-server1
起服务
systemctl enable zabbix-agent2.service --now
服务端测试
zabbix_get -s 192.168.2.175 -k system.uptime
到webinterface to create a host
Start the creation in the upper right corner of the host in the configuration
Take the nested template when done
Click into the host and select a template on the top task bar
Update to check after completion
WindowsGo to the official website to pack
Download Zabbix agents
选择msiVersions can be many fewer steps
边栏推荐
- Try compiling QT test on Allwinner V853 development board
- Screenshot of Selenium in Remote
- CMake教程——Leeds_Garden
- Risc-v Process Attack
- Mobile Zero of Likou Brush Questions
- GBase 8c中怎么查询数据库配置参数,例如datestyle。使用什么函数或者语法呢?
- 不恰当Equatable协议==方法的实现对SwiftUI中@State修饰属性的影响
- 18. Distributed configuration center nacos
- 工作5年,测试用例都设计不好?来看看大神的用例设计总结
- ThreadLocal讲义
猜你喜欢

Ha ha!A print function, quite good at playing!

首篇 NLP 领域图神经网络综述:127 页,从图构建到实际应用面面观

Creo5.0草绘如何绘制正六边形
![57: Chapter 5: Develop admin management services: 10: Develop [get files from MongoDB's GridFS, interface]; (from GridFS, get the SOP of files) (Do not use MongoDB's service, you can exclude its autom](/img/e1/2fa8dcc9c246bbbc2494326a83cda1.png)
57: Chapter 5: Develop admin management services: 10: Develop [get files from MongoDB's GridFS, interface]; (from GridFS, get the SOP of files) (Do not use MongoDB's service, you can exclude its autom

Win11怎么安装语音包?Win11语音包安装教程

How to install voice pack in Win11?Win11 Voice Pack Installation Tutorial

【综述专栏】IJCAI 2022 | 图结构学习最新综述:研究进展与未来展望
如何看待腾讯云数据库负责人林晓斌借了一个亿炒股?

力扣刷题之移动零

哈哈!一个 print 函数,还挺会玩啊!
随机推荐
regular expression
PROE/Croe如何编辑已完成的草图,让其再次进入草绘状态
MySQL开发技巧——并发控制
部署zabbix
From ordinary advanced to excellent test/development programmer, all the way through
SQL的 ISNULL 函数
Win10, the middle mouse button cannot zoom in and out in proe/creo
短视频软件开发,Android开发,使用Kotlin实现WebView
安全作业7.25
modbus bus module DAM-8082
ExcelPatternTool: Excel form-database mutual import tool
MLX90640 Infrared Thermal Imager Temperature Measurement Module Development Notes (Complete)
经验共享|在线文档协作:企业文档处理的最佳选择
力扣刷题之移动零
重保特辑|拦截99%恶意流量,揭秘WAF攻防演练最佳实践
Creo5.0草绘如何绘制正六边形
app直播源码,点击搜索栏自动弹出下拉框
#yyds干货盘点# 面试必刷TOP101: 链表中倒数最后k个结点
AcWing 797. 差分
图文详述Eureka的缓存机制/三级缓存