Ubuntu 16下安装zabbix agent , 分为三步
第一步:安装repository
For Ubuntu
Supported versions
Ubuntu 16.04 LTS (codeame: xenial)
Ubuntu 14.04 LTS (codename: trusty)
Installing repository configuration package
Install the repository configuration package,which contains apt (software package manager) configuration files. Shell commands forUbuntu 16.04 LTS(xenial):
#wgethttp://repo.zabbix.com/zabbix/3.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.2-1+xenial_all.deb #dpkg-izabbix-release_3.2-1+xenial_all.deb #apt-getupdate
For Ubuntu 14.04 LTS change 'xenial' to 'trusty'.
第二步:安装zabbix-agent
Debian / Ubuntu
To install agent after correctrepository configuration packageis installed,run the following command:
#apt-getinstallzabbix-agent
Now agent is ready to be started by:
#servicezabbix-agentstart
第三步:更改zabbix-agent配置文件
sudo vi /etc/zabbix/zabbix_agentd.conf
查找Server=127.0.0.1,将127.0.0.1替换为您的zabbix server的地址或域名
第四步:重启zabbix-agent
sudo service zabbix-agent restart
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。