Ad Widget

Collapse

How to install zabbix without DB

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • propusgemini@gmail.com
    Senior Member
    • Mar 2018
    • 108

    #1

    How to install zabbix without DB

    I'd like install zabbix server without Database , beucause the DB will be created on aws rds.

    How to exclude DB during installation? all instructions i've found include it
  • james.cook000@gmail.com
    Member
    • Apr 2018
    • 49

    #2
    Hi,

    The gist would be....

    First with RDS (assuming PostgreSQL):

    1. Create Database Role 'zabbix'
    2. Create Database 'zabbix' with owner=zabbix, encoding=UTF8, locale=en_AU.UTF8 (my case as I am in Australia)
    3. Add Server -> RDS connection permissions (i.e. allow Zabbix server to connect to the RDS install as the zabbix user to the zabbix database using password authentication)

    Second with Zabbix server (assuming Centos 7):

    1. Install PostgreSQL repo (yum -y install https://download.postgresql.org/pub/...est.noarch.rpm)
    2. Install PostgreSQL client (yum -y install postgresql13 postgresql13-libs postgresql13-odbc postgresql13-devel)
    3. Test database connectivity (psql --host <RDS ip> --port <RDS port> --username zabbix --dbname zabbix -W)
    4. At this point the instructions should work providing when issuing psql commands you use 'psql --host <RDS ip> --port <RDS port> --username zabbix --dbname zabbix -W'
    5. At this point any database references (server config, web config etc...) should be configured to use the RDS instance (i.e. DBHost, DBPort, DBName, DBSchema, DBUser, DBPassword)

    The above should work where the Zabbix database is located on an external host / service.

    Cheers
    James

    Comment

    • Atsushi
      Senior Member
      • Aug 2013
      • 2028

      #3
      If you follow the steps on the download page, the database server will not be installed. However, don't forget to create an account and database for Zabbix on the RDS and register the initial data.

      Zabbix is being downloaded over 4 000 000 times every year for a reason. Download and install Zabbix for free and try it yourself!

      Comment

      Working...