Ad Widget

Collapse

zabbix-nginx-conf and zabbix-apache-conf missing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Casus
    Junior Member
    • Jun 2020
    • 1

    #1

    zabbix-nginx-conf and zabbix-apache-conf missing

    Hi Everyone,

    Trying to do a new install from packages on Ubuntu 20.04, following the steps on the install site, and the zabbix-nginx-conf and zabbix-apache-conf files cannot be found. Yes, the Zabbix repo has been installed and the other zabbix packages are installed.

    PHP Code:
    root@zabbix:~# apt search zabbix-apache-conf
    Sorting... Done
    Full Text Search
    ... Done
    root
    @zabbix:~# apt search zabbix-nginx-conf
    Sorting... Done
    Full Text Search
    ... Done
    root
    @zabbix:~
  • highpeak
    Member
    • Nov 2019
    • 30

    #2
    I just found the same problem. However, one of the other packages seems to put the config files into /etc/apache2/conf-available so I think those packages are now redundant, but not 100% sure.

    Comment

    • dimir
      Zabbix developer
      • Apr 2011
      • 1080

      #3
      Cannot reproduce. Here's what I did. On Ubuntu 20, 5.0:
      Code:
      # wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-1+focal_all.deb
      --2020-11-03 14:25:21-- https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-1+focal_all.deb
      Resolving repo.zabbix.com (repo.zabbix.com)... 162.243.159.138, 2604:a880:1:20::b82:1001
      Connecting to repo.zabbix.com (repo.zabbix.com)|162.243.159.138|:443... connected.
      HTTP request sent, awaiting response... 200 OK
      Length: 4244 (4.1K) [application/octet-stream]
      Saving to: 'zabbix-release_5.0-1+focal_all.deb'
      zabbix-release_5.0- 100%[===================>] 4.14K --.-KB/s in 0s
      2020-11-03 14:25:22 (918 MB/s) - 'zabbix-release_5.0-1+focal_all.deb' saved [4244/4244]
      
      # dpkg -i zabbix-release_5.0-1+focal_all.deb
      Selecting previously unselected package zabbix-release.
      (Reading database ... 4474 files and directories currently installed.)
      Preparing to unpack zabbix-release_5.0-1+focal_all.deb ...
      Unpacking zabbix-release (1:5.0-1+focal) ...
      Setting up zabbix-release (1:5.0-1+focal) ...
      
      # apt update
      Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
      Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
      Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
      Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
      Get:5 http://repo.zabbix.com/zabbix/5.0/ubuntu focal InRelease [4930 B]
      Get:6 http://repo.zabbix.com/zabbix/5.0/ubuntu focal/main Sources [1192 B]
      Get:7 http://repo.zabbix.com/zabbix/5.0/ubuntu focal/main amd64 Packages [3217 B]
      Fetched 116 kB in 1s (134 kB/s)
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      All packages are up to date.
      
      # apt-cache search zabbix conf
      zabbix-apache-conf - Zabbix network monitoring solution - apache configuration for front-end
      zabbix-nginx-conf - Zabbix network monitoring solution - nginx and php-fpm configuration for front-end
      zabbix-release - Zabbix official repository configuration
      On Ubuntu 20, 5.2:

      Code:
      # wget https://repo.zabbix.com/zabbix/5.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.2-1+ubuntu20.04_all.deb
      --2020-11-03 14:30:01-- https://repo.zabbix.com/zabbix/5.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.2-1+ubuntu20.04_all.deb
      Resolving repo.zabbix.com (repo.zabbix.com)... 162.243.159.138, 2604:a880:1:20::b82:1001
      Connecting to repo.zabbix.com (repo.zabbix.com)|162.243.159.138|:443... connected.
      HTTP request sent, awaiting response... 200 OK
      Length: 3456 (3.4K) [application/octet-stream]
      Saving to: 'zabbix-release_5.2-1+ubuntu20.04_all.deb'
      zabbix-release_5.2- 100%[===================>] 3.38K --.-KB/s in 0s
      2020-11-03 14:30:02 (655 MB/s) - 'zabbix-release_5.2-1+ubuntu20.04_all.deb' saved [3456/3456]
      
      # dpkg -i zabbix-release_5.2-1+ubuntu20.04_all.deb
      Selecting previously unselected package zabbix-release.
      (Reading database ... 4474 files and directories currently installed.)
      Preparing to unpack zabbix-release_5.2-1+ubuntu20.04_all.deb ...
      Unpacking zabbix-release (1:5.2-1+ubuntu20.04) ...
      Setting up zabbix-release (1:5.2-1+ubuntu20.04) ...
      
      # apt update
      Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
      Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease
      Hit:3 http://archive.ubuntu.com/ubuntu focal-backports InRelease
      Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease
      Get:5 http://repo.zabbix.com/zabbix/5.2/ubuntu focal InRelease [4930 B]
      Get:6 http://repo.zabbix.com/zabbix/5.2/ubuntu focal/main Sources [1202 B]
      Get:7 http://repo.zabbix.com/zabbix/5.2/ubuntu focal/main amd64 Packages [3233 B]
      Fetched 9365 B in 1s (10.6 kB/s)
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      All packages are up to date.
      
      # apt-cache search zabbix conf
      zabbix-apache-conf - Zabbix network monitoring solution - apache configuration for front-end
      zabbix-nginx-conf - Zabbix network monitoring solution - nginx and php-fpm configuration for front-end
      zabbix-release - Zabbix official repository configuration
      As you can see, in both cases the packages are there. Even installing it works:

      Code:
      # apt install zabbix-nginx-conf
      [...]
      
      # dpkg -l zabbix-nginx-conf
      Desired=Unknown/Install/Remove/Purge/Hold
      | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
      |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
      ||/ Name Version Architecture Description
      +++-=================-=====================-============-================================================== ================================
      ii zabbix-nginx-conf 1:5.2.0-1+ubuntu20.04 all Zabbix network monitoring solution - nginx and php-fpm configuration for front-end

      Comment

      • highpeak
        Member
        • Nov 2019
        • 30

        #4
        Thanks for the prompt feedback dimir. It was a schoolboy error. My zabbix repo was disabled as part of a release upgrade and thus I was using the distro repo and not the zabbix one.

        Comment

        • dimir
          Zabbix developer
          • Apr 2011
          • 1080

          #5
          Oh, got it. That's a common one. :-)

          Comment

          Working...