美文网首页工作专题
Zabbix 3.2.0 agent安装(centos7 &am

Zabbix 3.2.0 agent安装(centos7 &am

作者: 水他 | 来源:发表于2016-09-28 10:43 被阅读2152次

    1. agent安装 on CentOS 7

    1.1 agent下载、安装

    [root@client01 ~]# rpm -ivh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.2-0.el7.noarch.rpm
    [root@client01 ~]# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
    [root@client01 ~]# yum install zabbix-agent
    

    1.2 配置修改

    [root@client01 ~]# vim
    /etc/zabbix/zabbix_agentd.conf
    
    Server=192.168.16.215
    
    ServerActive=192.168.16.215
    
    Hostname=agent-linux-215
    

    1.3 启动agent

    [root@client01 ~]# systemctl start zabbix-agent
    

    2. agent安装 on Windows 2008 R2

    1.1 下载

    zabbix_agents_3.2.0.win.zip

    Zabbix Download

    • Zabbix pre-compiled agents
    • Zabbix 3.2
    • 3.2.0
    • Windows (All)
    • i386,amd64

    1.2 配置、安装和启动

    • 解压缩zabbix_agents_3.2.0.win.zip
    • 拷贝zabbix_agents_3.2.0.win\bin\win64下所有文件到 C:\zabbix\
    • 创建 C:\zabbix_agent.conf
    LogFile=c:\zabbix_agentd.log
    EnableRemoteCommands=1 ##激活远程执行脚本
    Server=192.168.16.215
    ServerActive=192.168.16.215
    Hostname=zabbix-win-1.211
    
    • 安装和启动

    右键点击 命令提示符 , 以管理员身份运行

    cd c:\zabbix
    
    C:\zabbix>zabbix_agentd.exe --install
    zabbix_agentd.exe [3388]: service [Zabbix Agent] installed successfully
    zabbix_agentd.exe [3388]: event source [Zabbix Agent] installed successfully
    
    C:\zabbix>zabbix_agentd.exe --start
    zabbix_agentd.exe [664]: service [Zabbix Agent] started successfully
    
    

    参考

    Zabbix agent on Microsoft Windows

    CentOS 7 下快速搭建 Zabbix 3.0 环境

    相关文章

      网友评论

      本文标题:Zabbix 3.2.0 agent安装(centos7 &am

      本文链接:https://www.haomeiwen.com/subject/hlmhyttx.html