Ad Widget

Collapse

Zabbix Agent2 Installation Issues

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • 1in14MM605
    Junior Member
    • Feb 2023
    • 3

    #1

    Zabbix Agent2 Installation Issues

    OS: Debian Bullseye within LXC in a ProxMox environment
    I follow the instructions here: https://www.zabbix.com/download?zabb...debian&os_vers ion=11&components=agent_2&db=&ws=
    output:
    HTML Code:
    matthew@Technitium:~$ sudo dpkg -i zabbix-release_6.2-4+debian11_all.deb
    (Reading database ... 24468 files and directories currently installed.)
    Preparing to unpack zabbix-release_6.2-4+debian11_all.deb ...
    Unpacking zabbix-release (1:6.2-4+debian11) over (1:6.2-4+debian11) ...
    Setting up zabbix-release (1:6.2-4+debian11) ...
    ​
    However:

    HTML Code:
    matthew@Technitium:~$ sudo apt install zabbix-agent2 zabbix-agent2-plugin*
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    E: Unable to locate package zabbix-agent2
    E: Unable to locate package zabbix-agent2-plugin*
    E: Couldn't find any package by glob 'zabbix-agent2-plugin*'
    ​
    And, interestingly enough:
    HTML Code:
    matthew@Technitium:/etc/apt/sources.list.d$ ls -lh
    total 8.0K
    -rw-r--r-- 1 root root 62 Feb  4 10:23 elastic-8.x.list
    -rw-r--r-- 1 root root 66 Jan 13 05:53 graylog-sidecar.list
    matthew@Technitium:/etc/apt/sources.list.d$​
    So, basically, its not installing the repository?

    Has anyone run into this before? Thank you!
  • coda_matt
    Junior Member
    • Nov 2022
    • 20

    #2
    Have you tried using a different release? We use the 6.2-2 repo for RHEL/CentOS and Debian, and it works fine.

    Comment

    • 1in14MM605
      Junior Member
      • Feb 2023
      • 3

      #3
      Originally posted by coda_matt
      Have you tried using a different release? We use the 6.2-2 repo for RHEL/CentOS and Debian, and it works fine.
      HTML Code:
      Get:6 https://repo.zabbix.com/zabbix/6.2/debian bullseye InRelease [4933 B]                              
      Err:6 https://repo.zabbix.com/zabbix/6.2/debian bullseye InRelease      
        The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 082AB56BA14FE591​
      HTML Code:
      W: GPG error: https://repo.zabbix.com/zabbix/6.2/debian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 082AB56BA14FE591
      E: The repository 'https://repo.zabbix.com/zabbix/6.2/debian bullseye InRelease' is not signed.
      N: Updating from such a repository can't be done securely, and is therefore disabled by default.
      N: See apt-secure(8) manpage for repository creation and user configuration details.
      This is so strange ...

      Comment

      • coda_matt
        Junior Member
        • Nov 2022
        • 20

        #4
        You might need to force/ignore the key check when installing. Not ideal, but should work. I'm RHEL more than Debian - I just have a few Debian machines to manage.

        Comment

        • cyber
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Dec 2006
          • 4807

          #5
          did you do apt update also after adding new repos?

          Comment

          • 1in14MM605
            Junior Member
            • Feb 2023
            • 3

            #6
            Originally posted by coda_matt
            You might need to force/ignore the key check when installing. Not ideal, but should work. I'm RHEL more than Debian - I just have a few Debian machines to manage.
            This was the answer.

            In case anyone else runs into this:
            (Note the "[trusted=yes]")

            HTML Code:
            $ cd etc/apt/sources.list.d
            $ sudo nano zabbix.list
            
            # Zabbix main repository
            deb [trusted=yes] https://repo.zabbix.com/zabbix/6.2/debian bullseye main
            deb-src [trusted=yes] https://repo.zabbix.com/zabbix/6.2/debian bullseye main
            
            # Zabbix unstable repository
            #deb https://repo.zabbix.com/zabbix/6.1/debian bullseye main
            #deb-src https://repo.zabbix.com/zabbix/6.1/debian bullseye main
            ​
            HTML Code:
            $ sudo nano zabbix-agent2-plugins.list
            
            deb [arch=amd64; trusted=yes] https://repo.zabbix.com/zabbix-agent2-plugins/1/debian bullseye main
            deb-src [arch=amd64; trusted=yes] https://repo.zabbix.com/zabbix-agent2-plugins/1/debian bullseye main​

            Comment

            Working...