zabbix忘记密码重新设置密码方法

[[email protected] ~]# mysql -uroot -p -e "select * from zabbix.users\G"
Enter password: 
*************************** 1. row ***************************
        userid: 1
         alias: Admin
          name: Zabbix
       surname: Administrator
        passwd: 5fce1b3e34b520afeffb37ce08c7cd66
           url: 
     autologin: 1
    autologout: 0
          lang: en_GB
       refresh: 30
          type: 3
         theme: default
attempt_failed: 0
    attempt_ip: 
 attempt_clock: 0
 rows_per_page: 50
 

这个可以看见自己的密码,但是是md5加密的

[[email protected] ~]# mysql -uroot -p

由于密码是md5加密的,我们可以查看默认的zabbix密码的md5
mysql> use zabbix;

mysql> update users set passwd='5fce1b3e34b520afeffb37ce08c7cd66' where userid='1';

重新设置密码为zabbix

然后登陆 Admin zabbix就行了