Ad Widget

Collapse

How to install zabbix agent on Amazon Linux?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dutchman191
    Junior Member
    • Dec 2014
    • 3

    #1

    How to install zabbix agent on Amazon Linux?

    I am struggling with getting just a zabbix-agent installed on Amazon Linux.

    On RHEL 7 systems the install process as I understand it goes a little like this:
    Add the repo: sudo yum-config-manager --add-repo http://repo.zabbix.com/zabbix/2.2/rhel/7/x86_64/
    Install the agent: sudo yum install zabbix-agent

    Then go through and configure your agent to report to the correct server and so on.

    However I have discovered that on Amazon Linux the agent refuses to install because of the lack of 'systemd' support (https://forums.aws.amazon.com/thread...ssageID=585587). So it just plain cannot be installed.

    --> Processing Dependency: systemd for package: zabbix-agent-2.2.7-2.el7.x86_64
    --> Finished Dependency Resolution
    Error: Package: zabbix-agent-2.2.7-2.el7.x86_64 (repo.zabbix.com_zabbix_2.2_rhel_7_x86_64_)
    Requires: systemd

    Does anyone know of a workaround? Or a more appropriate way to install a zabbix agent on an amazon linux box?

    Edit: This is aimed at version 2.2.x of Zabbix
    Last edited by dutchman191; 12-12-2014, 12:59. Reason: Added version of Zabbix I am working with
  • dutchman191
    Junior Member
    • Dec 2014
    • 3

    #2
    bump.

    Has anyone here ever setup a Zabbix Agent on an Amazon Linux box?

    Comment

    • dutchman191
      Junior Member
      • Dec 2014
      • 3

      #3
      If anyone was curious I have now gotten it working using a precompiled zabbix-agent. This one to be exact: http://www.zabbix.com/downloads/2.2....6.amd64.tar.gz

      I followed this tutorial almost to the letter: http://itmanager.blogs.com/notes/201...on-debian.html

      If anyone is interested in a full rundown with the settings I am using and the Ansible Playbook I now have let me know!

      Comment

      Working...