Ad Widget

Collapse

Zabbix Web Interface Login problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eXcusy
    Junior Member
    • Mar 2025
    • 1

    #1

    Zabbix Web Interface Login problem


    I have the following issue with Zabbix:

    I installed the Zabbix virtual appliance, created new users (Admin, sebix). Everything worked fine for two weeks, and I could log in, add hosts, monitor, etc. The issue is as follows: Yesterday, I added 10 switches via SNMP to Zabbix monitoring. This morning, I opened the browser and found myself logged out. I tried logging in several times with the Admin user, but I got an error saying that the password was incorrect or the account was locked.

    I checked the "admin" user and noticed there were failed login attempts, and the values of attempt_clock and attempt_failed were changed. I thought that maybe I entered the wrong password and locked the account so I ran the following commands:

    SET attempt_failed = 0
    SET attempt_clock = 0

    After that, the attempt_failed and attempt_clock values were reset to 0.

    I tried logging in again, but still couldn’t log in. Just to be sure, I changed the password for the Admin user, but it didn’t help, and I still received the same message user and password were 100% valid.

    I also checked the roleID, and it was correctly set to 3. I created a new user "seba" with roleID = 3, and SQL shows that such a user exists, but I still cannot log in to the Zabbix web interface with this new user.

    I’ve tried several options:
    -Using incognito mode in the browser
    -Clearing sessions in SQL
    -Granting database privileges
    -Restarting Zabbix
    -Checking Zabbix logs (there were only 6 lines, and they were related to SNMP for one host)

    In the meantime, I remembered that I have another admin user, "sebix". I logged in successfully using that account, but the problem was with 2FA, as I no longer have access to the phone with the 2FA. Consequently, I couldn’t log in. What’s strange is that after several Zabbix restarts, when I tried to log in again with the "sebix" login, I received the same error message as with the "Admin" user, stating that the password was incorrect or the account was locked is strange becouse 5min ago i can successfully login with this credentials...

    I really have no idea what could be wrong, and I don’t want to reinstall Zabbix from zero since I’ve already added all my hosts for monitoring.

    I would greatly appreciate any help or suggestions.



  • Brambo
    Senior Member
    • Jul 2023
    • 245

    #2
    The times I had login failure when I was sure nothing was changed on the credentials part is when the disk was full of mysql log files.
    So login with SSH and check the available disk space.

    Comment

    Working...