Ad Widget

Collapse

Upgrading from manual installation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • linuxuser37
    Junior Member
    • Sep 2014
    • 1

    #1

    Upgrading from manual installation

    Hey Guys,

    I'm in the process of upgrading zabbix agent's that have been compiled manually (ranging from 1.4.5 to 1.8.9) from source.

    What I'm trying to do, is change them to use the yum repo, to make upgrading them a whole lot easier.

    I've found that if I enable the repo, and do a "yum install zabbix-agent" it will recognise that zabbix already exists, and offer to update it for me.

    However, upon doing so, it leaves the old version still active.

    So I end up with the following:

    Code:
    /usr/local/sbin/zabbix_agent (version 1.4.5)
    /usr/sbin/zabbix_agent (version 2.2.6)
    Performing the command:

    Code:
    zabbix_agent --version
    reports 1.4.5

    I have removed the old /etc/init.d/zabbix_agentd init script, and restarted zabbix using the new script, however, I still can't seem to get the system to update to using the new location of the zabbix_agent bin files. Short of symlink/copying the bin to the other directory. I'm not sure of the best way to perform this change.

    Is there a definitive process for performing this type of upgrade?

    Thanks.
Working...