当前位置:网站首页>Mysql 监控5
Mysql 监控5
2022-06-30 01:19:00 【franket】
再试试,就一切正常了
[[email protected] ~]# sudo -u zabbix -H /var/lib/zabbix/percona/scripts/get_mysql_stats_wrapper.sh running-slave
1
[[email protected] ~]# su - zabbix
[[email protected] ~]$ /var/lib/zabbix/percona/scripts/get_mysql_stats_wrapper.sh running-slave
1
[[email protected] ~]$ 然后重启 zabbix-agent ,只有重启,zabbix-agent 才能读到变化后的配置
[[email protected] ~]# /etc/init.d/zabbix-agent restart
Shutting down Zabbix agent: [ OK ]
Starting Zabbix agent: [ OK ]
[[email protected] ~]# 连接测试
在 zabbix-server 测试一下连接
[[email protected] ~]# zabbix_get -s mysql-server -p 10050 -k "MySQL.running-slave"
1
[[email protected] ~]# zabbix_get -s mysql-server -p 10050 -k "MySQL.Threads-connected"
1
[[email protected] ~]# zabbix_get -s mysql-server -p 10050 -k "MySQL.max-connections"
2048
[[email protected] ~]# 边栏推荐
- UDP servers and clients in go
- 利用huggingface进行文本分类
- 【Proteus仿真】8比特端口檢測8獨立按鍵
- Ansible ad-hoc 临时命令
- Sentinel source code analysis Part 8 - core process - sphu Entry current limiting execution
- xshell中怎么切换到root用户
- Machine learning notes: time series decomposition STL
- 挖财的课程靠谱吗,让开户安全吗?
- Wechat applet - requestsubscribemessage:fail can only be invoked by user tap gesture
- Good test / development programmers vs. average programmers
猜你喜欢

How to seamlessly transition from traditional microservice framework to service grid ASM

R语言线性回归模型拟合诊断异常值分析家庭燃气消耗量和卡路里实例带自测题

快手伸手“供给侧”,找到直播电商的“源头活水”?

Vl6180x distance and light sensor hands-on experience

Seata et les trois plateformes travaillent main dans la main pour programmer Summer, un million de bonus vous attend

赛芯电子冲刺科创板上市:拟募资6.23亿元,共有64项专利申请信息

latex如何输入一个矩阵

The listing of Symantec electronic sprint technology innovation board: it plans to raise 623million yuan, with a total of 64 patent applications

Machine learning notes: time series decomposition STL
![[recommendation system] concise principle and code implementation of user based collaborative filtering](/img/3b/d46e37e7ae245cf2931d32d1ebbe4c.png)
[recommendation system] concise principle and code implementation of user based collaborative filtering
随机推荐
[concurrent programming] if you use channel to solve concurrency problems?
测试用例设计方法之等价类划分方法
Solve the problem of repairing Visual Basic exceptions with excel/wps plug-in of choice financial terminal
Seata and the three platforms are working together in the summer of programming. Millions of bonuses are waiting for you
【论文写作】英文论文写作指南
[deep learning compilation] operator compilation IR conversion
Mechanical --nx2007 (UG) -- gap analysis (interference inspection)
How does webapi relate to the database of MS SQL?
2020-12-03
I learned database at station B (V): DQL exercise
挖财的课程靠谱吗,让开户安全吗?
第八届“互联网+”大赛 | 云原生赛道邀你来挑战
一文读懂,MES管理系统模块功能
HC32M0+ GPIO
[three.js] Web3D first experience
首届·技术播客月开播在即
How to seamlessly transition from traditional microservice framework to service grid ASM
[recommended] how to quickly locate a bug during testing
【Proteus仿真】8比特端口檢測8獨立按鍵
Solution to webkitformboundaryk in post request