690 shaares
3 liens privés
3 liens privés
Configuring zabbix template and mysql access for monitoring mysql
mysql -uroot -p<mysql root password> -e"GRANT USAGE ON *.* TO 'zabbix'@'127.0.0.1' IDENTIFIED BY '123456'";
mysql -uroot -p<mysql root password> -e"GRANT USAGE ON *.* TO 'zabbix'@'localhost' IDENTIFIED BY '123456'";
mysql -uroot -p<mysql root password> -e"flush privileges"
mysql -uzabbix -p123456 -e"status"