Ad Widget

Collapse

How to setup zabbix-server& web frontend connecting to AWS aurora with docker images?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Andreas Zabbix Guru
    Junior Member
    • Mar 2019
    • 7

    #1

    How to setup zabbix-server& web frontend connecting to AWS aurora with docker images?

    Has someone already experience on how to spin up two docker images on one AWS EC2 server - one for the actual server zabbix/zabbix-server-mysql (using ubuntu zabbix version 3.2) and then also the web frontend docker image zabbix/zabbix-web-apache-mysql (using ubuntu zabbix version 3.2). Idea is to have the Zabbix database hosted at AWS as Aurora database instead of having this as separate container.
    I was trying to follow the link here: https://www.zabbix.com/documentation...ion/containers but I wasn't successful.

    Any recommendation?
  • Andreas Zabbix Guru
    Junior Member
    • Mar 2019
    • 7

    #2
    I have now figured out that the problem for the web frontend zabbix/zabbix-web-apache-mysql (using ubuntu zabbix version 3.2) is that we have our AWS Aurora DB running with another root user name than "root". As there is no parameter to set the MYSQL_ROOT_USER to another value the connection failed. I now created another AWS Aurora DB with the root user "root" and it worked.
    Any thoughts or ideas if there is a way to set another root user name?

    Comment

    • Andreas Zabbix Guru
      Junior Member
      • Mar 2019
      • 7

      #3
      Seems like the solution is here. Zabbix Docker can only deal wiht standard DB root user "root" but not if they are named differently on AWS Aurora. So to overcome this you could follow the instructions here: https://aws.amazon.com/premiumsuppor...er-user-mysql/

      After this the "root" user is there and it is working.

      Comment

      • Andreas Zabbix Guru
        Junior Member
        • Mar 2019
        • 7

        #4
        thank you.

        Comment

        Working...