Ad Widget

Collapse

How do I install Zabbix Agent 2 on a server without internet access?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cesarsj
    Senior Member
    • Dec 2018
    • 154

    #1

    How do I install Zabbix Agent 2 on a server without internet access?

    Click image for larger version  Name:	golang-error.png Views:	0 Size:	25.8 KB ID:	414680




    The image above shows the error that occurs when trying to install Zabbix 5 with Agent2.
    Last edited by cesarsj; 06-12-2020, 21:06. Reason: zabbix
  • gofree
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2017
    • 400

    #2
    most important question is - whats the OS ? if its a supported platfrom and zabbix porvides official packages use them, dont mess with source code

    any further advice is based on OS platform

    Comment


    • cesarsj
      cesarsj commented
      Editing a comment
      It is an Ubuntu Server 20.04 LTS. But I think there is no way for me to install using the Zabbix Package method, because as I said, the server does not have and cannot access the internet, it is a very critical server and restricted to external accesses; and by the installation method via the deb package, following the instructions, any apt command will not work without an external connection.
  • gofree
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2017
    • 400

    #3
    If you're able to transfer source code there I don't see any reason you can't transfer downloaded package there and install it locally. Don't need to install it from repo.


    sudo apt install /path/to/package/name.deb

    It's definitely safer and better way don't forget that one day you might need to update agent and again it's safer and easier from package.

    If you can transfer source code and can't transfer official package... strange policy.

    Comment

    • cesarsj
      Senior Member
      • Dec 2018
      • 154

      #4
      I think I understand, because on the main Download page, only the zabbix-5 - * - release package is downloaded, which only adds the repository, but I can download all the zabbix-server, zabbix-frontend and zabbix-agent packages this link, this I can do. I will test. Is this package zabbix-agent install 2? I'll do the test.

      Comment

    • cesarsj
      Senior Member
      • Dec 2018
      • 154

      #5
      Originally posted by gofree
      If you're able to transfer source code there I don't see any reason you can't transfer downloaded package there and install it locally. Don't need to install it from repo.


      sudo apt install /path/to/package/name.deb

      It's definitely safer and better way don't forget that one day you might need to update agent and again it's safer and easier from package.

      If you can transfer source code and can't transfer official package... strange policy.
      As I said in the last answer, I was trying to install only through the zabbix-release package, available on the main Download page, after accessing the repository link with all the packages, I was able to understand your guidance and it respects our policy. Our policy is not confusing, I was the one who got it wrong.


      With this package I was able to install agent2 without having to give external access to the server. Problem solved!

      Comment

      Working...