Zabbix do not stop after database fall within 60 min

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Major
    • None
    • Affects Version/s: 6.0.41, 7.0.20, 7.4.4
    • Component/s: None
    • None

      Steps to reproduce:
      1. Create instance with zabbix server and database
      2. Stop database
      3. Check tail -f /var/log/zabbix/zabbix_server.log
      You will get infinity log stream:

      1729485:20251125:211208.621 [Z3001] connection to database 'zabbix' failed: [2002] Can't connect to local server through socket '/var/lib/mysql/mysql.sock' (2)
      1729485:20251125:211208.621 database is down: reconnecting in 10 seconds
      

      4. After >60sec check systemctl status zabbix-server and make sure that server is active.

      Expected behaviour:
      zabbix-server instance will stop after 60 sec of inability of connection to DB.

            Assignee:
            Zabbix Development Team
            Reporter:
            Genadijs Jeniceks
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: