Zabbix 4.4 on Ubuntu 18.04



  • I've installed Zabbix via the package on Ubuntu

    wget https://repo.zabbix.com/zabbix/4.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_4.4-1+bionic_all.deb

    dpkg -i zabbix-release_4.4-1+bionic_all.deb

    apt update

    apt -y install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-agent

    Question (well 2)

    How do I remove the requirement for using /zabbix at the end of the URL (http://zabbix.server/zabbix)

    Then move it to HTTPS

    When I built it from source I got it working with HTTPS and the URL using sites-available .conf files. But could work out how to get the init.d scripts to autostart on boot (well just the zabbiz-agent). Hence the reason for trying the package method.



  • You can use RewriteRule to change the url.



  • So i've been doing some playing and re-installed using the packages but on CentOS8.

    Once this was up i just created a simple zabbix.conf in the httpd/conf.d folder that pointed :80 traffic to /zabbix url.
    Then did the same with a ssl.conf pointing it to /zabbix. Once tested and OK, then added a re-direct lines to the zabbix.conf file to go direct to https://

    Guess a similar thing should work on Ubuntu.


Log in to reply