Looking for Zabbix reset admin password option?
Forgetting the Zabbix admin password puts any user in a tough spot.
Luckily, Zabbix allows users to change the admin password and regain access in different ways.
At Bobcares, we often get requests from our customers to reset the Zabbix Admin password as part of our Server Management Services.
Today, we’ll see the reasons and how our Support Engineers change the Zabbix Admin password and fix errors.
Zabbix reset admin password – How we do it
Zabbix is a free network monitoring Software tool for Linux servers to track the system activities and evaluate the performance of the IT infrastructure.
It comes with a user-friendly Zabbix web interface that helps to manage actions easily. This involves adding new servers, services, removing them from monitoring and so on. However, customers often forget their password and Zabbix becomes inaccessible. To regain access, the only option is to change the admin password.
So, we’ll see how our Support Engineers change the admin password for our customers. The method differs based on the back-end database server that Zabbix uses.
1. Zabbix Server installed with PostgreSQL
When Zabbix uses the PostgreSQL server, we will use the following commands.
1. Initially, we connect to login Postgres and launch psql.
sudo -u postgres psql
2. Then, use the following command to connect to the Zabbix database:
\c OUR_ZABBIX_DB
3. Next, we change the password.
update users set passwd=md5('NEW_PASSWORD') where alias='Admin';
4. We exit PostgreSQL with the following command.
\q
2. Zabbix Server using MySQL or MariaDB
In MySQL or MariaDB server, we use the following commands to change the Zabbix password.
1. Firstly, we login on MySQL or MariaDB from Linux command prompt through User that has full access to the Zabbix database.
mysql -u root -p
2. Then, we connect to the Zabbix database.
mysql> use YOUR_ZABBIX_DATABASE;
3. Next, we change the password.
mysql> update users set passwd=md5('YOUR_NEW_PASSWORD') where alias='Admin';
4. We logout from MySQL or MariaDB.
mysql> exit;
Once the password has recovered, we can access the admin panel via http://your_server_ip/zabbix.
That’s it.
3. How to reset Zabbix Admin password via frontend
Sometimes, customers may want to change their password often due to security purposes. Now, let’s see how our Support Engineers do it via the Zabbix frontend.
1. We access the admin panel via http://xx.x.x.x/zabbix.
2. Then, we go to Administration >> Users and click on Admin.
3. On the page, we can change the Zabbix admin password.
This is how we change the Zabbix admin password through the front-end.
[Having trouble with retrieving Zabbix Admin password? We’ll fix it for you.]
Conclusion
In today’s article, Zabbix is free monitoring software for networks and applications to check what is going on the server. Today, we saw how our Supported Engineers reset the Zabbix admin password in different ways.
0 Comments