zoukankan      html  css  js  c++  java
  • ubuntu 安装zabbix_agent端

    root@(none):~# apt-get install zabbix-agent
    
    root@(none):~# vi /etc/zabbix/zabbix_agentd.conf
    Server=123.57.36.227
    ServerActive=123.57.36.227
    Hostname=svn_server
    
    Server=123.57.36.227
    ServerActive=123.57.36.227
    Hostname=123.56.78.103
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    "/etc/zabbix/zabbix_agentd.conf.d/server.conf" 
    
    root@(none):~# /etc/init.d/zabbix-agent restart
     * zabbix_agentd stopping...                                             [ OK ] 
     * zabbix_agentd starting...                                             [ OK ]
    
    root@(none):~# netstat -lnutp
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      1310/vsftpd     
    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      769/sshd        
    tcp        0      0 0.0.0.0:10050           0.0.0.0:*               LISTEN      23986/zabbix_agentd
    tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1263/php-fpm.conf)
    tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN      5276/mysqld     
    tcp        0      0 0.0.0.0:3690            0.0.0.0:*               LISTEN      2524/svnserve   
    tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      1288/nginx.conf 
    tcp6       0      0 :::10050                :::*                    LISTEN      23986/zabbix_agentd
    udp        0      0 123.56.78.103:123       0.0.0.0:*                           1148/ntpd       
    udp        0      0 10.172.91.37:123        0.0.0.0:*                           1148/ntpd       
    udp        0      0 127.0.0.1:123           0.0.0.0:*                           1148/ntpd       
    udp        0      0 0.0.0.0:123             0.0.0.0:*                           1148/ntpd       
    udp6       0      0 :::123                  :::*                                1148/ntpd 
    
  • 相关阅读:
    2019年8月下旬
    2019年8月上旬
    2019年7月 vue专题
    2019年7月上
    mysql安装 demo [linux centos7] [5.7.26]
    记一个日志冲突——管中窥豹[java混乱的日志体系]
    Mybatis-Generator demo
    dubbo doc入门文档
    springBoot+mysql+mybatis demo [基本配置] [遇到的问题]
    nginx安装demo
  • 原文地址:https://www.cnblogs.com/bass6/p/5531357.html
Copyright © 2011-2022 走看看