zoukankan      html  css  js  c++  java
  • AIX7.1安装zabbix_agent3.4

     1.在zabbix官网https://www.zabbix.com/download下载Zabbix pre-compiled agents

     2.Zabbix pre-compiled agents安装

    Zabbix pre-compiled agents加压后不需要进行程序安装,可以直接使用

    Last unsuccessful login: Wed Dec 27 16:25:08 CST 2017 on ssh from 10.0.25.176
    Last login: Thu Jan 11 10:52:48 CST 2018 on /dev/pts/0 from 10.0.25.176
    *******************************************************************************
    *                                                                             *
    *                                                                             *
    *  Welcome to AIX Version 7.1!                                                *
    *                                                                             *
    *                                                                             *
    *  Please see the README file in /usr/lpp/bos for information pertinent to    *
    *  this release of the AIX Operating System.                                  *
    *                                                                             *
    *                                                                             *
    *******************************************************************************
    [YOU HAVE NEW MAIL]
    # mkdir /zabbix_agent                                           #新建zabbix_agent目录
    # mkgroup zabbix                                                 #新建zabbix用户组
    # useradd -g zabbix zabbix                                   #新建zabbix用户并加入zabbix用户组
    # cd /zabbix_agent     #进入zabbix_agent目录  #将文件传到zabbix_agent目录
    # pwd
    /zabbix_agent

    # ls
    zabbix_agents_3.4.0.aix7_1.power.tar.gz          
    # gunzip -d zabbix_agents_3.4.0.aix7_1.power.tar.gz       #将文件解压
    # ls
    zabbix_agents_3.4.0.aix7_1.power.tar
    # tar -xvf zabbix_agents_3.4.0.aix7_1.power.tar               #将文件解压
    x bin
    x bin/zabbix_get, 4414874 bytes, 8623 media blocks.
    x bin/zabbix_sender, 4543697 bytes, 8875 media blocks.
    x conf
    x conf/zabbix_agentd
    x conf/zabbix_agentd/userparameter_examples.conf, 1359 bytes, 3 media blocks.
    x conf/zabbix_agentd/userparameter_mysql.conf, 1531 bytes, 3 media blocks.
    x conf/zabbix_agentd.conf, 10437 bytes, 21 media blocks.
    x sbin
    x sbin/zabbix_agentd, 7274915 bytes, 14209 media blocks.

    # cp /zabbix_agent/conf/zabbix_agentd.conf /usr/local/etc/         #将配置文件拷贝到/usr/local/etc/

    # vi zabbix_agentd.conf                                                              #编辑配置文件

    Server=10.0.8.150
    ServerActive=10.0.8.150
    Hostname=his2            


    :wq
    "zabbix_agentd.conf" 396 lines, 10436 characters

    # zabbix_agentd -V                                              #查看zabbix-agent版本信息
    zabbix_agentd (daemon) (Zabbix) 3.4.0
    Revision 71467 22 August 2017, compilation time: Aug 24 2017 07:27:57

    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.

    Supported technology levels: 6100 and above
    # cd /usr/local/etc
    # ls
    cachesys            cachesys_database   cachesys_shadow     sshd.pid            zabbix_agentd.conf
    # cd /zabbix_agent/sbin
    # ls
    zabbix_agentd
    # zabbix_agentd -c /usr/local/etc/zabbix_agentd.conf           #启动zabbix-agent

    # mkitab zabbix_agentd:2:respawn:zabbix_agent/sbin/zabbix_agentd -c /usr/local/etc/zabbix_agentd.conf     #将zabbix-agent加入开机自启动

  • 相关阅读:
    Centos-706防火墙端口操作
    Centos-7.6安装DotnetCore3.1
    Centos-610-源码安装GIT
    Centos-610-安装Jenkins2.222.4
    Centos610-安装NodeJs
    Windows:开发环境Word,PPT,EXCEL com+组件配置
    DCom配置我的电脑有个红色向下的箭头
    NPM包管理工具NRM
    Win10-Jvm调优之工具基本配置、使用(二)
    Win10-Jvm调优之工具基本配置、使用(一)
  • 原文地址:https://www.cnblogs.com/momoshouhu/p/8268564.html
Copyright © 2011-2022 走看看