使用zabbix自带模板对mysql进行监控时,发现mysql5.6以上版本在使用mysqladmin时会发出警告:“Warning: Using a password on the command line interface can be insecure.” 。这样zabbix服务端获取数值的时候,会带有该字符串,导…
一、为mysql运营主库添加一个repl 账号[rootzabbix_server ~]# mysql -uroot -p -S /var/lib/mysql/mysql.sockEnter password:Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connectionid is 15778982Server version:5.7.25MySQL Community Server (GP…