Ad Widget

Collapse

Zabbix non web installation

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • pilvinatiivi
    Junior Member
    • Apr 2026
    • 4

    #1

    Zabbix non web installation

    What is the procedure to install Zabbix not using the web isntallation.
    My concern is the web installation is only plain http, and I need to provide credentials for Postgres, therefore, I'd like to do this locally via the command line.
  • Answer selected by pilvinatiivi at 19-06-2026, 12:25.
    pilvinatiivi
    Junior Member
    • Apr 2026
    • 4

    Originally posted by zux
    Well you can set up https before you start the web service.
    Or you can create the /etc/zabbix/web/zabbix.conf.php manually.
    There should be an example file, usually in /usr/share/zabbix/ui/conf/zabbix.conf.php.example
    I found `/etc/nginx/conf.d/zabbix.conf` which I am quite certain was not there before and have added certs, all good.
    Checking earlier on fresh install, all I saw was `php-fpm.conf` in this directory.

    Comment

    • zux
      Member
      • Sep 2018
      • 97

      #2
      Well you can set up https before you start the web service.
      Or you can create the /etc/zabbix/web/zabbix.conf.php manually.
      There should be an example file, usually in /usr/share/zabbix/ui/conf/zabbix.conf.php.example

      Comment

      • pilvinatiivi
        Junior Member
        • Apr 2026
        • 4

        #3
        Originally posted by zux
        Well you can set up https before you start the web service.
        Or you can create the /etc/zabbix/web/zabbix.conf.php manually.
        There should be an example file, usually in /usr/share/zabbix/ui/conf/zabbix.conf.php.example
        I found `/etc/nginx/conf.d/zabbix.conf` which I am quite certain was not there before and have added certs, all good.
        Checking earlier on fresh install, all I saw was `php-fpm.conf` in this directory.

        Comment

        • zux
          Member
          • Sep 2018
          • 97

          #4
          that file comes from the zabbix-nginx-conf package. You are correct that you can setup up encryption for the web server there. But if you want to configure Zabbix frontend without the wizard you still need the files I mentioned. (or now that you have https enabled you can probably just use the wizard). Another factor to consider is that the wizard is available to everyone without authentication, so you might still want to configure this from command line.
          PS - if you use wizard it will save the configuration in /etc/zabbix/web/zabbix.conf.php. You can use this file as example for other setups.

          Comment

          Working...