Ad Widget

Collapse

Providing a one line installer for zabbix agent (Linux)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sorin
    Junior Member
    • Feb 2014
    • 11

    #1

    Providing a one line installer for zabbix agent (Linux)

    The easiest way to deploy and auto-configure agents is via a single command line. Many companies are using this successfully and

    Example from datadog:
    Code:
    DD_API_KEY=1234 bash -c "$(curl -L http://dtdg.co/agent-install-ubuntu)"
    Such a command installs latest version of the agent and also configures it to connect to the right server, also adds the yum or apt-get repositories so further updates will be installer properly. Also the same command happens to work on Mac OS X, and probably could work on Windows if run from Cygwin (even so DataDog had a different installer for Windows).

    Anyway the whole point of this it to ease the deployment of the zabbix agents, we could have something like:

    Code:
    ZABBIX_SERVER=zabbix.example.com bash -c "$(curl -L http://zabbix.com/agent-install)"
    I opened a feature request for this at: https://support.zabbix.com/browse/ZBX-8034 -- feel free to vote for it or to comment there. I hope Zabbix team will take this seriously, as deployment ease / speed is something quite important. Also the same feature solved the problem of using the right distribution repositories for zabbix.
Working...