1. 程式人生 > >ubuntu 18.04 LTS zabbix-agent3.2.11安裝

ubuntu 18.04 LTS zabbix-agent3.2.11安裝

進入zabbix伺服器安裝目錄:/usr/local/sbin/ 檢視zabbix版本

命令:zabbix_server -V

結果如下:

Revisionzabbix_server (Zabbix) 3.2.11

=====================================

Revision 76339 27 December 2017, compilation time: Dec 27 2017 15:13:07

Copyright (C) 2017 Zabbix SIA
License GPLv2+: GNU GPL version 2 or later http://gnu.org/licenses/gpl.html

.
This is free software: you are free to change and redistribute it according to
the license. There is NO WARRANTY, to the extent permitted by law.

安裝zabbix agent 3.2.11 步驟:
1.下載:
$ wget http://repo.zabbix.com/zabbix/3.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.2-1%2Bxenial_all.deb
2.安裝下載的軟體包:

sudodpkgizabbixrelease3.21+xenialall.deb3. sudo apt-get install zabbix-agent
4.將zabbix-agent加入開機自啟動:
systemctlenablezabbixagent5.zabbixagent systemctl restart zabbix-agent