zoukankan      html  css  js  c++  java
  • zabbix被监控端口的简单部署

    安装zabbix-agent服务

    rpm -ivh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm
    
    yum install zabbix-agent

    修改配置文件

    启动服务并添加开机自启

    [root@cache01 ~]# systemctl start zabbix-agent.service      
    [root@cache01 ~]# systemctl enable zabbix-agent.service
    Created symlink from /etc/systemd/system/multi-user.target.wants/zabbix-agent.service to /usr/lib/systemd/system/zabbix-agent.service.

    检查:监控端检查是否可以监控需要下载zabbix-get

     yum install -y zabbix-get
     zabbix_get -s 172.16.1.21 -p 10050 -k "system.cpu.load[all,avg1]"
    

     注意,本文用于centos7系统且相关zabbix为3.*的zabbix版本

  • 相关阅读:
    BZOJ
    BZOJ
    BZOJ
    BZOJ
    BZOJ
    BZOJ
    [知识点]平衡树之Splay
    [BZOJ1015/JSOI2008]星球大战
    [知识点]状态压缩DP
    [NOIP2011]聪明的质检员
  • 原文地址:https://www.cnblogs.com/ExzaiTin/p/7867292.html
Copyright © 2011-2022 走看看