bl双性强迫侵犯h_国产在线观看人成激情视频_蜜芽188_被诱拐的少孩全彩啪啪漫画

【MySQL】數據庫監控--fpmmm(zabbix)

官網:http://www.fromdual.com?
fpmmm(FromDual?Performance?Monitor?for?MySQL?and?MariaDB)

[root@wallet01?~]#?tar?zxvf?fpmmm-1.0.1.tar.gz?-C?/usr/local
[root@wallet01?~]#?cd?/usr/local/fpmmm-1.0.1/tpl/
[root@wallet01?tpl]#?cp?fpmmm.conf.template?/etc/fpmmm.conf

[root@wallet01?~]#?vi?/etc/fpmmm.conf?
#?Information?for?MySQL?connections:
Username??????=?fpmmm
Password??????=?fpmmm
MysqlHost?????=?localhost
MysqlPort?????=?3306

#?Zabbix?Server?IP?address
ZabbixServer??=?192.168.1.200

[wxhdb]??????????#?This?MUST?match?Hostname?in?Zabbix!
Type??????????=?mysqld
MysqlPort?????=?3306
Modules???????=?mysql?innodb
PidFile???????=?/var/run/mysqld/mysqld.pid

[root@wallet01?~]#?mysql?-uroot?-pabcd.1234
mysql>?grant?process?on?*.*?to?'fpmmm'@'localhost'?identified?by?'fpmmm';
mysql>?grant?replication?client?on?*.*?to?'fpmmm'@'localhost';?
mysql>?grant?replication?slave?on?*.*?to?'fpmmm'@'localhost';??
mysql>?grant?select?on?mysql.user?to?'fpmmm'@'localhost';?
mysql>?flush?privileges;

[root@wallet01?~]#?yum?install?php-cli?php-process?php-mysqli?php-posix

[root@wallet01?~]#?cat?<<?_EOF?>/etc/php.d/fpmmm.ini
variables_order?=?"EGPCS"
date.timezone?=?'Asia/Shanghai'
_EOF

[root@wallet01?~]#?useradd?zabbix
[root@wallet01?~]#?tar?zxvf?zabbix-3.0.20.tar.gz?
[root@wallet01?~]#?cd?zabbix-3.0.20/
[root@wallet01?zabbix-3.0.20]#?./configure?--enable-agent
[root@wallet01?zabbix-3.0.20]#?make?install
[root@wallet01?~]#?ln?-s?/usr/local/bin/zabbix_sender?/usr/bin/zabbix_sender

[root@wallet01?~]#?/usr/local/fpmmm-1.0.1/bin/fpmmm?--config=/etc/fpmmm.conf
1
[root@wallet01?~]#?cat?/var/log/fpmmm/fpmmm.log?

[root@wallet01?~]#?crontab?-e
*?*?*?*?*??/usr/local/fpmmm-1.0.1/bin/fpmmm?--config=/etc/fpmmm.conf
[root@wallet01?~]#?crontab?-l
*?*?*?*?*??/usr/local/fpmmm-1.0.1/bin/fpmmm?--config=/etc/fpmmm.conf

部署zabbix
https://blog.51cto.com/13598811/2097609
一,導入模板
二,創建主機并關聯模板

本文標題:【MySQL】數據庫監控--fpmmm(zabbix)
URL標題:http://vcdvsql.cn/article4/pdcsie.html

成都網站建設公司_創新互聯,為您提供定制開發品牌網站制作虛擬主機商城網站網站制作外貿建站

廣告

聲明:本網站發布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創新互聯

商城網站建設