当前位置:网站首页>MySQL monitoring 2
MySQL monitoring 2
2022-06-30 01:27:00 【franket】
Try running the status collection script
[[email protected] scripts]# /var/lib/zabbix/percona/scripts/get_mysql_stats_wrapper.sh gg
/var/lib/zabbix/percona/scripts/get_mysql_stats_wrapper.sh: line 35: /usr/bin/php: No such file or directory
ERROR: run the command manually to investigate the problem: /usr/bin/php -q /var/lib/zabbix/percona/scripts/ss_get_mysql_stats.php --host localhost --items gg
[[email protected] scripts]#
Install dependency packages
Here we are prompted that... Is not installed in our system php , We put it on , At the same time, we also install php-mysql , It provides php Connect mysql Needed DBI
[[email protected] scripts]# yum install php php-mysql
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.pubyun.com
* extras: mirrors.yun-idc.com
* updates: mirrors.pubyun.com
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.3.3-46.el6_6 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-5.3.3-46.el6_6.x86_64
--> Processing Dependency: php-cli(x86-64) = 5.3.3-46.el6_6 for package: php-5.3.3-46.el6_6.x86_64
---> Package php-mysql.x86_64 0:5.3.3-46.el6_6 will be installed
--> Processing Dependency: php-pdo(x86-64) for package: php-mysql-5.3.3-46.el6_6.x86_64
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: php-mysql-5.3.3-46.el6_6.x86_64
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: php-mysql-5.3.3-46.el6_6.x86_64
--> Running transaction check
---> Package Percona-Server-shared-51.x86_64 0:5.1.73-rel14.12.624.rhel6 will be installed
---> Package php-cli.x86_64 0:5.3.3-46.el6_6 will be installed
---> Package php-common.x86_64 0:5.3.3-46.el6_6 will be installed
---> Package php-pdo.x86_64 0:5.3.3-46.el6_6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================
Package Arch Version Repository Size
========================================================================================================================
Installing:
php x86_64 5.3.3-46.el6_6 updates 1.1 M
php-mysql x86_64 5.3.3-46.el6_6 updates 86 k
Installing for dependencies:
Percona-Server-shared-51 x86_64 5.1.73-rel14.12.624.rhel6 percona-release-x86_64 2.1 M
php-cli x86_64 5.3.3-46.el6_6 updates 2.2 M
php-common x86_64 5.3.3-46.el6_6 updates 529 k
php-pdo x86_64 5.3.3-46.el6_6 updates 79 k
Transaction Summary
========================================================================================================================
Install 6 Package(s)
Total download size: 6.1 M
Installed size: 19 M
Is this ok [y/N]: y
Downloading Packages:
...
...
Installed:
php.x86_64 0:5.3.3-46.el6_6 php-mysql.x86_64 0:5.3.3-46.el6_6
Dependency Installed:
Percona-Server-shared-51.x86_64 0:5.1.73-rel14.12.624.rhel6 php-cli.x86_64 0:5.3.3-46.el6_6
php-common.x86_64 0:5.3.3-46.el6_6 php-pdo.x86_64 0:5.3.3-46.el6_6
Complete!
[[email protected] scripts]#
边栏推荐
猜你喜欢
Stimulus reports reporting tool, stimulus creates and builds reports
3-6sql injection website instance step 5: break through the background to obtain web administrator permissions
cookie加密8
postman 之接口关联
C语言 继续(3n+1)猜想
Mechanical --nx2007 (UG) -- gap analysis (interference inspection)
ResizeKit2.NET大小和分辨率独立
C语言 素数对猜想
Cantilever beam calculation [matlab code]
传统微服务框架如何无缝过渡到服务网格 ASM
随机推荐
【机器学习Q&A】准确率、精确率、召回率、ROC和AUC
Cookie encryption 12
Mysql 监控5
【PyTorch实战】生成对抗网络GAN:生成动漫人物头像
Cookie encryption 11
Seata and the three platforms are working together in the summer of programming. Millions of bonuses are waiting for you
Sklearn notes: make_ Blobs generate clustering data
Interview summary
Precautions for postoperative fundus hemorrhage / / must see every day
Pytroch Learning Notes 6: NN network layer convolution layer
如何统一项目中包管理器的使用?
I learned database at station B (V): DQL exercise
C语言 一元多项式求导
C语言 害死人不偿命的(3n+1)猜想
Analysis of natural frequency and buckling load of cylinder by finite element method
Error reporting in Luban H5 installation
Cantilever beam calculation [matlab code]
Mysql 监控
Vl6180x distance and light sensor hands-on experience
Quality management of functional modules of MES management system