Ad Widget

Collapse

Remote database moved and caused issues with Mass Update.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NE1Scott
    Member
    • Jan 2021
    • 49

    #1

    Remote database moved and caused issues with Mass Update.

    Today my zabbix webpage was dead and after rebooting my zabbix server I realized Zabbix wasn;t starting.

    After investigating I saw that it couldn't find the database.
    Looking at the zabbix.conf file I see that the DB server is a remote server.
    Had someone check that server and they could not find my database.
    After some searching they located my database on another SQL server managed by the same group.
    I changed the zabbix.conf file and the web conf file to point to the new database server and then rebooted my zabbix server.
    I see the message [[ Zabbix supports only "utf8_bin" collation. Database "zep_1_zabbix" has default collation "utf8_general_ci" but it doesn't seem to be stopping it from starting. ]]
    The web gui started working again but was very slow to populate after I logged in.

    The first problem I've found after finally getting the GUI working is that when I go to Monitoring ---> Problems and select unacknowledged issues it seems to get stuck if I select more than 2 or 3 on the main page.
    I seem to be able to select all on page 2 and 3 and the mass update worked without a hitch, but now page1 is stiuk and has been stuck for the past 30 minutes with the spinning busy icon right after clicking the "mass update" button.

    What else should I expect to be a problem after having this database moved to a different server ?

    I have to also figure out how to back up this remote server as I am not a db guy.
    "mysqldump -u root -p zep_1_zabbix > zep_1_zabbix.sql.$NOW" is what i would use if the database was local, but it's on a remote DB server.
  • NE1Scott
    Member
    • Jan 2021
    • 49

    #2
    zabbix-web-deps-scl-5.0.13-1.el7.noarch
    zabbix-server-mysql-5.0.13-1.el7.x86_64
    zabbix-web-mysql-scl-5.0.13-1.el7.noarch
    zabbix-get-5.0.13-1.el7.x86_64
    zabbix-apache-conf-scl-5.0.13-1.el7.noarch
    zabbix-web-5.0.13-1.el7.noarch
    zabbix-agent-5.0.13-1.el7.x86_64
    zabbix-release-5.0-1.el7.noarch

    Comment

    • NE1Scott
      Member
      • Jan 2021
      • 49

      #3
      Selecting oldest first in small increments I whittled it down to just 1 problem. That 1 problem goes to spinning busy icon when I select it and click "Mass update".

      I will have to wait for a new page of issues in the next 24 hours to test "select-all" button again after figuring our how to acknowledge this one troublemaker.

      Clicking on the "No" in the Ack column has the same effect as clicking mass update with this line selected. (spinning busy ring forever)

      Comment

      • NE1Scott
        Member
        • Jan 2021
        • 49

        #4
        Had an alternate database restored and the issues are gone.

        Comment

        Working...