Ad Widget

Collapse

Zabbix-Get

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stevefxp
    Senior Member
    • Aug 2020
    • 168

    #1

    Zabbix-Get

    Hello all,

    I am trying to test certificate availability with zabbix_get. Its telling me I need to install one of the following:

    Command 'zabbix_get' not found, but can be installed with:
    apt install zabbix-proxy-mysql # version 1:5.0.17+dfsg-1, or
    apt install zabbix-proxy-pgsql # version 1:5.0.17+dfsg-1
    apt install zabbix-proxy-sqlite3 # version 1:5.0.17+dfsg-1
    apt install zabbix-server-mysql # version 1:5.0.17+dfsg-1
    apt install zabbix-server-pgsql # version 1:5.0.17+dfsg-1

    I am running the command from my Zabbix server. Why is it asking to install a SQL based tool?

    Thanks,
    Steve
  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1781

    #2
    Using Ubuntu? That tends to make "helpful" suggestions when command is not found.

    $ apt-cache show zabbix-get | grep Version
    Version: 1:7.0.2-1+debian12
    Version: 1:7.0.1-1+debian12
    Version: 1:7.0.0-1+debian12


    In any case, you need to install it separately:

    sudo apt install zabbix-get

    (Edit: To your question, those dfsg-marked Zabbix packages are the ones packaged by the Linux distribution, they should be avoided whenever possible. When you have the official zabbix-release package installed from zabbix.com, then your "apt install" commands automatically use the Zabbix-provided official packages. For some reason the "command-not-found" utility apparently suggest those Debian/Ubuntu-packaged old versions, maybe they contain zabbix_get as well, don't know.)

    Markku
    Last edited by Markku; 30-07-2024, 20:06.

    Comment

    • stevefxp
      Senior Member
      • Aug 2020
      • 168

      #3
      Yes I am running Ubuntu 22.04. Thanks!

      Comment

      Working...