Ad Widget

Collapse

need to separate web interface from zabbix server function

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kevinevans
    Junior Member
    • Jul 2017
    • 5

    #1

    need to separate web interface from zabbix server function

    I see a few examples that are not very detailed. I need to migrate a zabbix frontend web interface to another machine(still pointing to main zabbix server). I did not do the original front end on machine so am looking for details of how to do it.

    on centos6

    What zabbix elements need to be installed on frontend machine?
    zabbix-web-mysql-3.0.4-1.el6.noarch.rpm
    zabbix-web-3.0.4-1.el6.noarch.rpm ??

    Or is it all just a Apache function. Everybody touches on but I'm not quite getting the detail of how to do it. Does mysql need to be on the frontend machine as well? I'm thinking no but maybe I don't understand.

    Been checking forum and elsewhere but maybe I'm just calling it the wrong thing to find it.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    It is possible to run only the Web frontend on another server.

    If you want to run on CentOS 6 you need zabbix-web package, zabbix-web-mysql package, and the environment running PHP 5.4 or later.
    Since CentOS 6 standard PHP version is old, Zabbix 3.0 does not work.

    After that, it is necessary to be able to connect from the server running the Web frontend to the database used by the Zabbix server.
    There is no need for a database on a server running only the Web frontend.

    Comment

    • kevinevans
      Junior Member
      • Jul 2017
      • 5

      #3
      clarity on your answer

      Thank you for the update. These 2 packages are what I thought.
      If I could beg a minute more of your time.

      I can bring up the Zabbix signon screen from my "front end machine" where I installed the 2 packages(zabbix-web.noarch & zabbix-web-mysql.noarch ). But I was expecting it to allow me to sign on and point to my main zabbix server is running. I use the default Admin/zabbix , but get "Login name or password is incorrect" .

      Am I missing something obvious?

      Comment

      • Atsushi
        Senior Member
        • Aug 2013
        • 2028

        #4
        Is the connected database a database that could be logged in before separating the Web frontend?

        Comment

        • kevinevans
          Junior Member
          • Jul 2017
          • 5

          #5
          database

          I guess that is the point. I just install the 2 web packages, I Can bring up the GUI signon but I didn't review the PHP code. Does it require a local database? From earlier discussion my understanding was no. SO is it a chicken or egg conversation- how do get there from here. How do I sign on with no data base to get to the screen to point to a remote Zabbix with server function and a database?

          Comment

          • Atsushi
            Senior Member
            • Aug 2013
            • 2028

            #6
            A local database is not required.
            Please connect to the same database as the zabbix_server process.

            I think that you ran the wizard after installing the Web frontend.
            The connection information to the database you entered may be incorrect.

            Check the information in the configuration file /etc/zabbix/web/zabbix.conf.php.

            Comment

            • kevinevans
              Junior Member
              • Jul 2017
              • 5

              #7
              yes finding zabbix.conf.php on the new web frontend side and updating it resolved the issue.

              Comment

              • kevinevans
                Junior Member
                • Jul 2017
                • 5

                #8
                also I needed to update mysql permissions for database and remote source was required as well.

                Comment

                • allexpetrov
                  Senior Member
                  Zabbix Certified Trainer
                  Zabbix Certified SpecialistZabbix Certified Professional
                  • May 2017
                  • 361

                  #9
                  Yes, you should grant the permissions to the user@hostnameorip to connect and manipulate with the database.

                  You can create additional user for that purpose and perform
                  Code:
                  grant all privileges on zabbix.* to zabbix_web_remote@ipordns identified by '<password>'
                  Regards,
                  Aleksejs!

                  Comment

                  Working...